/* ===== PGDM POLISH & STRUCTURE - PHASE 2 ===== */
/* File: /css/sections/programs/pgdm-polish.css */
/* Purpose: Improve structure, card layouts, visual hierarchy */
/* Applied AFTER pgdm-fixes.css */

/* ===== 1. ENHANCED CARD SYSTEM ===== */

/* Main card container pattern */
.pgdm-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Card variations */
.pgdm-feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--pgdm-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pgdm-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Content cards for tab-specific content */
.content-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--pgdm-border);
}

.content-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--pgdm-accent);
}

.content-card-icon {
    width: 40px;
    height: 40px;
    background: var(--pgdm-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pgdm-primary);
    font-size: 1.25rem;
}

/* ===== 2. SECTION VISUAL HIERARCHY ===== */

/* Section header enhancement */
.enhanced-section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.enhanced-section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--pgdm-accent);
    border-radius: 2px;
}

/* Tab-specific section styling */
.tab-intro-section {
    position: relative;
    overflow: hidden;
}

.tab-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--pgdm-primary) 0%, 
        var(--pgdm-accent) 50%, 
        var(--pgdm-secondary) 100%
    );
}

/* ===== 3. TAB-SPECIFIC CONTENT ORGANIZATION ===== */

/* Global Immersion - Course & Activities */
.course-activities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.course-section, .activities-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--pgdm-primary);
}

.course-section h3, .activities-section h3 {
    color: var(--pgdm-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* International Internship - Process Timeline */
.process-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2.5rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--pgdm-primary), var(--pgdm-accent));
    border-radius: 3px;
}

.process-step {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 18px;
    height: 18px;
    background: white;
    border: 3px solid var(--pgdm-primary);
    border-radius: 50%;
    z-index: 2;
}

/* Student table enhancement */
.student-table-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.student-table thead {
    background: linear-gradient(135deg, var(--pgdm-primary), var(--pgdm-secondary));
}

/* ===== 4. TESTIMONIALS ENHANCEMENT ===== */

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

.testimonial-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.testimonial-card:hover {
    border-color: var(--pgdm-accent);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: rgba(214, 158, 46, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pgdm-border);
}

.author-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pgdm-accent);
}

/* ===== 5. PROGRAM HIGHLIGHTS GRID ===== */

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-card {
    height: 100%;
}

.highlight-card-inner {
    background: white;
    border-radius: 10px;
    padding: 1.75rem;
    height: 100%;
    border: 1px solid var(--pgdm-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--pgdm-accent);
}

.highlight-card-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.highlight-title {
    color: var(--pgdm-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* ===== 6. FEE STRUCTURE ENHANCEMENT ===== */

.fee-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 2rem 0;
}

.fee-highlight {
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.05), rgba(26, 54, 93, 0.03));
    border-left: 4px solid var(--pgdm-accent);
}

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

.installment-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--pgdm-border);
}

.installment-list li:last-child {
    border-bottom: none;
}

/* ===== 7. SPECIALIZATIONS ENHANCEMENT ===== */

.specialization-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.specialization-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.specialization-card:hover {
    border-color: var(--pgdm-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.specialization-card.active {
    border-color: var(--pgdm-primary);
    background: var(--pgdm-light);
}

/* ===== 8. RESPONSIVE ENHANCEMENTS ===== */

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet optimizations */
    .pgdm-card-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .course-activities-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile optimizations */
    .pgdm-card-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .specialization-options {
        grid-template-columns: 1fr;
    }
    
    /* Timeline adjustments */
    .process-timeline {
        padding-left: 1.5rem;
    }
    
    .process-step {
        padding-left: 1.5rem;
    }
    
    /* Card spacing */
    .pgdm-feature-card,
    .content-card,
    .course-section,
    .activities-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Small mobile */
    .enhanced-section-header::after {
        width: 60px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image img {
        width: 50px;
        height: 50px;
    }
}

/* ===== 9. INTERACTIVE ELEMENTS ===== */

/* Tab hover effects */
.program-tab {
    position: relative;
    overflow: hidden;
}

.program-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--pgdm-accent);
    transform: translateY(5px);
    transition: transform 0.3s ease;
    opacity: 0;
}

.program-tab:hover::after {
    transform: translateY(0);
    opacity: 1;
}

/* Button enhancements */
.primary-btn {
    background: var(--pgdm-primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--pgdm-primary);
}

.primary-btn:hover {
    background: transparent;
    color: var(--pgdm-primary);
}

.secondary-btn {
    background: var(--pgdm-accent);
    color: var(--pgdm-primary);
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--pgdm-accent);
}

.secondary-btn:hover {
    background: transparent;
    color: var(--pgdm-accent);
}

/* ===== 10. UTILITY CLASSES ===== */

.text-primary {
    color: var(--pgdm-primary) !important;
}

.text-accent {
    color: var(--pgdm-accent) !important;
}

.bg-light {
    background-color: var(--pgdm-light) !important;
}

.border-accent {
    border-color: var(--pgdm-accent) !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.shadow-md {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.shadow-lg {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

.mt-3 {
    margin-top: 3rem !important;
}

.mb-3 {
    margin-bottom: 3rem !important;
}

.py-3 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* ===== END OF POLISH CSS ===== */