/* Internship Section Styles - Ultra Sleek Modern Design */
.internship-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.internship-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(239, 68, 68, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Company Header Card - Ultra Compact */
.internship-company-card {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.internship-company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05), transparent);
    transition: left 0.6s ease;
}

.internship-company-card:hover::before {
    left: 100%;
}

.internship-company-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -15px rgba(220, 38, 38, 0.2);
}

/* Project Cards - Ultra Compact Glass Effect */
.internship-project-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.875rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 100%;
}

.internship-project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(220, 38, 38, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.internship-project-card:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(220, 38, 38, 0.2);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.4);
}

.internship-project-card:hover::after {
    opacity: 1;
}

/* Project Image Container - Compact */
.project-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(30, 30, 30, 0.6) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.625rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.project-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.internship-project-card:hover .project-image-container::before {
    opacity: 1;
}

.project-image-container i {
    font-size: 2.25rem;
    transition: all 0.4s ease;
}

.internship-project-card:hover .project-image-container i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px currentColor);
}

/* Skills Grid - Ultra Compact */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.5rem;
}

.skill-card-compact {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.625rem;
    transition: all 0.3s ease;
    text-align: center;
}

.skill-card-compact:hover {
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.skill-card-compact i {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
    display: block;
    transition: transform 0.3s ease;
}

.skill-card-compact:hover i {
    transform: scale(1.1);
}

/* Timeline Cards - Ultra Compact */
.timeline-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 2px solid rgba(220, 38, 38, 0.5);
    border-radius: 6px;
    padding: 0.625rem;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    border-left-color: rgba(220, 38, 38, 0.8);
    background: rgba(0, 0, 0, 0.35);
    transform: translateX(3px);
    box-shadow: -3px 0 10px rgba(220, 38, 38, 0.15);
}

/* Status Badges */
.status-badge-deployed {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.status-badge-deployed::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

.status-badge-dev {
    background: rgba(156, 163, 175, 0.1);
    border: 1px solid rgba(156, 163, 175, 0.3);
    color: #9ca3af;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

/* Tech Stack Tags - Compact */
.tech-stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.tech-tag-small {
    font-size: 0.563rem;
    padding: 0.188rem 0.375rem;
    border-radius: 3px;
    font-weight: 500;
    font-family: 'Fira Code', monospace;
    border: 1px solid;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.tech-tag-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Section Headers - Minimal */
.section-header-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header-compact i {
    font-size: 0.875rem;
    color: #dc2626;
}

.section-header-compact h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.025em;
}

/* Divider Line */
.section-divider-light {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.3), transparent);
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .internship-company-card {
        padding: 0.875rem;
    }
    
    .internship-project-card {
        padding: 0.75rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.375rem;
    }
    
    .skill-card-compact {
        padding: 0.5rem;
    }
    
    .skill-card-compact i {
        font-size: 1.125rem;
    }
    
    .timeline-card {
        padding: 0.5rem;
    }
}

@media (max-width: 640px) {
    .project-image-container i {
        font-size: 2rem;
    }
    
    .section-header-compact {
        flex-direction: row;
        gap: 0.375rem;
    }
    
    .tech-tag-small {
        font-size: 0.5rem;
        padding: 0.15rem 0.3rem;
    }
}
