/* ===================================
   Internships Page - Additional Styles
   =================================== */

/* Page Header */
.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(7, 1, 4, 0.9), rgba(0, 0, 0, 0.8)),
                url('../images/internship-header.jpg') center/cover;
    position: relative;
    margin-top: 70px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(205, 153, 27, 0.1), transparent 70%);
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--gold);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--red);
}

/* Internship Overview */
.internship-overview {
    padding: 6rem 0;
    background: var(--midnight);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    padding: 1.5rem;
    background: rgba(205, 153, 27, 0.05);
    border: 1px solid rgba(205, 153, 27, 0.2);
    border-radius: 15px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(205, 153, 27, 0.2);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.overview-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overview-image:hover img {
    transform: scale(1.05);
}

/* Tracks Section */
.tracks-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(7, 1, 4, 0.98), rgba(0, 0, 0, 0.98));
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.track-card {
    background: linear-gradient(135deg, rgba(205, 153, 27, 0.05), rgba(254, 0, 0, 0.05));
    border: 1px solid rgba(205, 153, 27, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(205, 153, 27, 0.1), rgba(254, 0, 0, 0.1));
    transition: left 0.4s ease;
    z-index: 0;
}

.track-card:hover::before {
    left: 0;
}

.track-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(205, 153, 27, 0.3);
}

.track-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--red));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.track-card h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.track-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.track-skills {
    list-style: none;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.track-skills li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.track-skills li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.duration {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(205, 153, 27, 0.2);
    border-radius: 20px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.duration i {
    margin-right: 0.5rem;
}

/* Application Form Section */
.application-section {
    padding: 6rem 0;
    background: var(--midnight);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(205, 153, 27, 0.05), rgba(254, 0, 0, 0.05));
    border: 1px solid rgba(205, 153, 27, 0.2);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.internship-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(205, 153, 27, 0.3);
    border-radius: 10px;
    background: rgba(7, 1, 4, 0.5);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(205, 153, 27, 0.1);
}

.form-group input[type="file"] {
    padding: 0.75rem;
    cursor: pointer;
}

.form-group small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: var(--gold);
}

.checkbox-group label {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--gold);
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: var(--red);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.btn-submit {
    min-width: 200px;
}

/* Form Validation States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--red);
}

.form-group .error-message {
    color: var(--red);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group input.error + .error-message,
.form-group select.error + .error-message,
.form-group textarea.error + .error-message {
    display: block;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
    border: 1px solid rgba(40, 167, 69, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #28a745;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideDown 0.5s ease;
}

.success-message i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

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

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(7, 1, 4, 0.98), rgba(0, 0, 0, 0.98));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(205, 153, 27, 0.05);
    border: 1px solid rgba(205, 153, 27, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(205, 153, 27, 0.2);
}

.quote-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.testimonial-author h4 {
    color: var(--white);
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tracks-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 40vh;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .internship-overview,
    .tracks-section,
    .application-section,
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .tracks-grid {
        grid-template-columns: 1fr;
    }
}