html {
    scroll-behavior: smooth;
}


/* Font Family: Quicksand */

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/static/Quicksand-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/static/Quicksand-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/static/Quicksand-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/static/Quicksand-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/static/Quicksand-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Optional Variable Font (if you want smoother weight transitions) */
@font-face {
    font-family: 'QuicksandVariable';
    src: url('../fonts/static/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* Apply font globally */
body {
    font-family: 'Quicksand', sans-serif;
    overscroll-behavior: none;
}


/* Styles */

* {
    margin: 0px;
    padding: 0px;
    font-family: 'Quicksand', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color); /* Dynamically changes */
    color: var(--text-color); /* Dynamically changes */
    transition: background-color 0.3s, color 0.3s;
}

/* WRAPPER */

.wrapper {
    overflow: hidden !important;
}

.main-content {
    /*margin-left: 300px;*/
}

/* Color Root Combinations */

:root {
    --primary-color: #14B8A6;
    --secondary-color: #03eeff;
    --white-color: #ffffff;
    --headings-color: #0E161F;
    --btn-bg: #292929;
    --box-shadow: 0px 12px 40px 0px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-color: #292929; /* Background for Dark Mode */
    --text-color: #ffffff; /* Text Color for Dark Mode */
    --header-background: #4F4F4F; /* Header Background For Dark Mode */
    --btn-bg: #0E161F;
    --border: #3F3F3F;
}

::-webkit-scrollbar{width: 6px;}
::-webkit-scrollbar-button, ::-webkit-scrollbar-thumb{background-color: var(--primary-color);}
::-webkit-scrollbar-track{box-shadow: inset 0 0 5px grey;}

hr {margin: 0px;}
hr:not([size]){
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0px;
    color: var(--headings-color);
    padding: 0px;
    text-transform: uppercase;
}

h1 {
    font-size: 46px;
    font-weight: 800;
    color: var(--primary-color);
}

h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
}

h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

h6 {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-color);
}

ul,
ol,
li {
    list-style: none;
    margin: 0px;
    padding: 0px;
    color: var(--text-color);
    font-size: 17px;
    font-weight: 500;
}

span{
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
}

a {
    display: inline-block;
    margin: 0px;
    padding: 0px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--primary-color);
}

p {
    margin: 0px;
    padding: 0px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-color);
}

img,
svg {
    width: 100%;
    display: block;
    object-fit: cover;
}

input,
select,
textarea {
    color: var(--primary-color); 
    outline: unset;
    background: transparent;
    width: 100%;
    border: 1px dashed var(--primary-color);
    border-top-width: 0;
    border-right-width: 0;
    border-bottom-width: 1px;
    border-left-width: 0;
    margin-bottom: 2rem;
    padding: 0 0 1rem;
    box-shadow: none;
    font: 400 14px;
    transition: ease-out 0.16s;
}
button{
    position: relative;
    display: inline-block;
    overflow: hidden;
    background-color: var(--primary-color);
    border-radius: 2em;
    color: var(--white-color);
    font-size: 0.9em;
    transition: ease-out 0.12s;
    outline: none;
    border: none;
    text-shadow: none;
    box-shadow: none;
}
textarea {
    height: 100px;
}

.color-palette{
    position: fixed;
    top: 50%;
    right: 0%;
    width: 160px;
    display: flex;
    align-items: center;
    z-index: 99;
    transform: translate(130px, -50%);
    transition: all .3s ease-in-out;
}

.color-palette.active{
    transform: translate(0, -50%);
} 

.color-palette .color-palette-icon{
    width: 60px;
    height: 40px;
    border: none;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.colors {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent */
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(15px);
}

.color-box {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.color-box:hover {
    transform: scale(1.1);
    transition: 0.2s;
}

.color-palette .color-palette-icon i {
    color: var(--white-color);
}

/* Dark Light Mode Switcher */

.toggle-container {
    position: fixed;
    top: 15px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    row-gap: 10px;
    z-index: 99;
}

  .toggle-label {
    font-size: 10px;
  }

  .toggle-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 10px  0px 0px 10px;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
  }

  .toggle-icon {
    font-size: 15px;
    color: var(--white-color);
  }
  #toggleIcon {
    color: var(--white-color);
    font-size: 15px;
}

/*BG Vertical Lines*/
.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.bg-lines .bg-line-1,
.bg-lines .bg-line-2,
.bg-lines .bg-line-3,
.bg-lines .bg-line-4 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-right: 1px solid #dcdfe2;
}

.bg-lines .bg-line-1:before,
.bg-lines .bg-line-2:before,
.bg-lines .bg-line-3:before,
.bg-lines .bg-line-4:before {
    content: '';
    position: absolute;
    top: -80px;
    right: -1px;
    background: var(--primary-color);
    width: 1px;
    height: 80px;
    -webkit-animation: bgLine 8s linear infinite;
    animation: bgLine 8s linear infinite;
}

.bg-lines .bg-line-1 {
    width: 20%;
}

.bg-lines .bg-line-2 {
    width: 40%;
}

.bg-lines .bg-line-2:before {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.bg-lines .bg-line-3 {
    width: 60%;
}

.bg-lines .bg-line-3:before {
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
}

.bg-lines .bg-line-4 {
    width: 80%;
}

.bg-lines .bg-line-4:before {
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}

@-webkit-keyframes bgLine {
    0% {
        top: -80px;
    }

    100% {
        top: 100%;
    }
}

@keyframes bgLine {
    0% {
        top: -80px;
    }

    100% {
        top: 100%;
    }
}

/*Site Loader*/

/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: var(--primary-color);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.preloader div {
  display: flex;
  font-weight: 500;
  text-transform: uppercase;
  color: white;
  font-size: 22px;
  letter-spacing: 2px;
}

.preloader div span {
    font-family: "Roboto Mono", monospace;
    font-weight: 700;
    text-transform: uppercase;
    color: transparent;
    font-size: 56px;
    letter-spacing: 4px;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: var(--white-color);  
    opacity: 1;
    padding: 0 6px;
    animation: loader 1s linear infinite;
}

.preloader div span:nth-child(2) { animation-delay: 0.1s; }
.preloader div span:nth-child(3) { animation-delay: 0.2s; }
.preloader div span:nth-child(4) { animation-delay: 0.3s; }
.preloader div span:nth-child(5) { animation-delay: 0.4s; }
.preloader div span:nth-child(6) { animation-delay: 0.5s; }
.preloader div span:nth-child(7) { animation-delay: 0.6s; }

@keyframes loader {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.2; transform: scale(0.9); }
}

body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
}