/* Internship Detail Page */
.internship-detail-section {
    padding: 45px 0;
    background: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.internship-detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Internship Meta */
.internship-meta {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(81, 177, 70, 0.05);
    border-radius: 20px;
    border-left: 4px solid #51b146;
}

.internship-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.duration-badge,
.education-level-badge,
.stipend-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.duration-badge.1-month {
    background: rgba(81, 177, 70, 0.1);
    color: #51b146;
}

.duration-badge.3-months {
    background: rgba(0, 75, 107, 0.1);
    color: #004b6b;
}

.duration-badge.6-months {
    background: rgba(54, 96, 114, 0.1);
    color: #366072;
}

.duration-badge.1-year {
    background: rgba(228, 32, 51, 0.1);
    color: #e4203270;
}

.education-level-badge.undergraduate {
    background: rgba(81, 177, 70, 0.1);
    color: #51b146;
}

.education-level-badge.graduate {
    background: rgba(0, 75, 107, 0.1);
    color: #004b6b;
}

.education-level-badge.postgraduate {
    background: rgba(54, 96, 114, 0.1);
    color: #366072;
}

.stipend-badge {
    background: linear-gradient(135deg, #51b146, #004b6b);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stipend-badge i {
    font-size: 0.7rem;
}

.internship-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #004b6b;
    font-weight: 500;
    font-size: 0.9rem;
}

.info-item i {
    color: #51b146;
    font-size: 0.8rem;
}

.info-item.deadline {
    color: #e4203270;
    font-weight: 600;
}

.info-item.deadline i {
    color: #e4203270;
}

/* Internship Content */
.internship-content {
    margin-bottom: 50px;
}

.internship-description,
.internship-responsibilities,
.internship-requirements,
.internship-benefits,
.stipend-info,
.application-section {
    margin-bottom: 40px;
}

.internship-description h3,
.internship-responsibilities h3,
.internship-requirements h3,
.internship-benefits h3,
.stipend-info h3,
.application-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #004b6b;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.internship-description h3::before,
.internship-responsibilities h3::before,
.internship-requirements h3::before,
.internship-benefits h3::before,
.stipend-info h3::before,
.application-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #51b146, #004b6b);
    border-radius: 2px;
}

.internship-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

/* Lists */
.responsibilities-list,
.requirements-list,
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.responsibility-item,
.requirement-item,
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(81, 177, 70, 0.05);
    border-radius: 10px;
    border-left: 3px solid #51b146;
    transition: all 0.3s ease;
}

.responsibility-item:hover,
.requirement-item:hover,
.benefit-item:hover {
    background: rgba(81, 177, 70, 0.1);
    transform: translateX(5px);
}

.responsibility-item i,
.requirement-item i,
.benefit-item i {
    color: #51b146;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.responsibility-item span,
.requirement-item span,
.benefit-item span {
    color: #333333;
    font-weight: 500;
    line-height: 1.6;
}

/* Stipend Display */
.stipend-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(81, 177, 70, 0.1), rgba(0, 75, 107, 0.1));
    border-radius: 15px;
    border-left: 4px solid #51b146;
}

.stipend-display i {
    font-size: 1.5rem;
    color: #51b146;
}

.stipend-display span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #004b6b;
}

/* Application Section */
.application-section {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(0, 75, 107, 0.05);
    border-radius: 20px;
    border-left: 4px solid #004b6b;
}

.application-section h3 {
    text-align: center;
    margin-bottom: 25px;
}

.application-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.application-method {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.application-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #51b146, #004b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #004b6b;
    margin: 0 0 8px 0;
}

.method-content p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0 0 12px 0;
}

.application-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #51b146;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.application-link:hover {
    color: #004b6b;
    transform: translateX(3px);
}

/* Internship Actions */
.internship-actions {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 60px;
}

.apply-btn,
.share-btn,
.print-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #51b146;
    background: transparent;
    color: #51b146;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.apply-btn {
    background: #51b146;
    color: #ffffff;
}

.apply-btn:hover {
    background: #004b6b;
    border-color: #004b6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 177, 70, 0.3);
}

.share-btn:hover,
.print-btn:hover {
    background: #51b146;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 177, 70, 0.3);
}

/* Related Internships */
.related-internships {
    margin-top: 80px;
}

.related-title {
    font-size: 2rem;
    font-weight: 700;
    color: #004b6b;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #51b146, #004b6b);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.related-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-content {
    padding: 25px;
}

.related-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.related-duration,
.related-education-level {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-duration.1-month {
    background: rgba(81, 177, 70, 0.1);
    color: #51b146;
}

.related-duration.3-months {
    background: rgba(0, 75, 107, 0.1);
    color: #004b6b;
}

.related-duration.6-months {
    background: rgba(54, 96, 114, 0.1);
    color: #366072;
}

.related-duration.1-year {
    background: rgba(228, 32, 51, 0.1);
    color: #e4203270;
}

.related-education-level.undergraduate {
    background: rgba(81, 177, 70, 0.1);
    color: #51b146;
}

.related-education-level.graduate {
    background: rgba(0, 75, 107, 0.1);
    color: #004b6b;
}

.related-education-level.postgraduate {
    background: rgba(54, 96, 114, 0.1);
    color: #366072;
}

.related-card-title {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.related-card-title a {
    color: #004b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card-title a:hover {
    color: #51b146;
}

.related-excerpt {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.related-location,
.related-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999999;
    font-size: 0.8rem;
}

.related-location i,
.related-date i {
    color: #51b146;
    font-size: 0.7rem;
}

.related-footer {
    display: flex;
    justify-content: flex-end;
}

.view-internship-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #51b146, #004b6b);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-internship-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 177, 70, 0.4);
}

.view-internship-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.view-internship-btn:hover i {
    transform: translateX(3px);
}

/* Application Modal */
.application-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.application-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    animation: slideInUp 0.3s ease-out;
}

.application-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.application-modal-header h3 {
    margin: 0;
    color: #004b6b;
    font-size: 1.3rem;
}

.close-application-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-application-modal:hover {
    color: #51b146;
}

.application-modal-body p {
    color: #666666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.application-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.application-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(81, 177, 70, 0.05);
    border-radius: 15px;
    border-left: 4px solid #51b146;
}

.application-method i {
    color: #51b146;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.application-method h4 {
    margin: 0 0 5px 0;
    color: #004b6b;
    font-size: 1rem;
}

.application-method a {
    color: #51b146;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.application-method a:hover {
    color: #004b6b;
}

/* Dark Theme */
.dark-theme .internship-detail-section {
    background: #1a1a1a;
}

.dark-theme .internship-meta {
    background: rgba(81, 177, 70, 0.1);
    border-left-color: #51b146;
}

.dark-theme .info-item {
    color: #eeeff1;
}

.dark-theme .info-item.deadline {
    color: #e4203270;
}

.dark-theme .internship-description h3,
.dark-theme .internship-responsibilities h3,
.dark-theme .internship-requirements h3,
.dark-theme .internship-benefits h3,
.dark-theme .stipend-info h3,
.dark-theme .application-section h3 {
    color: #eeeff1;
}

.dark-theme .internship-description p {
    color: #e0e0e0;
}

.dark-theme .responsibility-item,
.dark-theme .requirement-item,
.dark-theme .benefit-item {
    background: rgba(81, 177, 70, 0.1);
}

.dark-theme .responsibility-item span,
.dark-theme .requirement-item span,
.dark-theme .benefit-item span {
    color: #e0e0e0;
}

.dark-theme .stipend-display span {
    color: #eeeff1;
}

.dark-theme .application-section {
    background: rgba(0, 75, 107, 0.1);
}

.dark-theme .application-method {
    background: #2d2d2d;
}

.dark-theme .method-content h4 {
    color: #eeeff1;
}

.dark-theme .method-content p {
    color: #cccccc;
}

.dark-theme .internship-actions {
    border-color: #333333;
}

.dark-theme .related-title {
    color: #eeeff1;
}

.dark-theme .related-card {
    background: #2d2d2d;
}

.dark-theme .related-card-title a {
    color: #eeeff1;
}

.dark-theme .related-card-title a:hover {
    color: #51b146;
}

.dark-theme .related-excerpt {
    color: #cccccc;
}

.dark-theme .related-location,
.dark-theme .related-date {
    color: #999999;
}

.dark-theme .application-modal-content {
    background: #2d2d2d;
}

.dark-theme .application-modal-header h3 {
    color: #eeeff1;
}

.dark-theme .application-modal-body p {
    color: #cccccc;
}

.dark-theme .application-method {
    background: rgba(81, 177, 70, 0.1);
}

.dark-theme .application-method h4 {
    color: #eeeff1;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .internship-detail-section {
        padding: 60px 0;
    }
    
    .internship-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .application-methods {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 767.98px) {
    .internship-detail-section {
        padding: 40px 0;
    }
    
    .internship-meta {
        padding: 20px;
    }
    
    .internship-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .internship-description p {
        font-size: 1rem;
    }
    
    .application-method {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .internship-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .apply-btn,
    .share-btn,
    .print-btn {
        justify-content: center;
    }
    
    .related-title {
        font-size: 1.6rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .internship-description p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .responsibility-item,
    .requirement-item,
    .benefit-item {
        padding: 12px;
    }
    
    .related-content {
        padding: 20px;
    }
}

