@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* Design tokens - Modern Blue & White Color Scheme */
:root {
    --main-font: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --accent-blue: #1e40af;
    --dark-blue: #1e3a8a;
    --pure-white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #e2e8f0;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --gradient-primary: linear-gradient(135deg, #2563eb, #1e40af);
    --gradient-secondary: linear-gradient(135deg, #3b82f6, #60a5fa);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    background: linear-gradient(135deg, var(--off-white) 0%, var(--pure-white) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Roadmap Progress Indicator */
.roadmap-progress {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.progress-bar {
    width: 4px;
    height: 200px;
    background: var(--light-gray);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.roadmap-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--pure-white);
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--pure-white);
}

.step-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.step.active .step-label {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Navigation */
nav {
    background-color: transparent;
    backdrop-filter: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, padding 0.2s ease;
    box-shadow: none;
    border-bottom: none;
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--light-gray);
    padding: 10px 0;
}

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

.navbar {
    display: flex;
    gap: 30px;
}

.navbar a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary-blue);
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.social {
    display: flex;
    gap: 15px;
}

.social a {
    color: var(--text-dark);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social a:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Roadmap Sections */
.roadmap-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    display: none;
}

.roadmap-section.active {
    display: block;
}

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

.section-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Hero Section */
#hero {
    padding-top: 80px;
}

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

.text {
    flex: 1;
    max-width: 600px;
}

.animate-text {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.1;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.typing-animation {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    overflow: hidden;
    border-right: 2px solid var(--primary-blue);
    white-space: nowrap;
    display: inline-block;
    width: 0;
    animation: typing 3.5s steps(20, end) 0.5s forwards, blink-caret 0.75s step-end infinite 3.5s;
    opacity: 0;
    font-weight: 600;
}

.text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
    color: var(--text-light);
    line-height: 1.7;
}

.journey-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.2s;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s;
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn.primary {
    background: var(--gradient-primary);
    color: var(--pure-white);
    box-shadow: var(--shadow-md);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn.secondary:hover {
    background-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.btn.outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 380px;
    height: 450px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s ease;
    border: 8px solid var(--pure-white);
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 20px;
    top: 20px;
    left: 20px;
    z-index: 1;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.image-container:hover .image-background {
    top: 15px;
    left: 15px;
    opacity: 0.9;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-light);
    line-height: 1.7;
}

.journey-path {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.path-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.path-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.path-content h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.path-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card {
    background: var(--pure-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 5px;
}

.detail-card h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.section-navigation {
    text-align: center;
    margin-top: 50px;
}

/* Skills Section */
.skills-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.skills-roadmap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.skill-path {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.path-marker {
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border: 4px solid var(--pure-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    margin-top: 10px;
    position: relative;
}

.skill-category {
    flex: 1;
    background: var(--pure-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.skill-category h3 {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.3rem;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    justify-content: between;
    align-items: center;
    gap: 20px;
}

.skill-name {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
}

.skill-level {
    width: 150px;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.level-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 1s ease;
}

/* Technologies Section */
.tech-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.tech-category {
    background: var(--pure-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tech-header i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.tech-header h3 {
    color: var(--text-dark);
    font-weight: 600;
}

.tech-progress {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-item span {
    width: 100px;
    color: var(--text-dark);
    font-weight: 500;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Projects Section */
.projects-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.projects-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border: 4px solid var(--pure-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--light-gray);
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.project-card {
    flex: 1;
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 200px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

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

.project-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.project-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.project-tech {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.project-actions {
    display: flex;
    gap: 12px;
}

/* Contact Section */
.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.contact-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--pure-white);
    font-size: 1.8rem;
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.journey-complete {
    text-align: center;
    padding: 50px;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--light-gray);
}

.completion-badge {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--pure-white);
    font-size: 2rem;
}

.journey-complete h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.8rem;
}

.journey-complete p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    padding: 10px 0;
    margin-top: 50px;
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--pure-white);
}

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

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--pure-white);
    transform: translateY(-2px);
}

.copy-right {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes typing {
    from {
        width: 0;
        opacity: 1;
    }
    to {
        width: 52%;
        opacity: 1;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary-blue);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .roadmap-progress {
        right: 20px;
    }
}

@media (max-width: 992px) {
    .roadmap-progress {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .text {
        max-width: 100%;
    }
    
    .animate-text {
        font-size: 2.8rem;
    }
    
    .image-container {
        width: 320px;
        height: 380px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-roadmap {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        flex-direction: column;
    }
    
    .project-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--pure-white);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 15px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--light-gray);
    }
    
    .navbar.active {
        display: flex;
    }
    
    .social {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .container {
        padding: 0 20px;
    }
    
    .animate-text {
        font-size: 2.2rem;
    }
    
    .typing-animation {
        font-size: 1.5rem;
    }
    
    .journey-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
        justify-content: center;
    }
    
    .image-container {
        width: 280px;
        height: 340px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skill-path {
        flex-direction: column;
        gap: 15px;
    }
    
    .path-marker {
        align-self: flex-start;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .timeline-marker {
        flex-direction: row;
        gap: 15px;
    }
    
    .timeline-line {
        width: 100%;
        height: 2px;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .animate-text {
        font-size: 1.8rem;
    }
    
    .typing-animation {
        font-size: 1.2rem;
    }
    
    .text p {
        font-size: 1rem;
    }
    
    .journey-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .image-container {
        width: 250px;
        height: 300px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-intro h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        padding: 0 20px;
    }
}