/* Consolidated CSS for Mubadala UI - All Pages */

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  
  margin-bottom:125px!important;
}

/* ===== INDEX.HTML STYLES (Home Page) ===== */
.home-page {
  background-color: #002b4f; /* Dark blue */
  color: white;
  height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heading {
  font-weight: 700;
  color: #FFC72C; /* Yellow */
  font-size: 30px;
}

.subheading {
  font-size: 1.2rem;
  margin-top: 10px;
}

.welcome {
  font-size: 1.5rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.btn-enter {
  background-color: #00B2A9;
  color: white;
  font-weight: 600;
  padding: 12px 45px;
  border-radius: 8px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-enter:hover {
  background-color: #16a085;
}

/* ===== SESSIONS.HTML STYLES (Sessions Page) ===== */
.sessions-page {
  background-color: #f8f9fa; /* Light grey background */
  font-family: Arial, sans-serif;
}

.session-card {
  background-color: #002b4f;
  color: white;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  box-shadow: 4px 4px 14px 0px #00000080;
  
}

.session-card .ask {
  font-size: 0.85rem;
  text-transform: uppercase;
  opacity: 0.8;
  color: #fff;
}

.session-card .title {
  font-size: 1.2rem;
  font-weight: 100;
  margin-top: 5px;
  color: #fff;
}

.session-card .subtitle {
  font-size: 0.95rem;
  margin-top: 2px;
  opacity: 0.9;
  color: #fff;
}

/* Session Link Styles */
.session-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.session-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.session-link:focus {
  outline: 2px solid #f1c40f;
  outline-offset: 2px;
}

.footer-nav {
  background-color: #ffffff;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  /*box-shadow: 0 -4px 12px rgba(0,0,0,0.1);*/
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  height: 100px;
  background-color: #F4F4F4;
}

.footer-nav a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav a i {
  font-size: 1.4rem;
  color: #1abc9c;
}

/* ===== AGENDA.HTML STYLES (Agenda Page) ===== */
.agenda-page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

.agenda-card {
  font-size: 25px;
  font-weight: normal;
  padding-bottom: 50px!important;
  padding-top: 50px!important;
  color: #fff!important;
}
.agenda-header {
  background-color: #052b47;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.agenda-header h2 {
  font-size: 20px;
  font-weight: 100;
}
.agenda-header .underline {
  width: 100px;
  height: 3px;
  background: #FFC72C; /* Gold line */
  margin: 10px auto 0;
}
.agenda-header hr {
  border: 2px solid #d4af37;
  width: 60px;
  margin: 15px auto 0;
}

.agenda-table {
  margin: 30px auto;
  max-width: 800px;
}

.agenda-item {
  border-radius: 12px;
  padding: 15px;
  margin: 10px 0;
  color: #fff;
}

.highlight-yellow {
  background-color: #ffe58f;
  color: #333;

    position: relative;
    height: 65px;
}

.highlight-dark {
  background-color: #052b47;
}

.time-col {
  font-weight: 100;
  width: 30%;
  font-size: 11px;
  
  padding: 15px 5px;
  margin-top: 5px;
}

.discussion-col {
  width: 70%;
}

/* Two-column layout for discussion content with <br> */
.discussion-col br {
  display: none;
}

.discussion-col {
  display: flex;
  font-size: 12px;
  font-weight: 100;
}

.discussion-col strong {
  margin-bottom: 5px;
}

.discussion-col small {
  font-size: 0.8em;
  opacity: 0.8;
  margin-top: 5px;
}

/* Session title and speaker styling - stacked vertically */
.session-title {
  font-size: 12px;
  font-weight: 100;
  line-height: 1.3;
  display: block;
  margin-bottom: 5px;
  color: white;
  width:45%;
  margin-right: 5%;
}

.session-speaker {
  font-size: 12px;
  font-weight: 100;
  opacity: 0.8;
  font-style: normal;
  display: block;
  color: white;
  margin-top: 0;
  width:40%;
  margin-left:10%;
}

.agenda-footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}

.agenda-footer i {
  font-size: 24px;
  color: #052b47;
}
.agenda-table .row {
  padding: 0 10px;
}
/* ===== QUESTION.HTML STYLES (Question Page) ===== */
.question-page {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
}

.question-header {
  background: #002b49; /* Dark Blue */
  color: white;
  text-align: center;
  padding: 40px 20px 20px;
}

.question-header h1 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.question-header .underline {
  width: 100px;
  height: 2px;
  background: #FFC72C; /* Gold line */
  margin: 10px auto 0;
}

.question-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
}

.question-label {
  font-weight: 100;
  font-size: 12px;
  margin-bottom: 5px;
  display: block;
}
.question-label-bold {
  font-weight: 500;
}
.question-label-bold small {
  font-weight: 100;
}
.question-input, .question-textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #000000;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
}

.question-input::placeholder {
  color: #999;
}

.question-button {
  display: inline-block;
  background: #00b8b0;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 100;
  cursor: pointer;
  transition: 0.3s ease;
  float: right;
}

.question-button:hover {
  background: #009e97;
}

.question-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f5f5f5;
  text-align: center;
  padding: 12px;
  border-top: 1px solid #ddd;
}

.question-footer i {
  font-size: 20px;
  display: block;
  margin: auto;
  color: #777;
}

.question-footer span {
  display: block;
  font-size: 0.8rem;
  margin-top: 3px;
  color: #555;
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 576px) {
  /* Home page responsive */
  .heading {
    font-size: 25px;
    font-weight: bold;
  }
  .subheading {
    font-size: 25px;
    font-weight: normal;
  }
  .welcome {
    font-size: 25px;
    font-weight: normal;
    padding-bottom: 50px;
    padding-top: 50px;
  }
  .btn-enter {
    font-size: 25px;
    padding: 5px 25px;
    font-weight: normal;
  }

  /* Sessions page responsive */
  .agenda-card {
    font-size: 25px;
    font-weight: normal;
    padding-bottom: 50px!important;
    padding-top: 50px!important;
    color: #fff!important;
  }
  .session-card {
    padding: 15px;
  }
  .session-card .title {
    font-size: 1.1rem;
  }
  .session-card .subtitle {
    font-size: 0.9rem;
  }

  /* Question page responsive */
  .question-header h1 {
    font-size: 1rem;
  }
  .question-button {
    width: 100px;
    float: right;
  }
}

.footer-nav .home-icon-link {
  color: #71797F;
  font-size: 12px;
  font-weight: 100;
  padding-top: 10px;
}
.footer-nav .home-icon {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .agenda-table {
    margin: 20px 10px;
  }
  
  
  
  .agenda-item {
    margin: 5px 0;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.m-0 {
  margin: 0;
}

/* ===== BOOTSTRAP ICONS SUPPORT ===== */
.bi {
  font-family: "bootstrap-icons";
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ===== FOCUS STATES FOR ACCESSIBILITY ===== */
.btn-enter:focus,
.question-button:focus {
  outline: 2px solid #f1c40f;
  outline-offset: 2px;
}

.question-input:focus,
.question-textarea:focus {
  border-color: #00b8b0;
  box-shadow: 0 0 0 2px rgba(0, 184, 176, 0.2);
}

/* ===== PRINT STYLES ===== */
@media print {
  .footer-nav,
  .question-footer,
  .agenda-footer {
    display: none;
  }
  
  .session-card,
  .agenda-item {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }
}
.discussion-col.headingtxt {
  color: #000;
}
/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  .sessions-page {
    background-color: #1a1a1a;
  }
  
  .agenda-page {
    background-color: #1a1a1a;
  }
  
  .question-page {
    background: #1a1a1a;
    color: #fff;
  }
  .agenda-table{
    color: #fff;
  }
  .agenda-item{
    color: #fff;
  }
  .discussion-col.headingtxt {
    color: #fff;
  }
  .discussion-col.highlight-yellow {
    color: #000;
  }
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#successMessage, #errorMessage {
  margin-top: 20px;
  clear:both;
  color: #fff;
  padding: 10px;
}
#successMessage {
  background-color: #00b8b0;
}
#errorMessage {
  background-color: #dc3545;
}

.highlight-yellow p{
        margin: 0;
    display: inline;
    vertical-align: middle;
    line-height: 12px;
    position: absolute;
    top: 40%;
}

input[type="text"],
textarea {
  font-family: Arial, sans-serif; /* any font you want */
  font-size: 12px;
  color: #000;
}
