/* internship.css */

.internship-page-main {
    padding-top: 90px !important; /* Account for fixed header */
    display: block !important; /* Override global flex centering that breaks full width */
}

.internship-container {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f4f7f6; /* Softer background */
    padding-bottom: 80px;
    width: 100%;
}

/* Hero Section */
.internship-hero {
    background: linear-gradient(135deg, #0b2559 0%, #1a4388 100%); /* Deepened gradient */
    color: #fff;
    padding: 60px 20px 100px; /* Adjusted padding since we have padding-top 90px */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.internship-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    color: #fff; /* Override global h1 color */
}

.hero-content .tagline {
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-style: italic;
    opacity: 0.95;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 25px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Container */
.container {
    max-width: 1140px; /* Standardized max width */
    margin: 0 auto;
    padding: 0 20px;
}

/* Details Section */
.internship-details {
    margin-top: -60px; /* Overlap hero */
    position: relative;
    z-index: 10;
}

.eligibility-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Softer, larger shadow */
    margin-bottom: 40px;
    text-align: center;
    border-top: 4px solid #f39c12; /* Accent top border */
}

.eligibility-box h2 {
    color: #0b2559;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2rem;
}

.eligibility-box ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.eligibility-box ul li {
    background: #f8fafc;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.eligibility-box ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.structure-deliverables-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.duration-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f39c12; /* Orange accent */
    margin-bottom: 10px !important;
    display: inline-block;
    background: #fff8e1;
    padding: 2px 8px;
    border-radius: 4px;
}

.outcome-text {
    font-size: 0.9rem;
    margin-top: 12px !important;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    color: #334155 !important;
}

/* Adjust the premium card to look active now */
.pricing-card.premium-card {
    opacity: 1; /* Remove the disabled opacity */
    background: #fff;
    border: 1px solid #e2e8f0;
}
.pricing-card.premium-card .card-header {
    background: #f8fafc; /* Standard header bg */
}

/* --- Batch/Cohort Date Styling --- */
.batch-date { 
    color: #1a4388; /* Deep blue to match your theme's primary color */
    font-weight: 600; 
    font-size: 0.9rem;
    margin-top: 8px; 
    margin-bottom: 0;
    text-transform: uppercase; /* Makes it look like a formal label */
    letter-spacing: 0.5px;
}

/* --- Popular / Best Value Badge --- */
.pricing-card.popular {
    border: 2px solid #007bff; /* Highlight popular plan */
    transform: translateY(-10px);
}

.pricing-card.popular:hover {
    transform: translateY(-15px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #007bff; /* Primary color for badge */
    color: white;
    padding: 8px 16px;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 0 0 0 15px; /* Clean bottom-left curve, top-right clipped by card */
    z-index: 10;
}

/* Optional: If you want a different color for the Premium Mentorship badge */
.pricing-card.premium-card .popular-badge {
    background: linear-gradient(135deg, #6f42c1 0%, #5a2a98 100%); /* Purple gradient */
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.4);
}

@media (max-width: 992px) {
    .structure-deliverables-wrapper {
        flex-direction: column;
        gap: 20px;
    }
}

.monthly-structure {
    flex: 1;
}

.side-info {
    flex: 1;
    position: sticky;
    top: 110px; /* Stay visible while scrolling past tall timeline */
}

.monthly-structure h2, .deliverables-box h2, .provided-box h2, .internship-registration h2 {
    color: #0b2559;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.monthly-structure h2::after, .deliverables-box h2::after, .provided-box h2::after, .internship-registration h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background: #f39c12;
    border-radius: 3px;
}

.internship-registration h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 35px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px; /* Adjusted to align with circle */
    top: 5px;
    bottom: 0;
    width: 2px;
    background: #cbd5e1;
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px; /* Aligned */
    top: 6px;
    width: 16px;
    height: 16px;
    background: #1a4388;
    border-radius: 50%;
    border: 3px solid #f4f7f6; /* Match background */
    box-shadow: 0 0 0 2px #cbd5e1;
    z-index: 2;
}

.timeline-month {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #1e293b;
    font-size: 1.25rem;
}

.timeline-content ul {
    padding-left: 20px;
    margin-bottom: 0;
    color: #475569;
    line-height: 1.6;
}

.timeline-content ul li {
    margin-bottom: 5px;
}

/* Side Info */
.deliverables-box, .provided-box {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.deliverable-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.deliverable-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.deliverable-item h4 {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.deliverable-item p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: #334155;
    font-weight: 500;
    line-height: 1.4;
}

.check-icon {
    color: #10b981; /* Emerald green */
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: -2px;
}

/* Registration & Pricing */
.internship-registration {
    margin-top: 70px;
    text-align: center;
}

.registration-subtitle {
    color: #64748b;
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    width: calc(50% - 20px); /* Ensure exactly two side-by-side on laptop */
    min-width: 320px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.pricing-card.highlighted {
    border: 2px solid #1a4388;
    transform: translateY(-10px);
}

.pricing-card.highlighted:hover {
    transform: translateY(-15px);
}

.card-header {
    padding: 35px 35px 25px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.card-header h3 {
    margin: 0 0 12px 0;
    color: #0b2559;
    font-size: 1.6rem;
    font-weight: 700;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
}

.price span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: normal;
}

.card-body {
    padding: 35px;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
    color: #475569;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '\e876'; /* Material Symbols 'done' */
    font-family: 'Material Symbols Outlined';
    position: absolute;
    left: 0;
    top: 0;
    color: #1a4388;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-footer {
    padding: 25px 35px 35px;
    background: #fff;
}

.session-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.session-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: background-color 0.2s;
}

.session-block:hover {
    background: #f1f5f9;
}

.session-block h4 {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.availability-status {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #d97706; /* Amber for checking */
    background: #fef3c7;
    padding: 4px 12px;
    border-radius: 20px;
}

.availability-status.available {
    color: #059669; /* Emerald */
    background: #d1fae5;
}

.availability-status.full {
    color: #dc2626; /* Red */
    background: #fee2e2;
}

.internship-container .btn {
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.internship-container .btn-primary {
    background: #1a4388;
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 67, 136, 0.2);
}

.internship-container .btn-primary:hover:not(:disabled) {
    background: #0b2559;
    box-shadow: 0 6px 15px rgba(26, 67, 136, 0.3);
    transform: translateY(-2px);
}

.internship-container .btn:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    opacity: 0.8;
    box-shadow: none;
}

.internship-container .btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

/* Disabled Card Styles */
.disabled-card {
    opacity: 0.85;
    background: #fafafa;
}

.disabled-card .card-header {
    background: #f1f5f9;
}

.coming-soon-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #f59e0b;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(245, 158, 11, 0.3);
}

.future-note {
    font-size: 0.95rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .internship-hero {
        padding: 80px 20px 100px;
    }
    
    .pricing-cards {
        gap: 30px;
    }
}
