/* Admissions Page CSS for IIMU */
/* Based on IITM layout with green and yellow color scheme */

:root {
    /* Primary Colors - Green & Yellow */
    --iimu-primary-green: #487235;
    --iimu-primary-yellow: #feec43;
    --iimu-dark-green: #212934;
    --iimu-dark-yellow: #ffc400;
    --iimu-light-green: #487235;
    --iimu-light-yellow: #feec43;
    --iimu-pale-green: #f2f2f2;
    --iimu-pale-yellow: #f2f2f2;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #020202;
    --text-dark: #212934;
    --text-gray: #4d4d4d;
    --text-light-gray: #cbcbcb;
    --border-light: #f2f2f2;
    
    /* Background Colors */
    --bg-light: #f6f6f6;
    --bg-medium: #cbcbcb;
    --bg-dark: #cbcbcb;
    --table-header-bg: #939393;
    
    /* Shadows */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.6);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: justify;
    background-color: white;
    font-weight: 300;
}

#pseudoBody {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Serif', serif;
    font-weight: 500;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.overall {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Section Divider */
.section-divider {
    height: 2px;
    background-color: var(--bg-dark);
    margin: 0;
    border: none;
}

/* ========== Breadcrumb Section ========== */
.breadcrumb {
    background-color: white;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    margin-top: var(--header-total-height);
}

.breadcrumb div {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.breadcrumb p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: -10px;
}

.breadcrumb a {
    color: var(--iimu-primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--iimu-primary-yellow);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-gray);
}

/* ========== Main Content ========== */
.main-section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 0;
    background-color: var(--white);
}

main {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--white);
}

h1 {
    color: var(--black);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 500;
}

h2 {
    color: var(--iimu-primary-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 500;
}

h3 {
    color: var(--iimu-primary-green);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

h4 {
    color: var(--iimu-primary-green);
}

section {
    margin-bottom: 40px;
    padding: 0;
}

p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ========== Tables ========== */
.dates-table{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: var(--white);
    overflow: hidden;
    margin-bottom: 100px;
    border: 1px solid var(--text-light-gray);
}

table thead {
    background: var(--table-header-bg);
    color: var(--black);
}

/* table th {
    padding: 15px;
    text-align: left;
    font-weight: 500;
    border: 1px solid var(--text-gray);
} */

table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-light);
    color: var(--black);
    border: 1px solid var(--text-light-gray);
}

table th {
    padding: 14px 12px;
    text-align: left;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1px solid var(--text-light-gray);
}

table tbody tr {
    border-bottom: 1px solid var(--text-light-gray);
}

table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

table tbody tr:nth-child(odd) {
    background: var(--white);
}
table thead {
    background: var(--bg-light);
    color: var(--black);
}
/* ========== Lists ========== */
.mandatory-list,
.eligibility-list,
.doc-list {
    list-style: none;
    margin-left: 0;
}

.mandatory-list li,
.eligibility-list li {
    display: flex;
    gap: 15px;
    /* margin-bottom: 20px; */
    padding: 15px;
    background-color: var(--white);
}

.checkmark {
    color: var(--iimu-primary-green);
    font-weight: 500;
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* ========== Timeline Styling ========== */
.timeline {
    position: relative;
    width: 100%;
    margin: 30px 0;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--iimu-primary-green);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 5px;
    width: 42px;
    height: 42px;
    background: var(--iimu-primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-marker i {
    color: white;
    font-size: 18px;
}

.timeline-content {
    background: white;
    padding: 20px;
}

.timeline-content h3 {
    color: var(--iimu-primary-green);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 0;
}

.timeline-content p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.sub-list {
    list-style: disc inside;
    margin-top: 10px;
    margin-left: 20px;
}

.sub-list li {
    margin-bottom: 8px;
    background: none;
    border: none;
    padding: 0;
    display: list-item;
}

/* ========== Section Styling ========== */
.mandatory-section,
.eligibility-section,
.application-section {
    background-color: white;
    padding: 40px 0;
    margin: 0;
}

.mandatory-title,
.eligibility-title,
.application-title {
    color: var(--iimu-primary-green);
    font-weight: 500;
    margin-bottom: 15px;
}

.mandatory-title,
.eligibility-title,
.application-title {
    font-size: 1.4rem;
}

/* ========== Note Styling ========== */
.note {
    display: block;
    font-style: italic;
    margin-top: 10px;
    padding: 10px;
    background-color: white;
    color: var(--text-gray);
}

/* ========== Main Heading ========== */
.main-heading {
    color: var(--iimu-primary-green);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 500;
}

/* ========== Navigation Section ========== */
.navigation-section {
    padding: 60px 5%;
    background: white;
}

.navigation-info {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.navigation-info span {
    display: none;
}

.navigation-button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--iimu-primary-green);
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.navigation-button:hover {
    background: var(--iimu-primary-yellow);
    color: var(--text-dark);
}


/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 1200px) {

    .breadcrumb {
        margin-top: var(--header-total-height);
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        margin-top: var(--header-total-height);
    }

    .navigation-info {
        gap: 15px;
    }
    
    /* Timeline responsive */
    .timeline::before {
        left: 16px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        width: 36px;
        height: 36px;
    }
    
    .timeline-marker i {
        font-size: 16px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    table th,
    table td {
        padding: 10px;
    }
}

@media (max-width: 550px) {

    h1 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .breadcrumb {
        margin-top: var(--header-total-height);
    }

    section {
        padding: 15px 0;
    }
    
    .mandatory-section,
    .eligibility-section,
    .application-section {
        padding: 20px 0;
    }
    
    p, li {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .breadcrumb {
        margin-top: var(--header-total-height);
        padding: 8px 0;
        font-size: 12px;
    }

    .overall {
        padding: 15px;
    }

    h2 {
        font-size: 1rem;
    }
    
    /* Timeline for small screens */
    .timeline::before {
        left: 12px;
    }
    
    .timeline-item {
        padding-left: 40px;
        margin-bottom: 25px;
    }
    
    .timeline-marker {
        width: 28px;
        height: 28px;
    }
    
    .timeline-marker i {
        font-size: 14px;
    }
    
    .timeline-content {
        padding: 12px;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }

    .mandatory-section,
    .eligibility-section,
    .application-section {
        padding: 15px 0;
    }

    table {
        font-size: 11px;
    }

    th, td {
        padding: 8px 5px;
    }

    .navigation-section {
        padding: 30px 15px;
    }

    .navigation-info {
        padding: 15px;
    }

    .navigation-button {
        padding: 10px 16px;
        font-size: 13px;
    }
}
