/* CV Page Specific Styles */
.profile-image-container {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--primary-color);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-info p {
    margin: 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.resume-btn {
    margin-top: 1rem;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.resume-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Skills Section */
.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-info h3 {
    margin: 0;
    font-size: 1.2rem;
}

.skill-percentage {
    font-weight: bold;
    color: var(--primary-color);
}

/* Word Cloud Container */
#Container {
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    height: 400px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 30px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 70px;
}

.timeline-date {
    position: absolute;
    left: 0;
    width: 60px; /* Increased width */
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
    background-color: var(--card-bg);
    z-index: 1;
    line-height: 1.2;
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 0.25rem;
    border-left: 3px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
}

/* Project Cards */
.project-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-tags {
    margin-top: 1rem;
}

.project-tags .badge {
    margin-right: 0.5rem;
}

/* Quote Section */
.quote-section {
    margin-top: 1.5rem;
}

.quote-btn {
    margin-top: 1rem;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.quote-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* References Section */
.reference-list {
    padding-left: 1.5rem;
}

.reference-list li {
    margin-bottom: 0.75rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cv-header, .skills-section, .experience-section, 
.education-section, .projects-section, .references-section {
    animation: fadeIn 1s ease;
}


/* Type‑writer headline caret */
#cursor {
    display: inline-block;
    width: 2px;          /* easy to see on any screen */
    height: 1em;         /* full cap‑height of the line */
    background: currentColor;
    margin-left: 2px;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
    }

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .profile-image-container {
        width: 150px;
        height: 150px;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-date {
        width: 50px;
        font-size: 0.7rem;
    }
    
    #Container {
        width: 100%;
        height: 300px;
    }
   
}