body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #4d8b31; }

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom: 1.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }
.autoscroll { overflow: hidden; white-space: nowrap; position: relative; width: 80vw; margin: 20px; border-radius: 20px; }
.autoscroll::after { content: ""; width: 80vw; height: 150px; background: linear-gradient(to right, #343a40 0%, transparent 10%, transparent 90%, #343a40 100%); display: flex; position: absolute; top: 0; }
.scroll-container { display: inline-flex; align-items: center; animation: scroll 20s linear infinite; gap: 50px; transform: translateX(100%); justify-content: space-around; padding-right: 50px; }
.autoscroll:hover .scroll-container { animation-play-state: paused; }
.scroll-container img { display: inline-block; margin-right: 10px; height: 150px; background-color: white; border-radius: 20px; padding: 10px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Loading Screen */ 
#loading-screen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: #343a40; display: flex; justify-content: center; align-items: center; z-index: 9999; }
#loader-logo { width: 120px; height: 200px; animation: spin 2s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
#loading-text { font-family: monospace; font-size: 1.5rem; color: #f3f3f3; margin-top: 20px; white-space: nowrap; overflow: hidden; border-right: 2px solid #333; width: 0; animation: typing 2s steps(20, end) infinite alternate; }
@keyframes typing { from { width: 0; } to { width: 26ch; } }
#loading-text::after { content: "|"; animation: blink 0.7s infinite; }
@keyframes blink { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: 0; } }

/* Button Home Page */
.info-button { display: inline-block; background-color: #B1C3D4; color: #ffffff; padding: 1.5vw 4vw; border: 0.2vw solid #B1C3D4; border-radius: 5vw; text-align: center; text-decoration: none; font-family: 'Verdana', sans-serif; font-size: clamp(1rem, 3vw, 5rem); font-weight: 700; transition: background-color 0.3s ease, border-color 0.3s ease; }  
.info-button:hover { background-color: #386081; border-color: #386081; }  
.footer-button { display: inline-block; background-color: #B1C3D4; color: #ffffff; padding: 1.1vw 1vw; border: 0.2vw solid #B1C3D4; border-radius: 5vw; text-align: center; transition: background-color 0.3s ease, border-color 0.3s ease; gap: 30px }  
.footer-button:hover { background-color: #386081; border-color: #386081; }  

/* Boxed Paragraphs */
.boxed-section {background-color: #87ca68;
    border-radius: 20px;
    padding: 20px;
    margin: 20px auto;
    border-radius: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    width: 95%; 
    max-height: 3000px;
    box-sizing: border-box;
    gap: 20px;
    align-items: center;}
.boxed-section img {max-width: 300px; width: 100%;border-radius: 10px;}
.boxed-text {flex: 1;min-width: 250px;text-align: center;}
  
/* Responsive tweaks */
@media (max-width: 768px) {.boxed-section {flex-direction: column;text-align: center;}}

/* White bubble styling for content sections in Description page*/
.bubble {
    background: #ffffff;
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(13, 38, 76, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
  }
  
  .bubble h2 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  .refs {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .refs li {
    padding: 6px 0;
    border-top: 1px dashed #e5e7eb;
  }

  /* ====== Education & Outreach Section Styling ====== */

/* Section headers */
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #4d8b31; /* deep science blue */
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid #44220d;
  padding-bottom: 0.4rem;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #44220d;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
}

/* Paragraphs */
.education-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

/* Card-style containers */
.education-card {
  background-color: #f9fbfd;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.education-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Highlight important words */
.education-section strong {
  color: #003366;
}

.education-section em {
  color: #cc3300;
  font-style: italic;
}

/* Divider lines */
.education-section hr {
  border: none;
  border-top: 2px solid #e0e6ed;
  margin: 1.5rem 0;
}

/* Add spacing inside Bootstrap columns */
.education-section .col {
  padding-left: 1rem;
  padding-right: 1rem;
}

