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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #f8f9fa;
        }

        .cv-container {
            max-width: 900px;
            margin: 2rem auto;
            background: white;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            overflow: hidden;
            animation: fadeIn 1s ease-out;
        }

        .back-button {
            position: absolute;
            top: 1rem;
            left: 1rem;
            z-index: 10;
        }

        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.15);
            color: white;
            text-decoration: none;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .back-btn:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .back-btn i {
            font-size: 1rem;
        }

        .header {
            background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
            color: white;
            padding: 2rem;
            text-align: center;
            position: relative;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></svg>') repeat;
            pointer-events: none;
        }

        .header-content {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .profile-photo {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            object-fit: cover;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }

        .profile-photo:hover {
            transform: scale(1.05);
            border-color: rgba(255, 255, 255, 0.5);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
        }

        .name {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .title {
            font-size: 1.2rem;
            font-weight: 300;
            opacity: 0.9;
            margin-bottom: 1rem;
        }

        .contact-info {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            opacity: 0.9;
        }

        .contact-item i {
            font-size: 1.1rem;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 0;
        }

        .sidebar {
            background: #f8f9fa;
            padding: 2rem;
            border-right: 1px solid #e9ecef;
        }

        .content {
            padding: 2rem;
        }

        .section {
            margin-bottom: 2rem;
        }

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

        .section-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #3498db;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 30px;
            height: 2px;
            background: #e74c3c;
        }

        .experience-item, .education-item {
            margin-bottom: 1.5rem;
            position: relative;
            padding-left: 1rem;
            border-left: 2px solid #3498db;
        }

        .experience-item::before, .education-item::before {
            content: '';
            position: absolute;
            left: -6px;
            top: 0.5rem;
            width: 10px;
            height: 10px;
            background: #3498db;
            border-radius: 50%;
        }

        .job-title, .degree-title {
            font-weight: 700;
            color: #2c3e50;
            font-size: 1.1rem;
        }

        .company, .school {
            color: #3498db;
            font-weight: 600;
            margin: 0.2rem 0;
        }

        .date {
            color: #7f8c8d;
            font-size: 0.9rem;
            font-style: italic;
        }

        .description {
            margin-top: 0.8rem;
            color: #5d6d7e;
            line-height: 1.7;
        }

        .tasks-list {
            list-style: none;
            margin-top: 0.5rem;
            padding-left: 0;
        }

        .tasks-list li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.5rem;
            color: #5d6d7e;
        }

        .tasks-list li::before {
            content: '▹';
            position: absolute;
            left: 0;
            color: #3498db;
            font-weight: bold;
        }
        
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 0.5rem;
        }

        .skill-item {
            background: linear-gradient(45deg, #3498db, #2980b9);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            text-align: center;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .skill-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .languages {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .language-item {
            background: #e8f4fd;
            color: #2c3e50;
            padding: 0.5rem 1rem;
            border-radius: 15px;
            border: 1px solid #3498db;
        }

        .hobbies-list {
            list-style: none;
        }

        .hobbies-list li {
            background: #f8f9fa;
            padding: 0.5rem 1rem;
            margin-bottom: 0.5rem;
            border-left: 3px solid #e74c3c;
            border-radius: 0 5px 5px 0;
        }

        .volunteer-item {
            background: linear-gradient(45deg, #e8f5e8, #f0f8f0);
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            border-left: 4px solid #27ae60;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        .volunteer-content {
            flex: 1;
        }

        .volunteer-title {
            font-weight: 700;
            color: #27ae60;
            margin-bottom: 0.2rem;
        }

        .volunteer-item .company {
            margin: 0.2rem 0;
        }

        .volunteer-item .date {
            margin: 0;
        }

        .about-text {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            padding: 1.5rem;
            border-radius: 8px;
            border-left: 4px solid #3498db;
            font-style: italic;
            color: #2c3e50;
            line-height: 1.7;
        }

        .associations-logos {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            flex-shrink: 0;
        }

        .associations-logos img {
            max-width: 45px;
            height: auto;
            border-radius: 5px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .associations-logos img:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            .back-button {
                position: relative;
                top: 0;
                left: 0;
                margin-bottom: 1rem;
                text-align: left;
            }
            
            .cv-container {
                margin: 1rem;
            }

            .main-content {
                grid-template-columns: 1fr;
            }

            .sidebar {
                order: 1;
            }

            .content {
                order: 2;
            }

            .contact-info {
                flex-direction: column;
                gap: 1rem;
            }

            .name {
                font-size: 2rem;
            }

            .profile-photo {
                width: 100px;
                height: 100px;
            }

            .skills-grid {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            }

            .volunteer-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .associations-logos {
                align-self: flex-end;
            }
        }

        @media print {
            body {
                background: white;
            }
            
            .cv-container {
                box-shadow: none;
                margin: 0;
            }
            
            .header {
                background: #2c3e50 !important;
            }
        }
