body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  transition: top 0.3s;
  z-index: 1000;
}


.sidebar {
  background-color: white;
}

.tabs > .tab-content {
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .navbar {
    font-size: 0.9rem;
  }
  .tabs > .tab-content {
    padding: 0.5rem;
  }
}

.sidebar-extra {
  margin-top: 2rem;
  font-size: 0.9em;
}
.sidebar-extra h5 {
  margin-bottom: 0.5rem;
}
.sidebar-extra ul {
  padding-left: 1.2rem;
}

.hanging-indent {
    padding-left: 2em;
    text-indent: -2em;
    margin-bottom: 0.5em;
}


.column-margin {
  background-color: transparent !important;
}

/* Custom TOC styling */
#TOC {
  background: #f8f9fa;  /* Light gray */
  border-left: 3px solid #3498db;  /* Blue accent */
  padding: 1em;
  border-radius: 5px;
}

/* Change TOC links */
#TOC a {
  color: #2c3e50;  /* Dark blue-gray */
}

#TOC a:hover {
  color: #e74c3c;  /* Red on hover */
}


/* style.css */
.reveal h1 {
  font-size: 1.8em;
}

.reveal h2 {
  font-size: 1.5em;
}

.reveal h3 {
  font-size: 1.2em;
}


.smaller0 {
  font-size: 0.95em;
}

.smaller1 {
  font-size: 0.9em;
}

.smaller2 {
  font-size: 0.85em;
}

.smaller3 {
  font-size: 0.80em;
}

.smaller4 {
  font-size: 0.75em;
}

.smaller5 {
  font-size: 0.70em;
}


.reveal h1, .reveal h2, .reveal h3 {
  color: #2c3e50;
  text-transform: none !important;
  font-weight: bold;
  text-align: center;
}

.reveal p, .reveal li {
  font-size: 0.9em;
}

.reveal section img {
  border-radius: 12px;
  max-width: 80%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.reveal .footer {
  color: #888;
  font-size: 0.8rem;
}

.img-with-border {
    border: 8px solid white;
    box-shadow: 0 0 0 1px #ccc; /* subtle outer line */
    box-sizing: border-box;
}


/* contact page styles.css */

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(to bottom right, #f0f8ff, #e6f7ff);
  min-height: 90vh;
}

.contact-card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 2rem 3rem;
  max-width: 600px;
  width: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #003366;
}

.contact-card h2 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  color: #005580;
}

.contact-card a {
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.access-note {
  margin-top: 2rem;
  background-color: #e0f7fa;
  padding: 1rem;
  border-left: 5px solid #00acc1;
  font-size: 1.05rem;
  color: #004d40;
  border-radius: 8px;
}


.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: #003366;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  margin-top: 1rem;
  background-color: #0073e6;
  color: white;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #005bb5;
}


/* ========================
   ⚠️ Page Alert Box
======================== */
.course-warning {
  background-color: #fff3cd;
  color: #856404;
  border-left: 6px solid #ffeeba;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.course-warning a {
  color: #d63384;
  font-weight: 500;
  text-decoration: underline;
}

/* ========================
   🔍 Search Box
======================== */
.search-box {
  text-align: center;
  margin-bottom: 1.5rem;
}

.search-box input {
  width: 80%;
  max-width: 400px;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* ========================
   📦 Course Grid Layout
======================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* ========================
   📂 Individual Course Cards
======================== */
.course-category {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.course-category:hover {
  transform: translateY(-5px);
}

.course-category h2 {
  font-size: 1.4rem;
  color: #004085;
  margin-bottom: 1rem;
}

.course-category ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.course-category li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #343a40;
  gap: 1rem;
}

.course-category a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.course-category a:hover {
  text-decoration: underline;
}

/* ========================
   🟡 Coming Soon Badge
======================== */
.badge {
  background-color: #ffc107;
  color: #212529;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 5px;
  margin-left: 0.4rem;
}

/* ========================
   📝 Enroll Buttons
======================== */
.course-category button {
  background-color: orange;
  color: white;
  border: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.course-category button:hover {
  background-color: tomato;
}

/* ========================
   💬 Modal
======================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-content h3 {
  margin-top: 0;
  color: #0056b3;
}

.modal-content .close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

.modal-content .close:hover {
  color: #000;
}

/* ========================
   🔒 Hidden Utility Class
======================== */
.hidden {
  display: none !important;
}


.image-container {
  position: relative;
  /* This is crucial: it defines the containing block */
  width: 100%;
  /* Or a specific width, e.g., 600px */
  /* height: 300px; /* You might want to set a height */
}

