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

:root {
    --primary-color: #ffd700;
    --secondary-color: #333;
    --text-color: #666;
    --bg-color: #fff;
    --sidebar-bg: #f8f9fa;
    --nav-bg: #2c3e50;
    --border-color: #e0e0e0;
    --green: #27ae60;
    --blue: #3498db;
    --red: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Left Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 350px;
    height: 100vh;
    background-color: var(--sidebar-bg);
    padding: 30px;
    overflow-y: auto;
    z-index: 100;
    border-right: 1px solid var(--border-color);
}

.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-initials {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.name {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.title {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.personal-info {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.info-item .label {
    color: var(--text-color);
}

.info-item .value {
    color: var(--secondary-color);
    font-weight: 600;
}

.value.available {
    color: var(--green);
}

.languages-section,
.skills-section {
    margin-bottom: 30px;
}

.languages-section h3,
.skills-section h3,
.extra-skills h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.skill-header span:first-child {
    color: var(--secondary-color);
    font-weight: 600;
}

.percentage {
    color: var(--text-color);
}

.skill-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

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

.extra-skills {
    margin-bottom: 30px;
}

.extra-skills ul {
    list-style: none;
}

.extra-skills li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-color);
}

.extra-skills li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.download-cv-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-cv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Main Content */
.main-content {
    margin-left: 350px;
    margin-right: 80px;
    padding: 50px;
    max-width: 1200px;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    margin-bottom: 80px;
    position: relative;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.hire-me-btn {
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hire-me-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    opacity: 0.7;
}

.shape-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.shape-square {
    width: 60px;
    height: 60px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid;
    background: none;
}

.shape-plane {
    font-size: 40px;
}

.yellow {
    background-color: var(--primary-color);
    top: 10%;
    left: 10%;
    animation: float 3s ease-in-out infinite;
}

.green {
    background-color: var(--green);
    top: 60%;
    right: 20%;
    animation: float 3s ease-in-out infinite 0.5s;
}

.blue {
    background-color: var(--blue);
    color: var(--blue);
}

.shape-square.blue {
    bottom: 20%;
    left: 20%;
    animation: float 3s ease-in-out infinite 1s;
}

.shape-triangle.red {
    border-bottom-color: var(--red);
    top: 30%;
    right: 10%;
    animation: float 3s ease-in-out infinite 1.5s;
}

.shape-plane.blue {
    bottom: 10%;
    right: 30%;
    animation: float 3s ease-in-out infinite 2s;
}

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

/* Section Styles */
section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-description {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* Resume Section */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-color);
}

.timeline-date {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.timeline-content li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.project-type {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.project-type a {
    color: var(--blue);
    text-decoration: none;
}

.project-type a:hover {
    text-decoration: underline;
}

.project-card ul {
    list-style: none;
    padding-left: 0;
}

.project-card li {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.project-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.education-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.education-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary-color);
}

.education-card h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.education-card h4 {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.education-period {
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.education-grade {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 30px;
    color: var(--primary-color);
    min-width: 40px;
}

.contact-item h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-color);
}

/* Right Navigation */
.right-nav {
    position: fixed;
    right: 0;
    top: 0;
    width: 80px;
    height: 100vh;
    background-color: var(--nav-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 100;
    padding: 20px 0;
}

.nav-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.nav-item span {
    font-size: 10px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        margin-left: 300px;
        padding: 40px;
    }
    
    .sidebar {
        width: 300px;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px;
    }
    
    .main-content {
        margin-left: 0;
        margin-right: 0;
        padding: 30px 20px;
    }
    
    .right-nav {
        position: fixed;
        bottom: 0;
        top: auto;
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: center;
        padding: 10px;
        background-color: var(--nav-bg);
    }
    
    .nav-item {
        width: 45px;
        height: 45px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 40px;
        height: 300px;
    }
    
    .services-grid,
    .projects-grid,
    .education-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .main-content {
        padding: 20px 15px;
    }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #ffcc00;
}
