/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0f19;
  --panel: #111827;
  --border: #1f2933;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #4f46e5;
}

/* BASE */
body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

h1 {
  font-size: 2.4rem;
  line-height: 1.2;
}

p,
ul li,
ol li,
a {
  color: var(--muted);
  margin-bottom: 12px;
  text-align: justify;
}

ul {
  padding-left: 20px;
}

.pl-20 {
  padding-left: 30px;
}

.m-0 {
  margin: 0;
}

.w-100 {
  width: 100%;
}

/* HEADER */

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

/* Header base (desktop stays same) */
.header {
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 36px;
}

/* Nav */
.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
}

.nav a.active {
  color: var(--text);
}

/* Toggle button (hidden on desktop) */
.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}




/* HERO */
.hero {
  max-width: 900px;
  margin: 120px auto 90px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  font-size: 16px;
  max-width: 720px;
}

/* SECTIONS */
.section {
  max-width: 900px;
  margin: 90px auto;
  padding: 0 20px;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.section.alt {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

/* EXTENSIONS GRID */
.extensions {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.extensions_Page {
  grid-template-columns: auto;
}

.extension-logo {
  min-width: 100px;
}

.extension-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.extension-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.extension-card img {
  width: 100px;
  height: 100px;
}

.extension-card img.blog_img {
  width: 300px;
  height: auto;
}


.ext-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.textJustify {
  text-align: justify !important;
}

.ext-info p {
  font-size: 14px;
}

.ext-info a {
  display: inline-block;
  margin: 0;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 20px;
}

.footer p {
  text-align: center;
  font-size: 14px;
  margin-bottom: 0;
  color: var(--muted);
}

/* LAYOUT HELPERS */
.allSection {
  display: flex;
  flex-direction: column;
}

.mainContent {
  max-width: 900px;
  margin: auto;
}

.headWithLogo {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* CONTACT PAGE (matches home cards) */


.contact-card {
  background: #111827;
  border: 1px solid #1f2933;
  border-radius: 10px;
  padding: 20px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  background: #0b0f19;
  border: 1px solid #1f2933;
  color: #e5e7eb;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-family: inherit;
}

.contact-card textarea {
  resize: vertical;
}

.contact-card button,
.btn.primary {
  background: #4f46e5;
  border: none;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 16px;
  cursor: pointer;
}

.contact-card button:hover,
.btn.primary:hover {
  opacity: 0.9;
}

.required-note {
  font-size: 13px;
  opacity: 0.7;
}

.req {
  color: #ff4d4f;
  /* red star */
  font-weight: 600;
}

/* Select field styling */
.form-group select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  color: #e5e7eb;
  background-color: #0b0f19;
  border: 1px solid #1f2937;
  border-radius: 6px;
  outline: none;
  appearance: none;
  /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* Custom dropdown arrow */
.form-group {
  position: relative;
}

.form-group select::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

/* Hover */
.form-group select:hover {
  border-color: #374151;
}

/* Focus */
.form-group select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.4);
}

/* Options */
.form-group option {
  background: #0b0f19;
  color: #e5e7eb;
}

.hidden {
  display: none;
}

.extension-author {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 10px;
  font-style: italic;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
  margin: auto;
}

.slider {
  position: relative;
  text-align: center;
}

.slider img {
  max-width: 100%;
  border-radius: 8px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 6px 12px;
  cursor: pointer;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.extension-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
}

.card {
  padding: 5px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-progress {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  align-items: center;
}

.step {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  display: block;
  cursor: pointer;
  border-radius: 50%;
  background-color: var(--bg);
}

.step.active {
  background-color: var(--accent);
}

.extension_search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.extension_search .search-box {
  width: 100%;
  background-color: var(--panel);
  max-width: 500px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  color: var(--text);
}





/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    border-bottom: 1px solid #eee;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .extension-header,
  .extension-card {
    flex-direction: column;
  }


  .ext-info,
  .ext-info p {
    text-align: center;
  }

  .extension-card img {
    margin: auto;
  }

  .headWithLogo {
    flex-direction: column;
  }

  .headWithLogo img {
    width: 100px;
    height: 100px;
  }
}