/* csslint bulletproof-font-face:false */

/* csslint font-face-name-format:false */

/* csslint font-face-src:false */

/* 900 weight / normal ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/static/Figtree-Black.ttf") format("truetype");
}

/* 300 weight / italic ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: italic;
  font-weight: 900;
  src: url("../fonts/static/Figtree-BlackItalic.ttf") format("truetype");
}

/* 400 weight / normal ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/static/Figtree-Regular.ttf") format("truetype");
}

/* 700 weight / normal ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/static/Figtree-Bold.ttf") format("truetype");
}

/* 400 weight / italic ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/static/Figtree-Italic.ttf") format("truetype");
}

/* 700 weight / italic ------------------------------------------ */
@font-face {
  font-display: swap;
  font-family: Figtree;
  font-style: italic;
  font-weight: 700;
  src: url("./fonts/static/Figtree-BoldItalic.ttf") format("truetype");
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  font-family: Figtree, sans-serif;
  font-style: normal;
  font-optical-sizing: auto;
  margin: 0;
  position: relative;
}

/***** HEADER *****/
.header {
  align-items: flex-end;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 76px 0;
  width: 100%;
  position: relative;
}


.visually-hidden {
  position: absolute ;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (width <=1024px) {
  .header {
    padding: 45px 0;
  }
}

@media (width <=620px) {
  .header {
    align-items: flex-start;
    padding: 34px 0;
  }
}

.logo {
  align-items: center;
  display: flex;
  margin: auto 0;
}

.logo a,
.logo img {
  height: 50px;
}

.navbar {
  display: flex;
  justify-content: center;
  height: 76px;
  width: fit-content;
}

.nav-heading {
  position:absolute !important;
  width:1px; height:1px;
  margin:-1px; padding:0;
  overflow:hidden; clip:rect(0 0 0 0);
  white-space:nowrap; border:0;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 18px;
  text-decoration: none;
  color: white;
  font-family: Figtree, sans-serif;
  font-size: 20px;
  font-weight: 500;
  transition: all 0.5s ease;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: #ef580d;
  color: white;
  transition: background 0.5s ease, color 0.4s ease;
}

.nav-link.active {
  background-color: white;
  color: #ff6c00;
  font-weight: 600;
  transition: background 0.5s ease, color 0.5s ease;
}

.nav-link.active:hover {
  background-color: white;
  color: #ff6c00;
}

.content-area {
  min-height: calc(100vh - 70px);
  background-color: #f5f5f5;
  padding: 40px;
}

/* Responsive Design */
@media (width <= 1440px) {
  .nav-link{
    font-size: 18px;
  }
}

@media (width <= 1024px) {
  .nav-list {
    gap: 10px;
  }

  .nav-link{
    padding: 16px;
    font-size: 16px;
  }
}

@media (width <= 768px) {
  .navbar {
    display: none;
  }

  .nav-list {
    gap: 0;
  }

  .nav-link {
    padding: 16px;
    font-size: 16px;
    margin: 6px 2px;
  }
}

@media (width <= 480px) {
  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
  }

  .nav-link {
    padding: 12px 16px;
    margin: 4px 2px;
  }
}

.terms-section-container {
  background: white;
  padding: 100px 24px 70px 24px;
}

.terms-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
}

@media (width <= 1440px) {
  .terms-content {
    gap: 0;
  }
}

.terms-main {
  flex: 1;
  width: 100%;
}

.terms-sidebar {
  min-width: 329px;
  margin-left: 20px;
  margin-right: 40px;
}

@media (width <= 1024px) {
  .terms-sidebar {
    width: 285px;
    min-width: 285px;
  }
}

@media (width <= 768px) {
  .terms-sidebar {
    width: 100%;
    min-width: auto;
  }
}

.terms-heading {
  font-size: 40px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #ff6c00;
}

.terms-section {
  margin-bottom: 40px;
}

.terms-section:last-child {
  margin-bottom: 0;
}

.terms-section-title {
  color: #000;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}

.terms-text {
  color: #000;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.terms-text a{
  color: #000;
  text-decoration: underline;
}

@media (width <= 1024px) {
  .terms-heading {
    font-size: 35px;
    margin-bottom: 20px;
  }

  .terms-section {
    margin-bottom: 30px;
  }

  .terms-section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .terms-text {
    font-size: 16px;
    color: #000;
    margin-bottom: 20px;
  }
}

@media (width <= 768px) {
  .terms-heading {
    font-size: 32px;
  }

  .terms-section-title {
    font-size: 24px;
    margin-bottom: 10px;
  }
}


.terms-list {
  margin-left: 20px;
  margin-bottom: 20px;
}

.terms-list li {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

@media (width <= 1024px) {
  .terms-list li {
    font-size: 16px;
  }
}

.terms-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

/* Sidebar Navigation */
.navigation {
  list-style: none;
  padding: 0;
  position: sticky;
  top: 20px;
}

.navigation li {
  position: relative;
}

.navigation button {
  all: unset; /* removes all default button styling */
  cursor: pointer;
  font-size: 18px;
  color: #000;
  transition: color 0.3s;
  display: block;
  padding: 5px 0 5px 10px;
  width: 100%;
  text-align: left;
}

@media (width <= 1024px) {
  .navigation button {
    font-size: 16px;
  }
}

.navigation a:hover {
  color: #ff6c00;
}

.navigation li:hover button {
  color: #ff6c00;
}

.navigation li.active button {
  color: #ff6c00;
  font-weight: 700;
}

.navigation li.active::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 16px;
  background-image: url("../images/diagonal-bar.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

@media (width <= 768px) {
  .navigation li.active::before{
    background-image: none
  }
  
  .navigation button{
    padding: 5px 10px;
  }
}

strong {
  font-weight: 700;
}

@media (width <= 1024px) {
  .terms-section-container {
    padding: 50px 24px;
  }
}

@media (width <= 768px) {
  .terms-sidebar {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .navigation {
    display: flex;
    flex-wrap: wrap;
    position: static;
  }

  .terms-section-container {
    padding: 50px 18px;
  }
}

.footer-text {
  color: #ae4200;
  font-family: Figtree, sans-serif;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 75px;
  text-align: center;
}

.footer-text a {
  color: #ae4200;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-text a:hover {
  color: #ae4200; /* Keep same color on hover */
  text-decoration: underline;
}

.hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Password Protected */
.password-overlay {
  align-items: center;
  background: linear-gradient(135deg, #fff7f0 0%, #ffedd5 100%);
  display: flex;
  font-family: Figtree, sans-serif;
  height: 100%;
  justify-content: center;
  left: 0;
  padding: 0 16px;
  position: fixed;
  top: 0;
  transition: opacity 0.5s;
  width: 100%;
  z-index: 9999;
}

.password-modal {
  align-items: center;
  background: #fff;
  border: 2px solid #ff6c00;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgb(255 108 0 / 13%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 600px;
  min-width: 340px;
  padding: 2.5rem 2rem 2rem;
  width: 100%;
}

.password-modal-header {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.password-modal-header h2 {
  color: #ff6c00;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.password-logo {
  filter: drop-shadow(0 2px 8px #ff6c00aa);
  margin-bottom: 0.5rem;
  max-height: 70px;
  max-width: 100%;
  padding: 0.5rem;
}

.password-desc {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

/* toggle button */

.toggle-password {
  background: none;
  border: none;
  color: #ff6c00;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0 0.5rem;
  transition: color 0.5s;
}

.toggle-password:focus {
  box-shadow: none;
  outline: none;
}

.password-modal-body {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.password-input-group {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: flex;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.5rem;
  transition: outline 0.5s ease;
  width: 100%;
}

.password-input-group:focus-within {
  outline: 2px solid #ff6c00;
  outline-offset: 2px;
}

.password-input {
  background: transparent;
  border: none;
  color: #ff6c00;
  flex: 1;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.7rem 0.5rem 0.7rem 0.2rem;
}

.password-input:focus {
  box-shadow: none;
  outline: none;
}

.password-submit {
  background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgb(59 130 246 / 8%);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.7rem 0;
  transition: background 0.5s ease;
  width: 100%;
}

.password-submit:hover {
  background: linear-gradient(90deg, #2563eb 0%, #4f46e5 100%);
}

.password-error {
  color: #ef4444;
  display: none;
  font-size: 0.98rem;
  margin-top: 0.2rem;
  text-align: center;
}

@media (width <=700px) {
  .password-modal {
    gap: 0.7rem;
    max-width: 98vw;
    min-width: unset;
    padding: 1.2rem 0.5rem 1.5rem;
    width: 100%;
  }

  .password-overlay {
    padding: 0 10px;
  }

  .password-modal-header h2 {
    font-size: 1.1rem;
  }

  .password-input-group {
    font-size: 0.95rem;
  }

  .password-submit {
    font-size: 1rem;
    padding: 0.6rem 0;
  }
}

@media (width <=500px) {
  .password-modal {
    min-width: 90vw;
    padding: 1.2rem 0.5rem 1.5rem;
  }
}
