/* home page */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: inherit;
}

body {
  background-color: #ffff;
  font-family: Arial, sans-serif;
  line-height: 1.9;

}

html {
  scroll-behavior: smooth;
}

/* main section start  */

.container {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  line-height: 1.9;
}

h1,
h2,
h3 {
  color: #222;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 300;
  text-align: justify;
}


h1,
h2 {
  text-align: center;
  color: #111827;
}

h2 {
  font-size: 26px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.buttons button {
  padding: 15px 30px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  align-items: center;
}

.register {
  background-color: #28a745;
}

.login {
  background-color: #007bff;
}

.download {
  background-color: #dc3545;
}

.buttons button::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.register::before {
  content: '\f234';
}

/* fa-user-plus */
.login::before {
  content: '\f023';
}

/* fa-lock */
.download::before {
  content: '\f019';
}


/* fa-download */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

@media (max-width: 768px) {
  .buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px;
  }

  .buttons button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    justify-content: center;
  }
}


.gift-code {
  background: #f3f4f6;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
}


.code-box {
  background: #e5e7eb;
  padding: 10px;
  border-radius: 6px;
  margin-top: 10px;
  font-weight: 600;
  word-break: break-all;
  overflow-wrap: break-word;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .gift-code {
    padding: 16px;
    margin: 15px 10px;
    border-radius: 8px;
  }

  .gift-code strong {
    font-size: 1rem;
  }

  .code-box {
    padding: 8px;
    font-size: 0.9rem;
  }
}


table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

td {
  border: 1px solid #e5e7eb;
  padding: 12px;
}

td:first-child {
  font-weight: bold;
  width: 35%;
  background: #f9fafb;
}

ul {
  margin-top: 15px;
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
}

.section {
  margin: 40px auto;
  padding: 30px 40px;
  max-width: 1200px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;

}


.step {
  background-color: #f3f4f6;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.step h3 {
  margin-top: 0;
  color: #111827;
  font-size: 22px;
}

.step p {
  margin: 10px 0;
  line-height: 1.6;
  font-size: 18px;
  color: rgb(40, 41, 43);
}




/* Optional hover effect for subtle animation */
.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}


.section-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

.gift-code {
  background: #f1f1f1;
  padding: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
}

ul {
  margin-left: 20px;
  list-style: disc;
}

li {
  line-height: 1.9;
  font-size: 18px;
}

.table {
  margin-top: 20px;
  width: 100%;
  border-collapse: collapse;
}

.table td {
  border: 1px solid #ddd;
  padding: 10px;
}

.highlight {
  font-weight: bold;
  color: #333;
}

.faq-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.faq-item {
  background: #ece0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item.active {
  border: 1px solid #000;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f0f0f0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 15px;
  color: #444;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 10px 20px 20px;
  max-height: 300px;
}

.img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  max-width: 100%;
}

.img-container img {
  width: 350px;
  display: block;
  border-radius: 12px;
}

.img-containers {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  max-width: 100%;
}

.img-containers img {
  max-width: 100%;
  height: 400px;
  display: block;
  border-radius: 12px;
}

/* header */

:root {
  --dark-bar: #2a2a2a;
  --light-brown: #ecc879;
  --green-gradient: linear-gradient(to right, #28e78a, #09e091);
}


.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* === TOP BAR === */
.top-bar {
  background-color: var(--dark-bar);
  padding: 10px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;

}

.top-bar .btn {
  background-color: var(--light-brown);
  border: 1px solid black;
  padding: 8px 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  width: 120px;
}

/* === HEADER === */
.header {
  background-color: var(--light-brown);

}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 45px;
  flex-wrap: wrap;
}

.logo img {
  height: 75px
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 25px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: black;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: rgb(17, 17, 17);
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  z-index: 1;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.btn-download {
  background: linear-gradient(to right, #28e78a, #1cc28a);
  /* Updated green gradient */
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-download:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .top-bar .btn {
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;

  }

  .nav {
    padding: 10px 20px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .header-actions {
    width: 100%;
  }

  .btn-download {
    width: 50%;
    text-align: center;
    align-items: center;
    margin-top: 20px;
    margin-left: 70px;
  }
}

/* Essential page */

.section {
  background-color: #fff;
  padding: 20px;
  margin: 20px auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

h2 {
  color: #2c3e50;
  margin-top: 0;
}

p,
li {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

ul {
  padding-left: 20px;
}

hr {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 30px 0;
}



/* Tablet screens */
@media (max-width: 768px) {
  .section {
    padding: 15px;
  }

  h2 {
    font-size: 24px;
  }

  p,
  li {
    font-size: 16px;
  }

  ul {
    padding-left: 15px;
  }

  details.toc-container {

    max-width: 100%;
  }
}

/* Mobile screens */
@media (max-width: 480px) {
  .section {
    padding: 20px;
  }

  h2 {
    font-size: 22px;
  }

  p,
  li {
    font-size: 15px;
  }

  ul {
    padding-left: 10px;
  }

  details.toc-container {

    max-width: 100%;
  }
}

/* footer */

.site-footer {
  background-color: #d6b46b;
  color: #000;
  padding: 40px 20px 20px;
  font-size: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #000;

  margin-left: 30px;
}


.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-column p {
  color: #000;
  line-height: 1.6;
}

.footer-bottom p {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  color: #000;
}

.steps {
  font-size: 22px;
}

/* -----Style----of---- table----of---content------- */
/* Table of Contents */
details.toc-container {
  margin: 2rem 0;
  background-color: #231c21;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  max-width: 50%;
}

summary.toc-title {
  font-size: 1.2rem;
  font-weight: bold;
  padding: .6rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: #ecc879;
  color: #000;
  border-radius: 10px;
}

summary.toc-title::-webkit-details-marker {
  display: none;
}

summary.toc-title::before {
  content: "►";
  font-size: 0.8em;
  margin-right: 1rem;
  transition: transform 0.2s ease-in-out;
}

details[open] summary.toc-title::before {
  transform: rotate(90deg);
}

ul.toc-list {
  list-style: decimal;
  color: #fff;
  font-size: 17px;
  margin: 18px 16px 16px 30px;
  line-height: 31px;
  padding: 0;
}

ul.toc-list li {
  background-color: #3b3439;
  margin: 8px 0;
  padding: 4px 10px;
  color: #fff;
}

ul.toc-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

ul.toc-list li a:hover {
  text-decoration: underline;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {

  .table-content details.toc-container {

    max-width: 100%;

    margin: 0px 10px;

  }

  ul {
    padding-left: 0px;
    margin-left: 0px;
  }
}