/* Reset and base styles */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(120deg, #0f2027 0%, #2c5364 100%);
  color: #e6f7f7;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 32px auto;
  padding: 28px;
}

.nav-container {
  margin: 40px auto;
  background: rgba(44, 83, 100, 0.6);
  border-radius: 30px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(12px);
}

/* Font Awesome styling */
/* Icon style helper */
.fa-solid {
  color: #00fff7;
  text-shadow: 0 0 8px #00fff780;
}

/* Headings */
h1, h2, h3 {
  color: #e6f7f7;
  margin: 0 0 10px 0;
}
h1 {
  color: #00fff7;
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
h2 {
  font-size: 1.25rem;
}
h3 {
  font-size: 1rem;
}

/* Paragraphs */
p {
  margin: 0 0 12px 0;
  color: #dfeef0;
  line-height: 1.6;
}

.date {
  text-align: center;
  color: #c6ffff;
  font-size: 0.95rem;
  margin-top: 18px;
}

/* Links */
a {
  color: #00fff7;
  transition: color 0.2s, text-shadow 0.2s;
  font-size: 1.2rem;
  text-shadow: 0 0 8px #00fff780;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 16px #00fff7, 0 0 32px #00fff780;
  text-decoration: underline;
}

/* Buttons */
button,
.btn {
  background: linear-gradient(90deg, #00fff7, #2c5364);
  color: #072324;
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 255, 247, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s;
}

button:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 255, 247, 0.14);
}

button:active,
.btn:active {
  transform: scale(0.98);
  box-shadow: 0 0 16px #00fff780;
}

/* Header */
.site-header {
  text-align: center;
  padding: 26px 0 8px 0;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.tagline {
  color: #c6ffff;
  margin-top: 6px;
  font-size: 0.95rem;
}
.site-footer {
  text-align: center;
  padding: 18px 8px;
  color: #9feeee;
  opacity: 0.9;
  border-top: 1px solid rgba(0, 255, 247, 0.08);
  margin-top: 32px;
}

/* Navigation */

.nav-ulist .nav-list{
  list-style-type: none;
  margin-bottom: 10px;
  padding: 0;
  float: left;
  border-right: 2px solid #bbbbbb;
  color: black; 
  text-shadow: none; 
  text-rendering: geometricPrecision;
  text-decoration-line: none;
}

.nav-ulist .nav-list:last-child {
  border-right: none;
}

.nav-ulist .nav-list:first-child {
  border-left: 2px solid #bbbbbb;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 780px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.modules-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        margin-top: 24px;
      }

      .module-card {
        background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
        border: 2px solid #e5e7eb;
        border-radius: 16px;
        padding: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      }

      .module-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        border-color: #2563eb;
      }

      .module-icon {
        font-size: 48px;
        text-align: center;
      }

      .module-title {
        font-size: 18px;
        font-weight: 700;
        color: #1f2937;
      }

      .module-desc {
        font-size: 14px;
        color: #6b7280;
        line-height: 1.5;
      }

      .module-badge {
        display: inline-block;
        background: #dbeafe;
        color: #1e40af;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        width: fit-content;
      }

.card {
  background: linear-gradient(
    180deg,
    rgba(0, 255, 247, 0.06),
    rgba(44, 83, 100, 0.06)
  );
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.card i {
  font-size: 36px;
}
.card .card-desc {
  color: #d6f6f6;
  font-size: 0.95rem;
}
.card:focus,
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0, 255, 247, 0.08);
}

.meta-row {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 700px) {
  .container {
    padding: 16px;
  }
  h1 {
    font-size: 1.6rem;
  }
}
/* Additional styles for specific elements */

.responsive-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0,0,0,0.04);
}
.responsive-embed iframe, .responsive-embed embed, .responsive-embed object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* small helpers */
.tagline {
  opacity: 0.95;
}

/* Image styling for list items */
li img {
  max-width: 32px;
  max-height: 32px;
  width: auto;
  height: auto;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 4px;
}

/* Ensure proper alignment for list items with images */
li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Developer Cards Grid */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.developer-card {
  background: linear-gradient(
    180deg,
    rgba(0, 255, 247, 0.08),
    rgba(44, 83, 100, 0.08)
  );
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.developer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 255, 247, 0.06);
}

.developer-image {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid rgba(0, 255, 247, 0.2);
  transition: border-color 0.2s ease;
}

.developer-card:hover .developer-image {
  border-color: rgba(0, 255, 247, 0.4);
}

.developer-card h3 {
  margin: 4px 0;
  font-size: 1.1rem;
  color: #00fff7;
}

.developer-card .role {
  font-size: 0.9rem;
  color: #a8e6e6;
  margin: 0;
  font-style: italic;
}

.developer-card .title {
  font-size: 0.95rem;
  color: #c6ffff;
  margin: 0;
  font-weight: 600;
}
