/* Base Styles */
:root {
    --dark-primary: #1A1A1D;
    --dark-maroon: #3B1C32;
    --dark-purple: #6A1E55;
    --dark-pink: #A64D79;
    --gradient-dark: linear-gradient(135deg, #1A1A1D 0%, #3B1C32 100%);
    --gradient-halloween: linear-gradient(135deg, #6A1E55 0%, #A64D79 100%);
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --accent-color: #A64D79;
    --glass-bg: rgba(26, 26, 29, 0.7);
    --glass-border: rgba(166, 77, 121, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-square {
    width: 20px;
    height: 20px;
    background: var(--dark-pink);
    margin: 0 5px;
    display: inline-block;
    animation: loaderAnimation 1.5s infinite ease-in-out;
}

.loader-square:nth-child(1) {
    animation-delay: 0s;
}
.loader-square:nth-child(2) {
    animation-delay: 0.1s;
}
.loader-square:nth-child(3) {
    animation-delay: 0.2s;
}
.loader-square:nth-child(4) {
    animation-delay: 0.3s;
}
.loader-square:nth-child(5) {
    animation-delay: 0.4s;
}
.loader-square:nth-child(6) {
    animation-delay: 0.5s;
}
.loader-square:nth-child(7) {
    animation-delay: 0.6s;
}

@keyframes loaderAnimation {
    0%, 40%, 100% { transform: scaleY(0.5); }
    20% { transform: scaleY(1.5); }
}

.preloader.fade-out {
    opacity: 0;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-halloween);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--dark-pink);
    border-radius: 50%;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark-pink);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
}

.hamburger .line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.hamburger.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 30px;
    background: var(--gradient-halloween);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-halloween);
    color: var(--text-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(166, 77, 121, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(166, 77, 121, 0.1);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(166, 77, 121, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(166, 77, 121, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(166, 77, 121, 0);
    }
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 5px solid var(--dark-purple);
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.3;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(166, 77, 121, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 6s infinite ease-in-out;
}

.element-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}
.element-2 {
    top: 70%;
    left: -5%;
    animation-delay: 1s;
}
.element-3 {
    top: 10%;
    right: -5%;
    animation-delay: 2s;
}
.element-4 {
    top: 70%;
    right: -5%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--dark-pink);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
    margin-bottom: 10px;
}

.wheel {
    width: 5px;
    height: 8px;
    background: var(--dark-pink);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--dark-pink);
    border-bottom: 2px solid var(--dark-pink);
    transform: rotate(45deg);
    margin: -3px;
    animation: arrow 2s infinite;
}

.arrow:nth-child(1) {
    animation-delay: 0.1s;
}
.arrow:nth-child(2) {
    animation-delay: 0.2s;
}
.arrow:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes arrow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Sections Common Styles */
.section {
    padding: 100px 20px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title span {
    background: var(--gradient-halloween);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-halloween);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

.shape-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.1;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-halloween);
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(166, 77, 121, 0.3);
}

.years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.text {
    font-size: 0.9rem;
    font-weight: 500;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-title span {
    background: var(--gradient-halloween);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(166, 77, 121, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-pink);
    font-size: 1rem;
    flex-shrink: 0;
}

.detail-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-pink);
    margin-bottom: 5px;
}

.detail-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.about-buttons {
    display: flex;
    gap: 20px;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--dark-pink);
}

.btn-outline:hover {
    background: rgba(166, 77, 121, 0.1);
}

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

.skills-category {
    background: rgba(26, 26, 29, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(166, 77, 121, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: var(--transition);
    background: rgba(59, 28, 50, 0.3);
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(166, 77, 121, 0.2);
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: rgba(166, 77, 121, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-pink);
    flex-shrink: 0;
}

.skill-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.skill-progress {
    width: 100%;
    height: 6px;
    background: rgba(166, 77, 121, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-halloween);
    border-radius: 3px;
    position: relative;
    transition: width 1.5s ease;
}

.progress-bar span {
    position: absolute;
    right: 5px;
    top: -25px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark-pink);
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--dark-pink);
    color: var(--text-primary);
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-halloween);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(166, 77, 121, 0.3);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 0.9;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.project-category {
    font-size: 0.9rem;
    color: var(--dark-pink);
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.2s;
}

.project-links {
    display: flex;
    gap: 10px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.3s;
}

.project-link {
    width: 40px;
    height: 40px;
    background: var(--dark-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.project-link:hover {
    transform: translateY(-5px);
}

.project-item:hover .project-title,
.project-item:hover .project-category,
.project-item:hover .project-links {
    transform: translateY(0);
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-halloween);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
    text-align: left;
}

.timeline-date {
    position: absolute;
    top: 0;
    width: 120px;
    padding: 5px 10px;
    background: var(--gradient-halloween);
    color: var(--text-primary);
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -60px;
}

.timeline-content {
    padding: 20px;
    background: rgba(59, 28, 50, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(166, 77, 121, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--dark-pink);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.timeline-content h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--dark-pink);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(166, 77, 121, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark-pink);
    flex-shrink: 0;
}

.contact-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-pink);
}

.contact-content p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(166, 77, 121, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--dark-pink);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    background: rgba(59, 28, 50, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(166, 77, 121, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(26, 26, 29, 0.5);
    border: 1px solid rgba(166, 77, 121, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--dark-pink);
    box-shadow: 0 0 0 2px rgba(166, 77, 121, 0.2);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

textarea.form-input {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    padding: 50px 0 20px;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo span {
    background: var(--gradient-halloween);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--dark-pink);
    border-radius: 50%;
    margin-left: 5px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark-pink);
    transition: var(--transition);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(166, 77, 121, 0.2);
    width: 100%;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-halloween);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(166, 77, 121, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Form Success Message */
.form-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 26, 29, 0.9);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--dark-pink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease;
}

.form-success i {
    font-size: 3rem;
    color: var(--dark-pink);
    margin-bottom: 15px;
}

.form-success p {
    font-size: 1.2rem;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: 70px;
        text-align: left;
    }
    
    .timeline::before {
        left: 35px;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: -85px;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: 25px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .image-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 50px;
    }
    
    .timeline-date {
        width: 100px;
        font-size: 0.8rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: -70px;
    }
}