/* Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

/* Header */
header,
.site-header {
  background-color: #1e2a38;
  color: white;
  text-align: center;
  padding: 30px 20px;
}
header h1 {
  margin: 0;
  font-size: 2.2em;
}
.tagline {
  font-size: 1.1em;
  color: #ccc;
  margin-top: 8px;
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
}
.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.intro {
  max-width: 700px;
}
.intro h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}
.intro a,
.contact-links a {
  color: #0077b5;
  text-decoration: none;
  margin-right: 15px;
}
.contact-links a:hover {
  text-decoration: underline;
}

/* Topics Section */
.topics {
  padding: 40px 20px;
  text-align: center;
}
.topics h2 {
  font-size: 1.6em;
  margin-bottom: 30px;
}

/* Cards Layout */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
.card {
  background-color: #fff;
  border-left: 6px solid #0077b5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  width: 300px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border-radius: 8px;
}
.card:hover {
  background-color: #f0f0f0;
  transform: scale(1.03);
}
.card strong {
  font-size: 1.2em;
}
.aws { border-left-color: #ff9900; }
.linux { border-left-color: #333; }
.devops { border-left-color: #0077b5; }

/* Summary Box */
.summary-box {
  display: none;
  margin-top: 15px;
  background-color: #eef;
  padding: 15px;
  border-left: 4px solid #0077b5;
  border-radius: 6px;
  text-align: left;
}
.summary-box ul {
  padding-left: 20px;
  margin: 0 0 10px 0;
}
.summary-box li {
  margin-bottom: 8px;
}
.summary-box a {
  display: inline-block;
  margin-top: 10px;
  color: #0077b5;
  text-decoration: none;
  font-weight: bold;
}
.summary-box a:hover {
  text-decoration: underline;
}

/* Learning List (used in topic pages) */
.learning-list {
  list-style: none;
  padding: 30px;
  max-width: 700px;
  margin: auto;
}
.learning-list li {
  background-color: #fff;
  margin-bottom: 10px;
  padding: 15px;
  border-left: 5px solid #0077b5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.learning-list li:hover {
  background-color: #e0e0e0;
}
.tool-info {
  display: none;
  background-color: #eef;
  padding: 10px 15px;
  margin-top: 8px;
  border-left: 4px solid #0077b5;
  font-size: 0.95em;
  border-radius: 5px;
}

/* Footer */
footer,
.site-footer {
  background-color: #1e2a38;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.95em;
}