

/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: "Georgia", serif;
    background: #f7f5f2;
    color: #222;
}

/* ===== HEADER ===== */
header {
    background: #8b1e1e;
    color: white;
    padding: 10px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-left img {
    height: 50px;
    background: white;
    padding: 3px;
    border-radius: 4px;
}

.header-text h2 {
    margin: 0;
    font-size: 1.1rem;
}

.header-text p {
    margin: 0;
    font-size: 0.8rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 0.9rem;
}

/* ===== HERO ===== */
.hero {
    background:
        linear-gradient(rgba(100,20,20,0.65), rgba(100,20,20,0.65)),
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.15) 0px,
            rgba(255,255,255,0.15) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.15) 0px,
            rgba(255,255,255,0.15) 1px,
            transparent 1px,
            transparent 40px
        );

    background-color: #8b1e1e;
    text-align: center;
    color: white;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    margin: 5px 0;
}

/* ===== SECTION ===== */
.section {
    padding: 40px 6%;
}

.section h2 {
    color: #8b1e1e;
    border-bottom: 2px solid #8b1e1e;
    display: inline-block;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* ===== SPEAKERS ===== */
.speakers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    text-align: center;
}

.img-box {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
}

.img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== CARD ===== */
.card {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
}

/* ===== FOOTER ===== */
footer {
    background: #8b1e1e;
    color: white;
    padding: 20px 6%;
}

/* ===== BUTTON ===== */
button {
    background: #8b1e1e;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.reg-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.qr-box {
    text-align: center;
}

.qr-box img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 4px solid #eee;
    padding: 5px;
    background: white;
}

.download-btn {
    background: #555;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .reg-container {
        grid-template-columns: 1fr;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

.schedule-table{
    overflow-x:auto;
    margin-top:30px;
}

.schedule-table table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    min-width:1000px;
}

.schedule-table th,
.schedule-table td{
    border:1px solid #333;
    padding:14px 10px;
    text-align:center;
    vertical-align:middle;
    font-size:15px;
    line-height:1.5;
}

.schedule-table th{
    background:#f3f3f3;
    font-weight:700;
}

.break-cell{
    writing-mode:vertical-rl;
    text-orientation:mixed;
    font-weight:bold;
    letter-spacing:2px;
    background:#fafafa;
}

.topics-table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
}

.topics-table th,
.topics-table td{
    border:1px solid #ddd;
    padding:14px;
    vertical-align:top;
    text-align:left;
    line-height:1.6;
}

.topics-table th{
    background:#f4f4f4;
    font-weight:700;
}

.topics-table ul{
    margin-top:8px;
    padding-left:20px;
}

.topics-table td:last-child{
    width:120px;
    text-align:center;
    font-weight:bold;
    white-space:nowrap;
}

#detailed-schedule{
    background:#f9f9f9;
}

.schedule-day{
    background:#fff;
    padding:25px;
    margin-bottom:30px;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.schedule-day h3{
    margin-bottom:20px;
    color:#1d3557;
}

.schedule-item{
    display:flex;
    gap:20px;
    padding:14px 0;
    border-bottom:1px solid #e5e5e5;
}

.schedule-item:last-child{
    border-bottom:none;
}

.time{
    min-width:170px;
    font-weight:bold;
    color:#0d6efd;
}

.schedule-item div{
    line-height:1.6;
}

@media(max-width:768px){

    .schedule-item{
        flex-direction:column;
        gap:6px;
    }

    .time{
        min-width:auto;
    }

}
