/* =========================================================
   TPMDC 2026 - Main Stylesheet
   File: css/style.css
========================================================= */


/* =========================
   RESET
========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

body{

    font-family: 'Roboto', sans-serif;

    background-image: url('../images/background.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    min-height: 100vh;

    position: relative;
}


/* =========================
   OVERLAY
========================= */

.overlay{

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(15, 25, 45, 0.40);

    z-index: -1;
}


/* =========================
   MAIN CONTAINER
========================= */

.container{

    width: 84%;

    margin: 25px auto;

    background: rgba(255,255,255,0.95);

    box-shadow: 0 10px 35px rgba(0,0,0,0.25);

    min-height: 100vh;
}


/* =========================
   HEADER
========================= */

.header{

    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 25px 35px;

    background: white;
}


/* =========================
   LOGOS
========================= */

.logo-left img,
.logo-right img{

    width: 110px;
}


/* =========================
   HEADER TEXT
========================= */

.header-text{

    text-align: center;

    width: 75%;
}


.header-text h1{

    color: #6f93b2;

    font-size: 2rem;

    line-height: 1.4;

    font-weight: 700;
}


.header-text h2{

    margin-top: 12px;

    font-size: 1.25rem;

    color: #222;

    font-weight: 500;
}


/* =========================
   NAVBAR
========================= */

.navbar{

    background: #6f93b2;
}


.navbar ul{

    list-style: none;

    display: flex;

    width: 100%;

    margin: 0;

    padding: 0;

    align-items: stretch;
}


.navbar ul li{

    flex: 1;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    border-right: 1px solid rgba(255,255,255,0.15);

    min-height: 74px;
}


.navbar ul li:last-child{

    border-right: none;
}


.navbar ul li a{

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    width: 100%;

    height: 100%;

    padding: 14px 12px;

    color: white;

    text-decoration: none;

    font-size: 0.95rem;

    font-weight: 500;

    line-height: 1.35;

    transition: 0.3s;
}


.navbar ul li a:hover{

    background: #3f5a87;
}
/* =========================
   CONTENT WRAPPER
========================= */

.content-wrapper{

    display: flex;

    min-height: 700px;
}


/* =========================
   SIDEBAR
========================= */

.sidebar{

    width: 25%;

    background: #f5f7fb;

    border-right: 1px solid rgba(0,0,0,0.08);

    padding: 35px 25px;
}


/* =========================
   SIDEBAR BOX
========================= */

.sidebar-box h3{

    color: #6f93b2;

    font-size: 1.4rem;

    margin-bottom: 25px;

    border-bottom: 2px solid #6f93b2;

    padding-bottom: 10px;
}


.sidebar-box ul{

    list-style: none;
}


.sidebar-box ul li{

    margin-bottom: 18px;
}


.sidebar-box ul li a{

    text-decoration: none;

    color: #333;

    font-size: 1rem;

    font-weight: 500;

    transition: 0.3s;
}


.sidebar-box ul li a:hover{

    color: #6f93b2;

    padding-left: 6px;
}


/* =========================
   MAIN CONTENT
========================= */

.main-content{

    width: 75%;

    padding: 40px 45px;
}


/* =========================
   PAGE TITLE
========================= */

.page-title{

    color: #6f93b2;

    font-size: 2rem;

    margin-bottom: 30px;

    border-bottom: 2px solid #6f93b2;

    padding-bottom: 10px;
}


/* =========================
   PARAGRAPHS
========================= */

.main-content p{

    font-size: 1.05rem;

    line-height: 2;

    color: #333;

    text-align: justify;

    margin-bottom: 25px;
}


/* =========================
   HIGHLIGHT BOX
========================= */

.highlight-box{

    margin-top: 45px;

    background: #eef3fb;

    border-left: 6px solid #6f93b2;

    padding: 25px 30px;
}


.highlight-box h3{

    color: #6f93b2;

    margin-bottom: 20px;

    font-size: 1.4rem;
}


.highlight-box ul{

    padding-left: 22px;
}


.highlight-box ul li{

    margin-bottom: 12px;

    line-height: 1.8;

    color: #333;
}


/* =========================
   ORGANISER
========================= */

.organiser{

    text-align: center;

    margin-top: 55px;

    padding-top: 30px;

    border-top: 1px solid rgba(0,0,0,0.08);
}


.organiser h3{

    color: #6f93b2;

    font-size: 1.7rem;

    margin-bottom: 20px;
}


.organiser p{

    margin-bottom: 8px;

    color: #333;

    font-weight: 500;
}


/* =========================
   FOOTER
========================= */

.footer{

    background: #6f93b2;

    color: white;

    padding: 18px 35px;
}


.footer-content{

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;
}


.footer p{

    font-size: 0.95rem;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width: 1100px){

    .content-wrapper{

        flex-direction: column;
    }

    .sidebar,
    .main-content{

        width: 100%;
    }
}


@media(max-width: 850px){

    .header{

        flex-direction: column;

        gap: 20px;
    }

    .header-text{

        width: 100%;
    }

    .header-text h1{

        font-size: 1.5rem;
    }

    .header-text h2{

        font-size: 1rem;
    }

    .navbar ul{

        flex-direction: column;
    }

    .navbar ul li{

        border-right: none;

        border-bottom: 1px solid rgba(255,255,255,0.10);
    }
}


@media(max-width: 700px){

    .container{

        width: 96%;
    }

    .main-content{

        padding: 30px 25px;
    }

    .sidebar{

        padding: 30px 20px;
    }

    .page-title{

        font-size: 1.6rem;
    }
}

.organiser-links{

    text-align: center;

    line-height: 2;
}


.organiser-links a{

    color: #444;

    text-decoration: none;

    font-weight: 500;

    transition: 0.3s;
}


.organiser-links a:hover{

    color: #b85c38;
}

/* =========================================
   THEMES PAGE
========================================= */

.theme-box{

    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 30px;

    padding: 22px;

    background: #f7f9fc;

    border-left: 5px solid #6f93b2;

    transition: 0.3s;
}


.theme-box:hover{

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


.alternate-theme{

    background: #eef3fb;
}


.theme-image img{

    width: 120px;

    height: 140px;

    object-fit: cover;

    border-radius: 6px;

    margin-top: 5px;
}


.theme-content{

    flex: 1;
}


.theme-content h3{

    color: #6f93b2;

    margin-bottom: 15px;

    line-height: 1.5;
}


.theme-content p{

    margin-bottom: 0;

    line-height: 1.9;
}


.theme-note{

    margin-top: 40px;

    padding: 18px 22px;

    background: #fff4e8;

    border-left: 5px solid #d98b3a;
}


.theme-note p{

    margin-bottom: 0;
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 900px){

    .theme-box{

        flex-direction: column;
    }

    .theme-image img{

        width: 100%;

        height: auto;
    }
}

/* =========================================
   COMMITTEE PAGE
========================================= */

.committee-section{

    margin-bottom: 60px;
}


.committee-heading{

    color: #6f93b2;

    font-size: 1.7rem;

    margin-bottom: 30px;

    padding-bottom: 10px;

    border-bottom: 2px solid #dce4f2;
}


/* GRID */

.committee-grid{

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 30px;
}


/* LEADERSHIP */

.leadership-grid{

    grid-template-columns: repeat(auto-fit, minmax(250px, 280px));

    justify-content: center;

    gap: 40px;
}

/* CARD */

.committee-card{

    background: white;

    border-radius: 14px;

    padding: 28px 22px;

    text-align: center;

    box-shadow: 0 8px 24px rgba(0,0,0,0.08);

    transition: 0.35s;

    border-top: 5px solid #6f93b2;
}


.committee-card:hover{

    transform: translateY(-6px);

    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}


/* IMAGE */

.committee-card img{

    width: 140px;

    height: 140px;

    object-fit: cover;

    border-radius: 50%;

    margin-bottom: 18px;

    border: 5px solid #eef3fb;
}


/* TITLE */

.committee-card h3{

    color: #6f93b2;

    font-size: 1.05rem;

    margin-bottom: 12px;
}


/* NAME LINK */

.committee-card a{

    display: block;

    text-decoration: none;

    color: #333;

    font-size: 1.05rem;

    font-weight: 600;

    line-height: 1.6;

    transition: 0.3s;
}


.committee-card a:hover{

    color: #b85c38;
}


/* INSTITUTE */

.committee-card p{

    margin-top: 10px;

    margin-bottom: 0;

    color: #666;

    font-size: 0.95rem;

    line-height: 1.6;

    text-align: center;
}

.leadership-grid .committee-card{

    padding: 35px 28px;
}


.leadership-grid .committee-card img{

    width: 165px;

    height: 165px;
}


.leadership-grid .committee-card a{

    font-size: 1.2rem;
}


.leadership-grid .committee-card h3{

    font-size: 1.2rem;
}

/* =========================================
   CALL FOR PAPERS
========================================= */

.cfp-container{

    width: 100%;
}


.cfp-intro,
.cfp-ending{

    font-size: 1.08rem;

    line-height: 2.1;

    color: #444;

    margin-bottom: 40px;

    text-align: justify;
}


/* MAIN BOX */

.cfp-box{

    background: #f9fbfe;

    padding: 40px 45px;

    border-radius: 14px;

    border: 1px solid #e2e8f3;

    margin-bottom: 45px;
}


/* HEADING */

.cfp-box h3{

    color: #6f93b2;

    font-size: 1.7rem;

    margin-bottom: 35px;
}


/* OL */

.cfp-box ol{

    padding-left: 24px;
}


/* EACH POINT */

.cfp-box ol > li{

    margin-bottom: 35px;

    line-height: 2;

    color: #333;

    padding-left: 8px;
}


/* SUB UL */

.cfp-box ul{

    margin-top: 18px;

    padding-left: 25px;
}


.cfp-box ul li{

    margin-bottom: 14px;

    line-height: 1.9;
}


/* LINKS */

.cfp-box a{

    color: #444;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;
}


.cfp-box a:hover{

    color: #b85c38;
}

/* =========================================
   CONTACT PAGE
========================================= */

.contact-container{

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 35px;
}


.contact-card{

    background: #f9fbfe;

    border: 1px solid #e2e8f3;

    border-radius: 14px;

    padding: 35px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}


.contact-card h3{

    color: #6f93b2;

    font-size: 1.5rem;

    margin-bottom: 22px;
}


.contact-card p{

    line-height: 2;

    margin-bottom: 18px;

    color: #444;

    text-align: left;
}


.contact-card a{

    color: #444;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;
}


.contact-card a:hover{

    color: #b85c38;
}


/* MAP */

.map-box{

    margin-top: 35px;
}


.map-box img{

    width: 230px;

    max-width: 100%;

    border-radius: 10px;

    border: 1px solid #dce4f2;

    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}


/* FORM */

.contact-form{

    display: flex;

    flex-direction: column;
}


.contact-form label{

    color: #333;

    font-weight: 600;

    margin-bottom: 8px;
}


.contact-form input,
.contact-form textarea{

    width: 100%;

    padding: 12px 14px;

    margin-bottom: 20px;

    border: 1px solid #ccd6e6;

    border-radius: 8px;

    font-family: inherit;

    font-size: 1rem;

    outline: none;
}


.contact-form textarea{

    min-height: 130px;

    resize: vertical;
}


.contact-form input:focus,
.contact-form textarea:focus{

    border-color: #6f93b2;

    box-shadow: 0 0 0 3px rgba(81,110,158,0.12);
}


.contact-form button{

    background: #6f93b2;

    color: white;

    border: none;

    padding: 13px 24px;

    border-radius: 8px;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}


.contact-form button:hover{

    background: #3f5a87;
}


#contact-note{

    display: none;

    margin-top: 20px;

    font-size: 0.95rem;

    line-height: 1.8;

    color: #555;

    text-align: left;
}

.map-box img{

    width: 230px;

    max-width: 100%;

    border-radius: 10px;

    border: 1px solid #dce4f2;

    box-shadow: 0 6px 18px rgba(0,0,0,0.12);

    transition: 0.35s ease;
}


.map-box img:hover{

    transform: translateY(-5px) scale(1.03);

    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* =========================================
   SPONSORSHIP PAGE
========================================= */

.sponsorship-container{

    width: 100%;
}


.sponsorship-container p{

    font-size: 1.06rem;

    line-height: 2.05;

    color: #333;

    text-align: justify;

    margin-bottom: 28px;
}


.sponsor-highlight{

    margin-top: 55px;

    padding: 45px 30px;

    text-align: center;

    background: #f9fbfe;

    border: 1px solid #e2e8f3;

    border-radius: 14px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}


.sponsor-highlight h3{

    color: #6f93b2;

    font-size: 1.9rem;

    margin-bottom: 25px;
}


.sponsor-highlight p{

    text-align: center;

    color: #b85c38;

    font-size: 1.5rem;

    font-weight: 600;

    margin-bottom: 0;
}

/* =========================================
   GALLERY PAGE
========================================= */

.gallery-wrapper{

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 35px;
}


.gallery-card{

    background: #f9fbfe;

    border: 1px solid #dce4f2;

    border-radius: 14px;

    padding: 25px;

    text-align: center;

    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}


.gallery-card h3{

    color: #6f93b2;

    margin-top: 18px;

    margin-bottom: 12px;
}


.gallery-card a{

    text-decoration: none;

    color: #444;

    font-weight: 600;

    transition: 0.3s;.navbar ul{

    display: flex;

    justify-content: center;

    align-items: stretch;

    flex-wrap: wrap;

    margin: 0;

    padding: 0;

    list-style: none;
}


.navbar ul li{

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    min-height: 74px;

    flex: 1;
}


.navbar ul li a{

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    width: 100%;

    height: 100%;

    padding: 14px 16px;

    line-height: 1.35;
}
}


.gallery-card a:hover{

    color: #b85c38;
}



/* =========================================
   SLIDESHOW
========================================= */

.slideshow-box{

    width: 100%;

    height: 420px;

    overflow: hidden;

    border-radius: 12px;

    background: #eef3fb;

    display: flex;

    align-items: center;

    justify-content: center;
}


.slideshow-box img{

    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    object-fit: contain;

    display: none;
}



/* =========================================
   POPUP
========================================= */

.gallery-modal{

    display: none;

    position: fixed;

    z-index: 9999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    overflow-y: auto;

    background: rgba(0,0,0,0.82);

    padding: 60px 20px;
}


.gallery-modal-content{

    background: white;

    margin: auto;

    max-width: 1250px;

    border-radius: 14px;

    padding: 35px;

    position: relative;
}


.gallery-modal-content h2{

    color: #6f93b2;

    margin-bottom: 30px;

    text-align: center;
}



/* CLOSE BUTTON */

.close-btn{

    position: absolute;

    top: 15px;
    right: 25px;

    font-size: 38px;

    cursor: pointer;

    color: #333;
}


.close-btn:hover{

    color: #b85c38;
}



/* =========================================
   PHOTO GRID
========================================= */

.photo-grid{

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 18px;
}


.photo-grid img{

    width: 100%;

    height: 180px;

    object-fit: cover;

    border-radius: 10px;

    transition: 0.3s;
}


.photo-grid img:hover{

    transform: scale(1.03);
}

/* =========================================
   STUDENT SUB-COMMITTEES
========================================= */

.student-committee-section{
    margin-top: 70px;
}

.student-overall-box,
.subcommittee-card{
    background: #f9fbfe;
    border: 1px solid #e2e8f3;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 35px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.student-overall-box h3,
.subcommittee-card h3{
    color: #6f93b2;
    font-size: 1.45rem;
    margin-bottom: 25px;
    text-align: center;
}

.role-block{
    margin-top: 30px;
}

.role-block h4{
    color: #b85c38;
    font-size: 1.05rem;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8f3;
    padding-bottom: 8px;
}

.student-mini-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 190px));
    gap: 24px;
    justify-content: center;
}

.student-card{
    background: white;
    border-radius: 14px;
    padding: 20px 14px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: 0.35s;
    border-top: 5px solid #6f93b2;
    width: 100%;
    max-width: 190px;
    margin: 0 auto;
}

.student-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

.student-card img{
    width: 95px;
    height: 95px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 14px;
    border: 4px solid #eef3fb;
}

.student-card h4{
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* =========================================
   ACCOMMODATION PAGE
========================================= */

.accommodation-box{

    background: #f9fbfe;

    border: 1px solid #e2e8f3;

    border-radius: 14px;

    padding: 35px;

    margin-bottom: 40px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}


.accommodation-box h3{

    color: #6f93b2;

    font-size: 1.6rem;

    margin-bottom: 20px;

    text-align: center;
}


.accommodation-box p{

    line-height: 2;

    color: #444;

    margin-bottom: 30px;

    text-align: justify;
}



/* TABLE */

.hotel-table-wrapper{

    overflow-x: auto;
}


.hotel-table{

    width: 100%;

    border-collapse: collapse;

    background: white;
}


.hotel-table th{

    background: #6f93b2;

    color: white;

    padding: 16px;

    text-align: left;

    font-weight: 600;
}


.hotel-table td{

    padding: 16px;

    border-bottom: 1px solid #e2e8f3;

    color: #444;
}


.hotel-table tr:hover{

    background: #f5f8fc;
}


.hotel-table a{

    text-decoration: none;

    color: #444;

    font-weight: 600;

    transition: 0.3s;
}


.hotel-table a:hover{

    color: #b85c38;
}



/* ANNOUNCEMENT */

.announcement-box{

    text-align: center;

    color: #b85c38;

    font-size: 1.5rem;

    font-weight: 600;

    padding: 40px 20px;
}

/* =========================================
   IMPORTANT DATES
========================================= */

.important-dates-box{

    background: #f9fbfe;

    border: 1px solid #e2e8f3;

    border-radius: 14px;

    padding: 40px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}


.important-dates-table{

    width: 100%;

    border-collapse: collapse;
}


.important-dates-table tr{

    border-bottom: 1px solid #edf1f7;
}


.important-dates-table tr:last-child{

    border-bottom: none;
}


.important-dates-table td{

    padding: 18px 10px;

    font-size: 1.08rem;

    color: #333;
}


.important-dates-table td:first-child{

    font-weight: 600;

    color: #6f93b2;

    width: 45%;
}


.important-dates-table td:nth-child(2){

    width: 20px;

    text-align: center;

    font-weight: 600;
}


.important-dates-table td:last-child{

    font-weight: 500;
}



/* MOBILE */

@media (max-width: 768px){

    .important-dates-box{

        padding: 25px;
    }

    .important-dates-table td{

        font-size: 0.95rem;

        padding: 14px 6px;
    }
}