/* Video Background Styles */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    /* Remove any scaling/zooming */
    transform-origin: center center;
    transform: translateX(-50%) translateY(-50%) scale(1);
}

/* Overlay to improve text visibility */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for better text visibility */
    z-index: -1;
}

/* Enhanced text visibility */
body {
    color: #ffffff;
    background-color: transparent;
}

.section-label, 
.section-title, 
.hero-title, 
.project-title, 
.skill-name, 
.timeline-position, 
.timeline-company, 
.service-title,
.copyright,
.back-to-top,
.nav-link,
.logo {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.timeline-date, 
.stat-label, 
.skill-description, 
.contact-info p,
.form-label {
    color: #e0e0e0;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

/* Enhanced section borders */
.section-header.projects-border,
.section-header.skills-border,
.section-header.experience-border,
.section-header.services-border,
.section-header.contact-border {
    border-bottom-width: 5px;
    border-bottom-style: solid;
}

.section-header.projects-border {
    border-bottom-color: #4d8cff;
}

.section-header.skills-border {
    border-bottom-color: #ffb84d;
}

.section-header.experience-border {
    border-bottom-color: #c44dff;
}

.section-header.services-border {
    border-bottom-color: #4dffff;
}

.section-header.contact-border {
    border-bottom-color: #ff4dff;
}

/* Enhanced card visibility */
.project-card, 
.service-card {
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.project-info, 
.service-content {
    background-color: rgba(0, 0, 0, 0.7);
}

.project-tag {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Form elements */
.form-input, 
.form-textarea {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.form-input:focus, 
.form-textarea:focus {
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Normal black cursor */
body {
    cursor: default !important;
}

.cursor-outer, 
.cursor-inner {
    display: none !important;
}

/* Space-themed Specialization links */
.specialization-link {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.specialization-link::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    transition: all 0.6s ease;
    z-index: 1;
}

.specialization-link:hover {
    background-color: rgba(0, 0, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 255, 0.3);
}

.specialization-link:hover::before {
    top: 0;
}

.specialization-link .arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.specialization-link:hover .arrow {
    transform: translateX(5px);
}

/* Add star particles to specialization links */
.specialization-link .star-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* Social links with space effect */
.social-link.space-effect {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.social-link.space-effect::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    transition: all 0.6s ease;
    z-index: 1;
}

.social-link.space-effect:hover {
    background-color: rgba(0, 0, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 255, 0.3);
}

.social-link.space-effect:hover::before {
    top: 0;
}

/* Linktree and Resume color */
.linktree-color, .resume-color {
    color: #ffffff !important;
}

.nav-link.linktree-color:hover, .nav-link.resume-color:hover {
    color: #ffffff !important;
}

/* Buy me a coffee button */
.coffee-btn {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.coffee-btn:hover {
    background-color: rgba(255, 171, 0, 0.2);
    border-color: rgba(255, 171, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 171, 0, 0.3);
}

.coffee-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Footer layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

/* Back to top arrow */
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.arrow-up {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Submit button */
.submit-btn {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.submit-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* Skill bars */
.skill-bar {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Header background */
.header {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Remove sun icon */
.dark-mode-toggle {
    display: none !important;
}

/* Profile image in services section */
.profile-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.profile-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

/* Experience timeline rope */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 4px;
    background: linear-gradient(to bottom, #c44dff, #4d8cff, #ffb84d);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(196, 77, 255, 0.7);
}

.timeline-item {
    position: relative;
    padding-left: 160px;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 118px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 126px;
    top: 12px;
    width: 34px;
    height: 2px;
    background: linear-gradient(to right, rgba(196, 77, 255, 0.8), rgba(255, 255, 255, 0.4));
}
