/* Internships Page Styles */

/* Hero Section for Internships */
.hero {
    background: linear-gradient(rgba(0, 91, 154, 0.7), rgba(116, 194, 225, 0.7)), url('../images/hero/internships-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    color: var(--light-text);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Internships Section */
.internships {
    padding: 5rem 0;
    background: #f8f9fa;
}

.internships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.internship-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.internship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #009a50, #009a5029);
}

.internship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.internship-card.upcoming::before {
    background: linear-gradient(90deg, #ffc107, #ff9800);
}

.internship-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.internship-header h3 {
    font-size: 1.5rem;
    color: #005b9a;
    margin: 0;
}

.status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status.active {
    background: rgba(0, 154, 64, 0.1);
    color: #009a50;
}

.status.upcoming {
    background: rgba(255, 193, 7, 0.1);
    color: #ff9800;
}

.internship-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #666;
}

.detail-item i {
    color: #005b9a;
    width: 16px;
}

.internship-description h4 {
    color: #005b9a;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.internship-description p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.internship-description ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.internship-description li {
    padding: 0.25rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.internship-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #005b9a;
    font-weight: bold;
}

/* Past Internships Section */
.past-internships {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.quote {
    position: relative;
    margin-bottom: 1.5rem;
}

.quote i {
    color: #005b9a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.quote p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.testimonial-author {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.author-info h4 {
    color: #005b9a;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.author-info span {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.author-info .period {
    color: #999;
    font-size: 0.8rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #005b9a;
}

.modal-content h2 {
    color: #005b9a;
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Registration Form */
.registration-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005b9a;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
}

/* Expired Internships Section */
.expired-internships {
    padding: 5rem 0;
    background: #f8f9fa;
}

.internship-card.expired {
    opacity: 0.7;
    filter: grayscale(30%);
    position: relative;
}

.internship-card.expired::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
    border-radius: 15px;
}

.internship-card.expired::before {
    background: linear-gradient(90deg, #dc3545, #dc35463a);
}

.internship-card.expired:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.status.expired {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.expired-notice {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc3545;
    font-weight: 500;
}

.expired-notice i {
    color: #dc3545;
    font-size: 1.1rem;
}

.expired-notice span {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .internships-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .internship-details {
        grid-template-columns: 1fr;
    }
    
    .internship-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .expired-internships {
        padding: 3rem 0;
    }
    
    .internship-card.expired {
        opacity: 0.8;
    }
    
    .expired-notice {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .internship-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
} 