/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: white;
    display: block;
    min-height: 100vh;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    padding: 0;
    margin: 0;
}

/* Full-width main container */
.full-width {
    width: 100%;
    background: white;
}

/* Centered content wrapper */
.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
}

/* ========== HEADER GRADIENT ========== */
.header-grad {
    background: linear-gradient(135deg, #0a192f 0%, #0b2b3b 50%, #1a4a6f 100%);
    padding: 2rem 2.5rem 1.8rem 2.5rem;
    color: white;
    position: relative;
    width: 100%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.nust-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    padding: 0.4rem 0rem;
    border-radius: 40px;
}

.nust-logo img {
    height: 5rem;
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
}

.logo-text {
    display: block;
    line-height: 1.3;
    text-align: left;
}

.hec-note {
    font-size: 0.85rem;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-weight: 500;
}

/* ========== TITLE & SUBHEAD (index) ========== */
.main-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0.5rem;
    letter-spacing: -0.5px;
}

.quantum-icon {
    font-size: 2.5rem;
    margin-right: 0.4rem;
    display: inline-block;
}

.subhead {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 0.8rem;
    opacity: 0.9;
    border-left: 4px solid #4fd1c5;
    padding-left: 1rem;
}

.duration-badge {
    display: inline-block;
    background: #ffb347;
    color: #1e2a3a;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-weight: bold;
    margin-top: 1.2rem;
    font-size: 1rem;
}

/* ========== MAIN CONTENT (old .content overridden) ========== */
.content {
    padding: 0; /* overridden by .content-wrapper */
}

/* ========== INDEX‑SPECIFIC STYLES ========== */
.two-columns {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.left-col {
    flex: 1.4;
    min-width: 240px;
}

.right-col {
    flex: 1;
    min-width: 250px;
}

.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0c4e6e;
    border-bottom: 3px solid #4fd1c5;
    display: inline-block;
    margin-bottom: 1rem;
    padding-bottom: 5px;
}

.highlights-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.highlights-list li {
    background: #eef2f9;
    padding: 0.45rem 1rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #0a2b3e;
}

.who-list {
    list-style: none;
    margin-top: 0.5rem;
}

.who-list li {
    margin-bottom: 0.65rem;
    padding-left: 1.5rem;
    position: relative;
}

.who-list li::before {
    content: "⚛️";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
}

.fee-box {
    background: #f0f7fa;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    margin: 1rem 0;
    text-align: center;
}

.fee-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f3b2c;
}

.discount {
    background: #c6f7e5;
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.supervisor-card {
    background: #eef2ff;
    border-left: 6px solid #1e6f5c;
    padding: 1rem 1.3rem;
    border-radius: 20px;
    margin: 1.2rem 0;
}

.supervisor-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0b3b4f;
}

.venue-details {
    background: white;
    border: 1px solid #dce7ef;
    border-radius: 20px;
    padding: 1rem 1.3rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.contact-details {
    margin-top: 1rem;
}


.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 0.8rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0c4e6e;
    color: white;
    border-radius: 30px;
    font-size: 1rem;
}


.deadline {
    background: #fee2b5;
    padding: 0.8rem;
    border-radius: 18px;
    text-align: center;
    font-weight: bold;
    margin: 1rem 0;
    font-size: 1.1rem;
}

.footer-organizer {
    margin-top: 2rem;
    border-top: 1px solid #cbdde9;
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #2c5a6e;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    margin-top: 3rem;
    margin-right: 0;
}

.qr-placeholder {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 6px 12px;
    font-family: monospace;
    font-size: 0.8rem;
}

/* ========== APPLY BUTTON ========== */
.apply-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0c4e6e, #1a6e8f);
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s, background 0.3s;
}

.apply-btn:hover {
    background: linear-gradient(135deg, #1a6e8f, #0c4e6e);
    transform: scale(1.02);
}


/* ========== CURRICULUM‑SPECIFIC STYLES ========== */
.page-title {
    font-size: 2.2rem;
    color: #0c4e6e;
    margin-bottom: 1.5rem;
    border-left: 5px solid #4fd1c5;
    padding-left: 1rem;
}

.intro-text {
    background: #eef2ff;
    padding: 1.2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #1e2a3a;
}

.modules-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.module-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2edf2;
    transition: transform 0.2s, box-shadow 0.2s;
}

.module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.module-header {
    background: linear-gradient(135deg, #0c4e6e, #1a6e8f);
    color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-title {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.module-card.open .module-toggle {
    transform: rotate(180deg);
}

.module-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    overflow-y: auto;
    transition: max-height 0.3s ease-out;
}

.module-card.open .module-content {
    max-height: 800px;
    padding: 1.2rem 1.5rem;
}

.module-content h4 {
    color: #0c4e6e;
    margin: 1rem 0 0.5rem 0;
}

.module-content h4:first-child {
    margin-top: 0;
}

.module-content ul {
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.module-content li {
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.learning-outcomes {
    background: #e9f5fa;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-top: 0.8rem;
}

.back-link {
    margin-top: 2rem;
    text-align: center;
}

.back-link a {
    display: inline-block;
    background: #0c4e6e;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.back-link a:hover {
    background: #1a6e8f;
}

.footer {
    margin-top: 2rem;
    border-top: 1px solid #cbdde9;
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #5f7f95;
}



/* ========== NAVIGATION BAR ========== */
.nav-bar {
    background: #0c4e6e;
    padding: 0.8rem 2.5rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-bottom: 3px solid #4fd1c5;
    width: 100%;
}

.nav-bar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: background 0.3s;
}

.nav-bar a:hover {
    background: rgba(79, 209, 197, 0.3);
}

.nav-bar a.active {
    background: #4fd1c5;
    color: #0a192f;
}





/* ========== PRINT STYLES ========== */
@media print {
    body {
        background: white;
        padding: 0;
        margin: 0;
    }
    .full-width, .content-wrapper {
        margin: 0;
        padding: 0;
    }
    .no-print-bg {
        background: white !important;
    }
    .badge-discount {
        background: #0f3b2c !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .highlight-bar, .header-grad, .contact-card, .supervisor-card {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ========== RESPONSIVE (MOBILE) ========== */
@media (max-width: 750px) {

    
    .contact-item {
        font-size: 0.9rem;
        gap: 8px;
    }
    /*
    .contact-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    } */

    



    .qr-container {
        justify-content: center !important;
        margin-top: 1rem;
        margin-right: 0;
    }
    .content-wrapper {
        padding: 1.5rem;
    }
    .main-title {
        font-size: 2.3rem;
    }
    .header-grad {
        padding: 1.2rem;
    }
    .two-columns {
        flex-direction: column;
    }
    .nav-bar {
        padding: 0.8rem 1.5rem;
        gap: 1rem;
        justify-content: center;
    }
    .page-title {
        font-size: 1.6rem;
    }
    .module-title {
        font-size: 1rem;
    }
    .nust-logo img {
        height: 3rem;
    }
    .logo-text {
        font-size: 1.3rem;
    }
}