/* Reset and base styles */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #102A43;
  color: #e8f5ff;
  -webkit-font-smoothing: antialiased;
}

/* Modules */
.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;
      }



/* Container */
.container {
  max-width: 1130px;
  margin: 32px auto;
  padding: 28px;
}

/* Global cards */
.card,
.contact-card,
.container-gform,
.nav-container {
  background: rgba(12, 30, 62, 0.75);
  border: 1px solid rgba(0, 255, 247, 0.14);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Typography */
h1, h2, h3 {
  color: #e8f5ff;
  margin: 0 0 10px 0;
}
h1 {
  color: #8de0ff;
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(1.3rem, 1.5vw, 1.6rem);
}
h3 {
  font-size: 1rem;
}

p {
  margin: 0 0 14px 0;
  color: #c9e9ff;
  line-height: 1.75;
}

.date {
  text-align: center;
  color: #b9e8ff;
  font-size: 0.95rem;
  margin-top: 18px;
}

/* Links */
a {
  color: #80d8ff;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(128, 216, 255, 0.65);
  text-decoration: underline;
}

/* Buttons */
button,
.btn {
  background: linear-gradient(135deg, rgba(19, 102, 255, 0.96), rgba(41, 193, 255, 0.95));
  color: #041724;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(5, 142, 255, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(5, 142, 255, 0.32);
}

button:active,
.btn:active {
  transform: scale(0.98);
}

button:disabled,
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e8f5ff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.btn-danger-small {
  background: rgba(248, 113, 113, 0.12);
  color: #fee2e2;
  border: 1px solid rgba(248, 113, 113, 0.24);
}

.btn-danger-small:hover,
.btn-danger-small:focus {
  background: rgba(248, 113, 113, 0.18);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 18, 37, 0.96);
  border-bottom: 1px solid rgba(128, 216, 255, 0.14);
  backdrop-filter: blur(16px);
  padding: 18px 0;
}
.header-inner {
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(0, 255, 247, 0.18);
  color: #00fff7;
  font-size: 1.4rem;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-logo h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  color: #e8f5ff;
}
.brand-logo .tagline {
  margin: 0;
  color: #9feeee;
  font-size: 0.95rem;
  line-height: 1.4;
}
.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link {
  color: #c9e9ff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-link:hover,
.nav-link:focus {
  background: rgba(128, 216, 255, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}

.site-footer {
  background: rgba(6, 18, 37, 0.97);
  border-top: 1px solid rgba(128, 216, 255, 0.14);
  padding: 40px 20px 28px;
  color: #c9e9ff;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1130px;
  margin: 0 auto;
  align-items: start;
}
.footer-col h3 {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #ffffff;
}
.footer-col p,
.footer-col li {
  color: #aecde1;
  line-height: 1.8;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: #80d8ff;
  text-decoration: none;
}
.footer-col a:hover {
  text-decoration: underline;
}
.footer-bottom {
  max-width: 1130px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(128, 216, 255, 0.12);
  text-align: center;
  color: #9feeee;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .header-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Navigation */
.nav-container {
  margin: 40px auto;
  padding: 20px;
}
.nav-ulist {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.nav-ulist .nav-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-ulist .nav-link {
  color: #c9e9ff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-ulist .nav-link:hover {
  background: rgba(128, 216, 255, 0.12);
  border-color: rgba(128, 216, 255, 0.25);
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.container-gform {
  background: rgba(8, 20, 50, 0.88);
  padding: 28px;
  margin: 40px auto;
}
.gform {
  border: 1px solid rgba(128, 216, 255, 0.12);
  width: 100%;
  border-radius: 28px;
  padding: 22px;
}

.card {
  background: rgba(8, 20, 50, 0.82);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card i {
  font-size: 36px;
  color: #80d8ff;
}
.card .card-desc {
  color: #c9e9ff;
  font-size: 0.96rem;
}
.card:hover,
.card:focus {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 95, 193, 0.2);
}

.meta-row {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 700px) {
  .container {
    padding: 18px;
  }
  h1 {
    font-size: 1.8rem;
  }
}

/* Embeds */
.responsive-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(128, 216, 255, 0.14);
}
.responsive-embed iframe,
.responsive-embed embed,
.responsive-embed object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact enhancements */
.contact-card {
  padding: 36px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(128, 216, 255, 0.14);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(0, 255, 247, 0.15);
  color: #80d8ff;
  font-size: 1.2rem;
}

.contact-item h3 {
  margin: 0 0 6px 0;
  color: #e8f5ff;
}

.contact-item p,
.contact-item a {
  color: #c9e9ff;
  font-size: 0.97rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.contact-actions .btn {
  max-width: 220px;
}

/* small helpers */
.tagline {
  opacity: 0.94;
}

li img {
  max-width: 32px;
  max-height: 32px;
  width: auto;
  height: auto;
  margin-right: 12px;
}

/* 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(
    135deg,
    rgba(0, 255, 247, 0.08),
    rgba(44, 83, 100, 0.08)
  );
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  backdrop-filter: blur(8px);
}

.developer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 255, 247, 0.15), 0 0 24px rgba(0, 255, 247, 0.08);
  border-color: rgba(0, 255, 247, 0.2);
  background: linear-gradient(
    135deg,
    rgba(0, 255, 247, 0.12),
    rgba(44, 83, 100, 0.12)
  );
}

.developer-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid rgba(0, 255, 247, 0.3);
  box-shadow: 0 4px 16px rgba(0, 255, 247, 0.15), inset 0 0 12px rgba(0, 255, 247, 0.05);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  filter: brightness(1) contrast(1.05);
}

.developer-card:hover .developer-image {
  border-color: rgba(0, 255, 247, 0.6);
  box-shadow: 0 8px 24px rgba(0, 255, 247, 0.25), inset 0 0 12px rgba(0, 255, 247, 0.1);
  filter: brightness(1.1) contrast(1.1);
  transform: scale(1.05);
}

.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;
}

/* Contact */
.contact-card {
        border: 1px solid rgba(0, 255, 247, 0.15);
        border-radius: 32px;
        padding: 40px;
        max-width: 980px;
        margin: 40px auto 24px;
        box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
        backdrop-filter: blur(20px);
      }

      .card-header {
        display: grid;
        gap: 12px;
        text-align: center;
        margin-bottom: 32px;
      }

      .card-header h1 {
        font-size: clamp(2rem, 2.6vw, 3rem);
        margin-bottom: 8px;
        color: #9dfcff;
        letter-spacing: 0.6px;
      }

      .card-header .card-desc {
        font-size: 1.03rem;
        color: #d8f4ff;
        max-width: 760px;
        margin: 0 auto;
        line-height: 1.8;
      }

      .contact-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        margin-bottom: 30px;
      }

      .contact-item {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        padding: 24px;
        display: flex;
        gap: 18px;
        align-items: flex-start;
        transition: transform 0.22s ease, box-shadow 0.22s ease;
      }

      .contact-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 36px rgba(0, 255, 247, 0.11);
      }

      .contact-icon {
        display: grid;
        place-items: center;
        width: 52px;
        height: 52px;
        border-radius: 18px;
        background: rgba(0, 255, 247, 0.12);
        color: #00fff7;
        font-size: 1.35rem;
      }

      .contact-item h3 {
        font-size: 1.02rem;
        margin-bottom: 8px;
        color: #f5ffff;
      }

      .contact-item p,
      .contact-item a {
        color: #d4eef4;
        font-size: 0.98rem;
        line-height: 1.75;
        text-decoration: none;
      }

      .contact-item a:hover {
        color: #ffffff;
        text-decoration: underline;
      }

      .scroll-panel {
        margin-top: 24px;
        padding: 24px;
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(0, 255, 247, 0.12);
      }

      .scroll-panel h2 {
        margin-bottom: 12px;
        color: #c4f5ff;
        font-size: 1.15rem;
      }

      .scroll-panel p {
        margin-bottom: 18px;
        color: #d9f9ff;
        font-size: 0.98rem;
      }

      .scroll-ticker {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
      }

      .scroll-ticker::-webkit-scrollbar {
        height: 8px;
      }

      .scroll-ticker::-webkit-scrollbar-thumb {
        background: rgba(0, 255, 247, 0.3);
        border-radius: 999px;
      }

      .scroll-card {
        min-width: 280px;
        max-width: 400px;
        flex: 0 0 auto;
        background: rgba(4, 17, 42, 0.95);
        border: 1px solid rgba(0, 255, 247, 0.12);
        border-radius: 24px;
        padding: 22px;
        scroll-snap-align: center;
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
      }

      .scroll-card h3 {
        margin-bottom: 10px;
        color: #77ecff;
      }

      .scroll-card p {
        color: #cfefff;
        line-height: 1.75;
        max-width: 320px;
        font-size: 0.96rem;
      }

      .scroll-card .badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(0, 255, 247, 0.12);
        color: #bffcff;
        font-size: 0.82rem;
        margin-bottom: 12px;
      }

      .contact-actions {
        display: flex;
        justify-content: center;
        gap: 18px;
        margin-top: 30px;
      }

      .contact-actions .btn {
        max-width: 220px;
      }

      .site-footer {
        margin-top: 42px;
      }

      @media (max-width: 780px) {
        .contact-grid {
          grid-template-columns: 1fr;
        }

        .contact-card {
          margin: 20px auto;
          padding: 28px;
        }

        .scroll-ticker {
          gap: 14px;
        }

        .scroll-card {
          min-width: 240px;
        }
      }

/* Stars */
.checked {
  color: orange;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 40px; /* Adjust size here */
  }
  .star.filled {
    color: #ffc107; /* Gold color */
  }
  .star.unfilled {
    color: #e4e5e9; /* Light gray color */
  }
  .rating-text {
    font-size: 16px;
    margin-left: 10px;
    font-family: sans-serif;
  }

.average-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px; /* Adjust size here */
    margin-top: 12px;
  }
  .average-rating .star {
    color: #ffc107; /* Gold color */
  }

/* Enhanced Scroll Card Styling */
.scroll-card {
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, rgba(4, 17, 42, 0.98) 0%, rgba(12, 30, 62, 0.95) 100%);
  border: 1px solid rgba(0, 255, 247, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.scroll-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 255, 247, 0.25);
  box-shadow: 0 16px 48px rgba(0, 255, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(4, 17, 42, 0.99) 0%, rgba(20, 50, 90, 0.98) 100%);
}

.scroll-card .badge {
  background: linear-gradient(135deg, rgba(0, 255, 247, 0.16), rgba(128, 216, 255, 0.08));
  border: 1px solid rgba(0, 255, 247, 0.2);
  transition: all 0.2s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.scroll-card:hover .badge {
  background: linear-gradient(135deg, rgba(0, 255, 247, 0.22), rgba(128, 216, 255, 0.12));
  border-color: rgba(0, 255, 247, 0.35);
  color: #ffffff;
}

.scroll-card h3 {
  transition: color 0.2s ease;
  margin-bottom: 8px;
}

.scroll-card:hover h3 {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(128, 216, 255, 0.4);
}

.scroll-card p {
  transition: color 0.2s ease;
}

.scroll-card:hover p {
  color: #e8f5ff;
}

.scroll-card button {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 18px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.scroll-card:hover button {
  transform: translateX(2px);
}

@media (max-width: 480px) {
  .scroll-card {
    min-width: 200px;
    max-width: 280px;
  }
}