:root{
  --body-background-color:#0d0d0d;
  --text-color:#9ca3af;
  --anchor-tag:#e67e22;
  --anchor-hover:#5558f7;
  --summary-details: #3b82f6;
  --text-color-inwhite:#dfdfdfe8;
  --background-summary-div:#16161b;
  --summary-div-border:rgba(255, 255, 255, 0.1);
  --div-open-text-color:#e67e22;
  --item-background:#0f0f13;
  --shadow-main:rgba(0, 0, 0, 0.6);
  --shadow-secondary:rgba(255, 255, 255, 0.05);
  --nav-bg: rgba(255, 255, 255, 0.76); 
  --sidebar-bg: rgba(255, 255, 255, 0.315);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html{
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--body-background-color);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
}

/* Navigation */
nav{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: 8px 8px 5px 0 rgba(0, 0, 0, 0.616);
    border-radius: 0 0 8px 8px;
    z-index: 1;
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

nav li{
    height: 50px;
}

nav a{
    height: 100%;
    padding: 0 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
    transition: all 0.3s linear;
}

nav a:hover{
    color: var(--copy-contact-details-btn-text);
    background-color: var(--input-border-color);
    text-decoration: underline;
    text-underline-offset: 5px;
    border-radius: 0 0 8px 8px;
}

.brandName{
    margin-right: auto;
    pointer-events: none;

    @media (max-width:800px) {
        margin: 0;
        align-self: flex-end;
    }
}

nav li img{
    height: 16px;
    width: 16px;
}

.sidebar{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    width: 250px;
    z-index: 999;
    background-color: var(--sidebar-bg);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0px 10px 0 rgba(0, 0, 0, 0.329);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.sidebar li,
.sidebar a{
    width: 100%;
}

.showsidebar{
    display: none;
    margin-left: calc(20%);
}

@media (max-width:860px) {
    .hideOnMobile{
        display: none;
    }

    .showsidebar{
        display: block;
    }
}

@media (max-width:400px) {
    .sidebar{
        width: 100%;
    }
}

/* faq */
.faqtitlecontainer{
  max-width: 50rem;
  width: 100%;
  position: relative;
  top: 20px;
}

.faqtitle {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-color);
  margin: 0 1rem;
  text-align: center;
}

.faqinfo {
  font-size: 1.1rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 2rem;
}

.faq-contact {
  color: var(--anchor-tag);
  text-decoration: none;
  transition: all 0.3s linear;
}

.faq-contact:hover {
  color: var(--anchor-hover);
  text-decoration: underline;
  text-underline-offset: 0.5rem;
}

.questions {
  max-width: 50rem;
  justify-self: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--background-summary-div); 
  border: 1px solid var(--summary-div-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-main), 
              0 1px 2px var(--shadow-secondary);
  transition: all 0.5s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-item[open] {
  border: 0.8px solid  var(--text-color);
  margin: 0.5rem 0;
}

.faq-question {
  cursor: pointer;
  padding: 1.25rem 3rem 1.25rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  color: var(--text-color);
  transition:all 0.5s ease;
}

.faq-item[open] .faq-question{
    color: var(--div-open-text-color);
}

.faq-question:hover {
  background: var(--item-background);
  color: var(--text-color-inwhite);
}

/* Add + / – icon */
.faq-question::after {
  content: "+";
  position: absolute;
  line-height: 1rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--div-open-text-color);
  transition: all 0.5s ease;
}

.faq-item[open] .faq-question::after {
  content: "-";
  font-size: 1.7rem;
  transform: rotate(180deg);
}

/* FAQ answer smooth expand */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  transition: all 0.5s ease-in;
}

.faq-item[open] .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding: 1.25rem;
}

.laf{
  color: #3b82f6;
  transition: all 0.3s linear;
}

.laf:hover{
  color: #5558f7;
}