/* Enhanced Hero Section Styles */

/* Text Enhancement Styles */
.hero-description {
    margin-bottom: 20px;
}

.hero-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.experience-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

.education-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.highlight-text {
    color: var(--theme-primary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--theme-primary), #9c5dd9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-highlight {
    color: #4CAF50;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.org-highlight {
    color: #2196F3;
    font-weight: 600;
}

.achievement-highlight {
    color: #FF9800;
    font-weight: 600;
}

.company-link {
    color: var(--theme-primary) !important;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.company-link:hover {
    border-bottom-color: var(--theme-primary);
    text-shadow: 0 0 8px rgba(181, 122, 236, 0.4);
}

.experience-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.company-tags {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.degree-highlight {
    color: var(--theme-primary);
    font-weight: 600;
}

.university-highlight {
    color: #2196F3;
    font-weight: 600;
}

.gpa-badge {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.achievement-tags {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-style: italic;
}

.education-highlight {
    margin-top: 15px;
}

/* Animated Background */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    border-radius: 50%;
    opacity: 0.1;
    animation: floating var(--duration, 4s) ease-in-out infinite var(--delay, 0s);
}

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

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(181, 122, 236, 0.1);
    border: 1px solid rgba(181, 122, 236, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--theme-primary);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Enhanced Title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.glow-text {
    text-shadow: 0 0 20px rgba(181, 122, 236, 0.5);
}

.wave-emoji {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(14deg); }
    50% { transform: rotate(-4deg); }
    60% { transform: rotate(10deg); }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
}

/* Achievement Stats */
.achievement-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 25px;
    background: rgba(255,255,255,0.02);
    border-radius: 15px;
    border: 1px solid rgba(181, 122, 236, 0.2);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--theme-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
}

/* Hero Description */
.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

/* Enhanced Image */
.image-container {
    position: relative;
    display: inline-block;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(181, 122, 236, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating Badges */
.floating-badges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-badge {
    position: absolute;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(181, 122, 236, 0.3);
    border-radius: 15px;
    padding: 10px 15px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInFloat 1s ease-out forwards var(--delay, 0s);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.floating-badge i {
    color: var(--theme-primary);
}

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

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-hero:hover::before {
    left: 100%;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(181, 122, 236, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary-hero {
    background: transparent;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(181, 122, 236, 0.5);
    transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
    background: rgba(181, 122, 236, 0.1);
    border-color: var(--theme-primary);
    transform: translateY(-2px);
    color: var(--white);
    text-decoration: none;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
    background: rgba(181, 122, 236, 0.2);
    border-color: var(--theme-primary);
    transform: translateY(-2px);
    color: var(--white);
    text-decoration: none;
}

/* Logo Belt */
.logo-belt {
    margin-top: 0px;
    margin-bottom: 80px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logo-belt-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-belt-header p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.logo-scroll {
    overflow: hidden;
    padding: 20px 0;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    pointer-events: auto; /* Ensure logo scroll container allows pointer events */
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 40px;
    width: calc(200% + 40px); /* Ensure proper width for seamless loop */
    pointer-events: auto; /* Ensure logo track allows pointer events */
}

.company-logo {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.company-logo:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(181, 122, 236, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.company-logo:focus {
    outline: 2px solid rgba(181, 122, 236, 0.5);
    outline-offset: 2px;
}

.company-logo img {
    max-width: 80px;
    max-height: 40px;
    object-fit: contain;
    filter: none; /* Always colorful - no grayscale */
    transition: all 0.3s ease;
    pointer-events: none; /* Prevent image from interfering with link clicks */
}

.company-logo:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .achievement-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .floating-badge {
        position: relative;
        margin: 10px 0;
        opacity: 1;
        animation: none;
    }
    
    .logo-track {
        gap: 20px;
    }
    
    .company-logo {
        width: 100px;
        height: 50px;
    }
}

/* Additional enhancements for existing elements */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content-box {
    z-index: 2;
    position: relative;
}
