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

:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f0f4f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: block;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e1b4b 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(40px, 10vw, 64px);
    margin-bottom: 16px;
    color: white;
    font-weight: 900;
    letter-spacing: -1px;
}

.tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-weight: 600;
}

.description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    font-size: 16px;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--bg-white);
}

.about h2 {
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 800;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.highlight-card {
    padding: 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.highlight-card h3 {
    font-size: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-weight: 800;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
}

.contact h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 60px;
    font-weight: 800;
}

.contact-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px);
}

.contact-item span {
    font-weight: 600;
    font-size: 15px;
}

.contact-item .icon {
    font-size: 32px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: block;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 32px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* CV Specific Styles */
.cv-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e1b4b 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.cv-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cv-header .container {
    position: relative;
    z-index: 1;
}

.cv-header h1 {
    font-size: 56px;
    margin-bottom: 12px;
    font-weight: 900;
    letter-spacing: -1px;
}

.cv-title {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 32px;
    font-weight: 600;
}

.cv-contact {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 14px;
    align-items: center;
}

.cv-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.cv-contact-link:hover {
    opacity: 0.8;
}

.cv-contact-icon {
    width: 24px;
    height: 24px;
    display: block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.cv-contact-link:hover .cv-contact-icon {
    background-color: rgba(255, 255, 255, 0.3);
}

.cv-contact-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cv-container {
    background: var(--bg-white);
}

.cv-content {
    padding: 80px 20px;
    max-width: 950px;
}

.cv-section {
    margin-bottom: 60px;
}

.cv-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 28px;
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
    font-weight: 800;
}

/* Experience */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.experience-item {
    padding: 32px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.exp-header h3 {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.exp-date {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
}

.exp-company {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 15px;
}

.exp-details {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.exp-details li {
    color: var(--text-light);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.exp-details li::before {
    content: "●";
    position: absolute;
    left: 4px;
    color: var(--primary);
    font-size: 6px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.skill-category h3 {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 700;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    transform: translateY(-2px);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--bg-light);
    padding: 36px;
    border-radius: 14px;
    border-top: 4px solid var(--primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
    border-color: var(--primary);
}

.project-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--text-dark);
    font-weight: 700;
}

.project-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-link:hover {
    color: var(--secondary);
    gap: 10px;
}

/* Education */
.education-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.education-item {
    padding: 32px;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.education-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
    border-color: var(--secondary);
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.edu-header h3 {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.edu-date {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
}

.edu-school {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 15px;
}

.edu-details {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Awards & Certifications */
.awards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.award-item {
    padding: 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.award-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
}

.award-item h4 {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 20px;
    }

    .hero {
        padding: 70px 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    .cta-buttons {
        gap: 12px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .about {
        padding: 70px 20px;
    }

    .about h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 70px 20px;
    }

    .contact h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .contact-links {
        gap: 24px;
    }

    .cv-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .exp-header,
    .edu-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cv-content {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 24px;
    }
}
