/* CV page specific styles */
.cv-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* CV Particles Container */
#tsparticles-cv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* CV Header with colorful background */
.cv-header {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 50%, #5F9EA0 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cv-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.cv-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.cv-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cv-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Add colorful left border to each section */
.cv-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
}

/* Different colors for different section types */
.cv-section:nth-child(2)::before { /* Professional Profile */
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
}

.cv-section:nth-child(3)::before { /* Professional Summary */
    background: linear-gradient(135deg, #B0E0E6 0%, #87CEEB 100%);
}

.cv-section:nth-child(4)::before { /* Current Role */
    background: linear-gradient(135deg, #4682B4 0%, #5F9EA0 100%);
}

.cv-section:nth-child(5)::before { /* Key Skills & Certifications */
    background: linear-gradient(135deg, #5F9EA0 0%, #87CEEB 100%);
}

.cv-section:nth-child(6)::before { /* Professional Experience */
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
}

.cv-section:nth-child(7)::before { /* Current Projects */
    background: linear-gradient(135deg, #E0F6FF 0%, #87CEEB 100%);
}

.cv-section:nth-child(8)::before { /* Education */
    background: linear-gradient(135deg, #4682B4 0%, #87CEEB 100%);
}

.cv-section:nth-child(9)::before { /* Contact Information */
    background: linear-gradient(135deg, #B0E0E6 0%, #5F9EA0 100%);
}

.cv-section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: left;
    position: relative;
    padding-left: 1rem;
}

.cv-section h2::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.2);
}

.cv-section h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.cv-section h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #666;
    font-style: italic;
}

.cv-section p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cv-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.cv-section li {
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    list-style: none;
}

.cv-section li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #87CEEB;
    font-size: 0.8rem;
    top: 0.1rem;
}

/* Special styling for certification links */
.cv-section li a {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cv-section li a:hover {
    background: linear-gradient(135deg, #4682B4 0%, #5F9EA0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.overview-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #87CEEB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.overview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #87CEEB 0%, #4682B4 100%);
}

.overview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.15);
}

.overview-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.overview-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-links p {
    margin: 0;
    padding: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #87CEEB;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-links p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #87CEEB 0%, #4682B4 100%);
}

.contact-links p:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(135, 206, 235, 0.15);
}

.contact-links p:last-child {
    border-bottom: none;
}

.contact-links a {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    background: linear-gradient(135deg, #4682B4 0%, #5F9EA0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
}

/* Remove underlines from certification links */
.cv-section a {
    text-decoration: none;
    color: #87CEEB;
    transition: color 0.3s ease;
}

.cv-section a:hover {
    color: #4682B4;
    text-decoration: none;
}

/* Enhanced projects section styling */
.projects-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    position: relative;
}

.projects-section::before {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* Add colorful floating elements */
.cv-section::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 2s ease-in-out infinite;
}

.cv-section:nth-child(even)::after {
    background: linear-gradient(135deg, #B0E0E6 0%, #5F9EA0 100%);
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

/* Responsive design for CV */
@media screen and (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-header h1 {
        font-size: 2rem;
    }
    
    .cv-header p {
        font-size: 1rem;
    }
}
