* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: gilroy, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: #0a0a0f;
    color: #e5e7eb;
    overflow-x: hidden;
}

#main {
    position: relative;
}

/* NAVIGATION */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    z-index: 999;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

#nav h3 {
    font-size: 24px;
    font-weight: 400;
}

#nav h3 a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.back-button {
    color: #3b82f6;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #3b82f6;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.back-button:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1), transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(130px);
    animation: pulse 9s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 120px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 28px;
    color: #d1d5db;
    font-weight: 300;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* EXPERIENCE SECTION */
.experience-section {
    padding: 100px 50px;
    position: relative;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Timeline Line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(59, 130, 246, 0.6) 0%,
        rgba(96, 165, 250, 0.5) 50%,
        rgba(37, 99, 235, 0.6) 100%);
    transform: translateX(-50%);
}

.experience-card {
    margin-bottom: 80px;
    position: relative;
    width: calc(50% - 40px);
}

.experience-card:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
}

.experience-card:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
}

/* Timeline Connector Dot */
.card-connector {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    border: 4px solid #0a0a0f;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
    z-index: 10;
    top: 40px;
}

.experience-card:nth-child(odd) .card-connector {
    right: -50px;
}

.experience-card:nth-child(even) .card-connector {
    left: -50px;
}

.card-connector.last {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.7);
}

/* Experience Card Styling */
.experience-card {
    background: rgba(15, 20, 35, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 24px;
}

.experience-card:hover::before {
    opacity: 1;
}

.experience-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

.experience-header {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.company-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.2));
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-content {
    flex: 1;
}

.role-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.company-name {
    font-size: 20px;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 12px;
}

.experience-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #b0b0b0;
}

.experience-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.experience-meta span::before {
    content: '•';
    color: #3b82f6;
    font-weight: bold;
}

.experience-meta span:first-child::before {
    content: '📅';
}

.experience-meta span:nth-child(2)::before {
    content: '📍';
}

.experience-meta span:nth-child(3)::before {
    content: '💼';
}

.experience-content {
    position: relative;
    z-index: 2;
}

.role-description {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 24px;
}

.achievements {
    margin-bottom: 24px;
}

.achievements h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
}

.achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements li {
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 12px;
    padding-left: 0;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.achievements li::before {
    content: '▹';
    color: #3b82f6;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-tag {
    padding: 7px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 18px;
    font-size: 13px;
    color: #60a5fa;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

/* SKILLS SECTION */
.skills-section {
    padding: 100px 50px;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%);
}

.section-title {
    text-align: center;
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 60px;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.skill-category {
    background: rgba(15, 20, 35, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.skill-category:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 600;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-item span {
    display: block;
    font-size: 15px;
    color: #d1d5db;
    margin-bottom: 10px;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* CTA SECTION */
.cta-section {
    padding: 100px 50px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.12), transparent 70%);
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section p {
    font-size: 20px;
    color: #d1d5db;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: #60a5fa;
    border: 2px solid #3b82f6;
}

.cta-button.secondary:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #2563eb;
    color: #60a5fa;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .timeline-container::before {
        left: 30px;
    }
    
    .experience-card {
        width: 100%;
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .experience-card .card-connector {
        left: -49px !important;
        right: auto !important;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #nav {
        padding: 15px 20px;
    }
    
    #nav h3 {
        font-size: 18px;
    }
    
    .back-button {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .experience-section {
        padding: 50px 20px;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .experience-card {
        margin-left: 50px !important;
        margin-bottom: 50px;
        padding: 30px 20px;
    }
    
    .experience-card .card-connector {
        left: -39px !important;
        width: 16px;
        height: 16px;
    }
    
    .experience-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .company-logo {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .role-title {
        font-size: 22px;
    }
    
    .company-name {
        font-size: 18px;
    }
    
    .experience-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .role-description {
        font-size: 15px;
    }
    
    .achievements h4 {
        font-size: 16px;
    }
    
    .achievements li {
        font-size: 14px;
    }
    
    .tech-stack {
        gap: 8px;
    }
    
    .tech-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .skills-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .skill-category {
        padding: 30px 20px;
    }
    
    .skill-category h3 {
        font-size: 20px;
    }
    
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .experience-card {
        margin-left: 40px !important;
    }
    
    .timeline-container::before {
        left: 15px;
    }
    
    .experience-card .card-connector {
        left: -32px !important;
    }
    
    .role-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
}
