/* Reset */
* {
  margin: 20;
  padding: 10;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
}

/* Body */
body {
  background: #f8fbff;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}
/* ========================
   Site Header
   ======================== */
.site-header {
  background-color: #0077b6; /* blue */
  color: #fff;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: flex;
  align-items: center;
  top: 20px;
  z-index: 1000;
}

/* Container to align logo and nav */
.site-header .container {
  margin: auto;
  padding: 0px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  height: 50px;          /* adjust logo height */
  width: auto;           /* keep proportions */
  
}

.logo a {
  display: inline-block;
  text-decoration: none;
  
}

/* Navigation Menu */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav li a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

/* Hover effect */
.main-nav li a:hover {
  color: #bfbfbf; /* highlight */
}

/* Active page highlight */
.main-nav li a.active {
  background-color: #ffffff; /* yellow highlight */
  color: #023e8a;
}



/* Header */
header {
  background: #bfbfbf;
  color: rgb(0, 0, 0);
  padding: 10px;
  text-align: center;
  border-radius: 0px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* Intro */
.intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.intro a {
  color: #0077b6;
  text-decoration: none;
  font-weight: bold;
}
.intro a:hover {
  text-decoration: underline;
}

/* Section headings */
h2 {
  color: #023e8a;
  margin-bottom: 15px;
  font-size: 1.4rem;
  border-left: 6px solid #0077b6;
  padding-left: 10px;
}

/* =======================
   COURSE LISTS (hoverable)
   ======================= */
.course-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 40px;
}

.course-list li {
  background: #e6f3ff;
  margin: 8px 0;
  padding: 12px 15px;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.3s ease;
  cursor: pointer;
}

.course-list li:hover {
  background: #caf0f8;
  transform: translateX(5px);
}


/* =======================
   DEFINITIONS & BONES LIST
   ======================= */
.definition-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 40px;
}

.definition-list li {
  background: #ebeef2;
  padding: 12px 15px;
}

/* Style for term names */
.term {
  font-weight: bold;
  color: #222; /* darker than normal text */
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  padding: 15px;
  font-size: 0.9rem;
  color: #555;
}
.course-list li a {
  color: #023e8a;             /* your preferred color */
  text-decoration: none;      /* no underline */
  font-weight: 500;
}

/* Keep same color after visiting */
.course-list li a:visited {
  color: #023e8a;             /* same color as normal */
  text-decoration: none;
}

/* Hover style (optional: darker blue or same) */
.course-list li a:hover {
  color: #023e8a;             /* or a darker shade if you want */
  text-decoration: none;
}

/* Active (while clicking) */
.course-list li a:active {
  color: #023e8a;
  text-decoration: none;
}
/* FORCE course list links to stay same color and no underline */
.course-list li a,
.course-list li a:visited,
.course-list li a:hover,
.course-list li a:active {
  color: #023e8a !important;       /* or #0077b6 to match header */
  text-decoration: none !important;
}
/* =======================
   ABOUT PAGE
   ======================= */
.about {
  max-width: 800px;      /* limit width for better readability */
  margin: 0 auto;        /* center the section */
  padding: 20px;
  background: #e6f3ff;   /* light background */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.about h1 {
  text-align: center;
  color: #023e8a;
  margin-bottom: 20px;
}
.about p {
  line-height: 1.6;
  margin-bottom: 15px;
}

/* =======================
   VIDEO PAGE
   ======================= */
.video-container {
  max-width: 800px;      /* limit width for better readability */

  margin: 0 auto;        /* center the section */
  padding: 20px;
  background: #e6f3ff;   /* light background */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}
.video-container h1 {
  color: #023e8a;
  margin-bottom: 20px;
}
.video-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 8px;
}
/* Responsive Design for video */
@media (max-width: 768px) {
  .video-container iframe {
    height: 250px;
  }
}
/* =======================
   ADDITIONAL STYLES
   ======================= */
/* Links in paragraphs */
a {
  color: #0077b6;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
/* Lists */
ul, ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
li {
  margin-bottom: 10px;
}
/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
th {
  background-color: #f2f2f2;
}
/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}
/* Blockquotes */
blockquote {
  border-left: 4px solid #0077b6;
  padding-left: 15px;
  color: #555;
  margin: 20px 0;
  font-style: italic;
}
/* Code blocks */
pre {
  background: #f4f4f4;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
}

code {
  background: #eaeaea;
  padding: 2px 4px;
  border-radius: 4px;
  font-family: monospace;
}
/* Forms */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
input:focus, textarea:focus, select:focus {
  border-color: #0077b6;
  outline: none;
}
button {
  background: #0077b6;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #005f87;
}
