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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Styles - Same as index */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #764ba2;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    padding: 15px 0;
}

.dropdown-section:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    padding: 0 20px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.dropdown-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding-left: 25px;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* When the menu is active, the mobile toggle changes to a close symbol */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 6px;
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0; /* Hide the middle line */
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -6px;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    flex: 1;
    padding: 40px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.page-description {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 10px;
    text-align: center;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.contact-info {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.section {
    margin-bottom: 35px;
}

.section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    margin-top: 20px;
}

.section h3:first-of-type {
    margin-top: 0;
}

.section p {
    margin-bottom: 8px;
    line-height: 1.7;
}

.section p strong {
    color: #333;
    font-weight: 600;
}

.section em {
    color: #667eea;
    font-style: normal;
    font-weight: 500;
}

.section ul {
    margin: 10px 0 15px 20px;
    list-style: none;
}

.section li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.section li::before {
    content: "▸";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.job-title {
    flex: 1;
}

.job-date {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
}

.skill-category {
    background: rgba(102, 126, 234, 0.05);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.skill-category strong {
    color: #667eea;
    display: block;
    margin-bottom: 8px;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
    margin-top: 40px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

footer p {
    margin: 0 0 20px 0;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-links a[href*="github"]:hover {
    background: #333;
    border-color: #333;
}

.social-links a[href*="linkedin"]:hover {
    background: #0077b5;
    border-color: #0077b5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 20px 0;
        transition: left 0.3s ease;
        gap: 0;
        overflow-y: auto;
    }

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

    .nav-item {
        width: 100%;
        text-align: left;
        margin: 0;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 20px;
        border-radius: 0;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 0;
        background: rgba(102, 126, 234, 0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
        min-width: auto;
    }

    .nav-item.mobile-dropdown-active .dropdown {
        max-height: 300px;
    }

    .dropdown-link {
        padding: 8px 40px;
        font-size: 0.9rem;
    }

    .dropdown-title {
        padding: 8px 40px 5px;
        font-size: 0.8rem;
    }

    .container {
        padding: 25px;
        margin: 0 10px;
    }

    .page-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .job-header {
        flex-direction: column;
    }

    .job-date {
        margin-left: 0;
        margin-top: 5px;
    }

    .main-content {
        padding: 20px 10px;
    }

    @media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .main-content {
        padding: 20px 15px;
    }
}
}