/* ==========================================================================
   ICTMBM 2026 — Site styles
   Palette: navy (#1a3a5c) + white, teal accent (#2ba58f), gold accent (#d4a24c)
   ========================================================================== */

:root {
    --navy: #1a3a5c;
    --navy-dark: #12283f;
    --teal: #2ba58f;
    --gold: #d4a24c;
    --off-white: #f7f9fb;
}

/* Navbar height is fixed at 60px (see .navbar-ictmbm below) at every breakpoint,
   so body padding-top must stay in sync with that single value. */
body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #333;
    padding-top: 60px; /* must equal .navbar-ictmbm min-height */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-weight: 700;
}
h5, h6 {
    font-weight: 600;
}
.navbar-brand {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-weight: 700;
}
.btn {
    font-weight: 600;
}

a {
    color: var(--teal);
}
a:hover, a:focus {
    color: var(--navy);
}

ul li, p, table{
    font-size: 16px;
    color: #666;
}

/* ---- Navbar ----
   Height is pinned to a single value (60px) via min-height + explicit
   padding on every child, so it renders identically collapsed or expanded
   and at every breakpoint. body padding-top above must match this value. */
.navbar-ictmbm {
    background-color: var(--navy);
    border: 0;
    border-bottom: 3px solid var(--teal);
    border-radius: 0;
    margin-bottom: 0; /* removes Bootstrap 3's default 20px .navbar margin-bottom */
    min-height: 60px;
}
.navbar-ictmbm .navbar-header {
    min-height: 60px;
}
.navbar-ictmbm .navbar-brand {
    color: #fff;
    font-size: 22px;
    height: 60px;
    padding: 20px 15px;
    line-height: 20px;
}
.navbar-ictmbm .navbar-brand span {
    color: var(--gold);
}
.navbar-ictmbm .navbar-nav > li > a {
    color: #e6ecf2;
    font-weight: 400;
    font-size: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 20px;
}
.navbar-ictmbm .navbar-nav > li > a:hover,
.navbar-ictmbm .navbar-nav > li > a:focus {
    color: #fff;
    background-color: var(--navy-dark);
}
.navbar-ictmbm .navbar-nav > li.active > a {
    color: #fff;
    background-color: var(--teal);
}
.navbar-ictmbm .navbar-toggle {
    border-color: var(--teal);
    margin-top: 13px;
    margin-bottom: 13px;
}
.navbar-ictmbm .navbar-toggle .icon-bar {
    background-color: #fff;
}
.navbar-ictmbm .navbar-toggle:hover,
.navbar-ictmbm .navbar-toggle:focus {
    background-color: var(--navy-dark);
}
@media (max-width: 767px) {
    .navbar-ictmbm .navbar-collapse {
        background-color: var(--navy-dark);
    }
}


/* Responsive: reduce top padding and stack buttons on small screens */
@media (max-width: 767px) {
    .hero-section {
        padding: 45px 0 0;
    }
    .hero-meta-divider {
        display: block;
        margin: 8px 0;
    }
}

/* ---- Buttons ---- */
.btn-teal {
    background-color: var(--teal);
    border-color: var(--teal);
    color: #fff;
}
.btn-teal:hover, .btn-teal:focus {
    background-color: #238975;
    border-color: #238975;
    color: #fff;
}
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #1a1a1a;
}
.btn-gold:hover, .btn-gold:focus {
    background-color: #c08f38;
    border-color: #c08f38;
    color: #1a1a1a;
}
.btn-outline-navy {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.btn-outline-navy:hover, .btn-outline-navy:focus {
    background-color: #fff;
    color: var(--navy);
}
.btn-lg-cta {
    padding: 14px 30px;
    font-size: 17px;
    font-weight: 600;
}

/* ---- Sections ---- */
/* Shared content-width helper: use on the .row (or a wrapping .col) inside
   .container wherever content should be visually narrowed, so every
   narrowed section — on every page — lines up to the exact same width. */
.content-width {
    float: none;
    margin-left: auto;
    margin-right: auto;
}
.content-height{
    min-height: 520px;
}

.section {
    padding: 60px 0;
}
.section-alt {
    /*background-color: var(--off-white);*/
}
.section-title {
    color: var(--navy);
    margin-bottom: 8px;
}
.section-title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin-bottom: 30px;
}

/* ---- Highlight / key-dates / convenor cards ---- */
/* Add .row-flex to any .row of card columns to make the cards equal height
   regardless of content length (flexbox override for Bootstrap 3's default grid). */
.row-flex {
    display: flex;
    flex-wrap: wrap;
}
.row-flex > [class*="col-"] {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.highlight-card {
    background-color: #fff;
    border-top: 4px solid var(--teal);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    padding: 25px 20px;
    margin-bottom: 20px;
    text-align: center;
    flex: 1 1 auto;
}
.row-flex .highlight-card {
    margin-bottom: 0;
}
.highlight-card .glyphicon {
    font-size: 32px;
    color: var(--teal);
    margin-bottom: 12px;
}
.highlight-card h4 {
    color: var(--navy);
}

/* ---- Topics row: vertically center list against image ---- */
.topics-section{
    background-color: var(--off-white);
}
.topics-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* ---- Topics list ---- */
.topics-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.topics-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}
.topics-list li:last-child {
    border-bottom: none;
}
.topics-list li .glyphicon {
    color: var(--gold);
    font-size: 11px;
    margin-right: 10px;
    vertical-align: middle;
}

/* ---- Topics image ---- */
.topics-image-wrap {
    max-width: 380px;
    margin: 0 auto;
    padding: 15px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.topics-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Stack image below list on small screens, keep it contained */
@media (max-width: 767px) {
    .topics-image-wrap {
        margin-top: 30px;
    }
}

/* ---- Panels (navy header) ---- */
.panel-navy {
    border-color: var(--navy);
}
.panel-navy > .panel-heading {
    background-color: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* ---- Page banner (interior pages) ---- */
.page-banner {
    position: relative;
    background-image: url('../../assets/images/ICTMBM-headerimage.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 0;
}
.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 58, 92, 0.82); /* navy overlay, adjust opacity as needed */
}
.page-banner .container {
    position: relative;
    z-index: 2;
}
.page-banner h1 {
    margin: 0;
}
.page-banner .breadcrumb-plain {
    color: #b9c8d8;
}


/* ---- CTA box ---- */
.cta-box {
    background-color: var(--navy);
    color: #fff;
    padding: 60px;
    text-align: center;
    margin-top: 20px;
}
.cta-box p{
    color: #ddd;
    margin-bottom: 30px;
}
.cta-box h3 {
    color: #fff;
    margin-top: 0;
}
.cta-box .text-todo {
    display: block;
    font-size: 14px;
    color: var(--gold);
    margin-top: 10px;
}


/* ---- Tables ---- */
/* ---- Registration Fees Table ---- */
.table-ictmbm-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.table-ictmbm {
    margin-bottom: 0;
}

.table-ictmbm thead th {
    background-color: var(--navy);
    color: #fff;
    border: none;
    padding: 14px 15px;
    font-weight: 600;
    vertical-align: middle;
}

.table-ictmbm tbody td {
    padding: 13px 15px;
    vertical-align: middle;
    border-color: #eee;
    color: #444;
}

.table-ictmbm tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.table-ictmbm tbody tr:hover {
    background-color: #f1f5f9;
}

.table-ictmbm tbody tr td:last-child {
    font-weight: 500;
    color: var(--navy);
}


/* ---- SCHEDULE */
.schedule-day-heading {
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
}
.schedule-day-heading:first-of-type {
    margin-top: 0;
}

.schedule-table-wrap {
    margin-bottom: 10px;
}

/* Increase padding on schedule tables specifically */
.schedule-table-wrap .table-ictmbm tbody td {
    padding: 16px 18px;
}
.schedule-table-wrap .table-ictmbm thead th {
    padding: 16px 18px;
}

/* Break/meal rows: subtle highlight + icon */
.schedule-table-wrap .row-break td {
    background-color: #fdfaf3;
}
.break-icon {
    font-size: 16px;
    margin-right: 6px;
}







/* ---- Footer ---- */
.site-footer {
    background-color: var(--navy-dark);
    color: #ddd;
    padding: 50px 0 20px;
    margin-top: 40px;
}
.site-footer h4 {
    color: #fff;
    margin-bottom: 15px;
}
.site-footer a {
    color: #c9d4de;
}
.site-footer a:hover {
    color: var(--gold);
    text-decoration: none;
}
.footer-links {
    list-style: none;
    padding-left: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.site-footer .copyright {
    font-size: 13px;
    color: #8fa0b2;
}
.site-footer hr {
    border-color: #2a4a6c;
}

/* ---- Misc ---- */
.text-navy { color: var(--navy); }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.bg-todo {
    background-color: #fff3cd;
    border: 1px dashed #d4a24c;
    padding: 2px 6px;
    font-size: 12px;
}



/* ---- ABSTRACT SUBMISSION GUIDELINES ---- */
.guidelines-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.guidelines-list li {
    padding: 8px 0;
    font-size: 15px;
    color: #333;
}
.guidelines-list li .glyphicon {
    color: var(--gold);
    font-size: 11px;
    margin-right: 10px;
    vertical-align: middle;
}




/* ---- LOGISTICS ---- */
.logistics-tabs > li {
    margin-bottom: 8px;
}
.logistics-tabs > li > a {
    border-radius: 6px;
    color: var(--navy);
    font-weight: 600;
    padding: 12px 16px;
    background-color: #f4f6f8;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}
.logistics-tabs > li > a .glyphicon {
    margin-right: 8px;
    color: var(--gold);
}
.logistics-tabs > li > a:hover {
    background-color: #eef2f6;
    border-color: var(--navy);
}
.logistics-tabs > li.active > a,
.logistics-tabs > li.active > a:hover,
.logistics-tabs > li.active > a:focus {
    background-color: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.logistics-tabs > li.active > a .glyphicon {
    color: #fff;
}

/* ---- People cards (Contact Us) ---- */
.people-row {
    margin-top: 25px;
    margin-bottom: 25px;
}
.people-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 25px 20px;
    text-align: center;
    margin-bottom: 25px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.people-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.people-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    display: block;
}
.people-name {
    margin: 0 0 6px;
    font-size: 16px;
}
.people-name a {
    color: var(--navy);
    font-weight: 700;
}
.people-name a:hover {
    color: var(--gold);
    text-decoration: none;
}
.people-dept {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
    min-height: 36px;
}
.people-email {
    font-size: 13px;
    margin-bottom: 0;
}
.people-email .glyphicon {
    color: var(--gold);
    margin-right: 4px;
    font-size: 11px;
}
.people-email a {
    color: #555;
}
.people-email a:hover {
    color: var(--navy);
}

/* ---- Office address block below people cards ---- */
.office-address {
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
}







/* ---- Updated Hero section ---- */
.hero-section {
    background-color: #fff;
    padding: 70px 0 0;
    text-align: center;
}

.hero-title {
    color: var(--navy);
    font-weight: 700;
    font-size: 42px;
    line-height: 1.0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title-main {
    font-weight: 900;
    font-size: 1.2em;
    display: inline-block;
}
.hero-title-sub {
    font-weight: 400;
    display: inline-block;
    font-size: 38px;
}

.hero-meta {
    color: var(--navy);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 35px;
}
.hero-meta .glyphicon {
    margin-right: 6px;
    font-size: 15px;
    color: var(--gold);
}
.hero-meta-divider {
    margin: 0 15px;
    color: #ccc;
}
.hero-buttons {
    margin-bottom: 45px;
}

.hero-buttons .btn {
    display: inline-block;
    margin: 0 8px 15px;
    padding: 13px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    line-height: 1.4;
    vertical-align: middle;
}

.hero-buttons .btn-gold {
    background-color: var(--gold);
    border: 2px solid var(--gold);
    color: #1a1a1a;
}
.hero-buttons .btn-gold:hover,
.hero-buttons .btn-gold:focus {
    background-color: #c9971f;
    border-color: #c9971f;
    color: #1a1a1a;
    text-decoration: none;
}

.hero-buttons .btn-outline-navy {
    background-color: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
}
.hero-buttons .btn-outline-navy:hover,
.hero-buttons .btn-outline-navy:focus {
    background-color: var(--navy);
    border-color: var(--navy);
    color: #fff;
    text-decoration: none;
}

.hero-buttons .btn-outline-navy .glyphicon {
    margin-right: 6px;
    font-size: 14px;
}

.hero-image-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 12px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* ---- Responsive hero title sizing ---- */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }
}
@media (max-width: 991px) {
    .hero-title {
        font-size: 36px;
    }
}
@media (max-width: 767px) {
    .hero-title {
        font-size: 28px;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
}