* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: #000000;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

#nav-bar {
    height: 56px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(250, 226, 192, 0.14);
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

#nav-bar ul {
    list-style: none;
    display: flex;
}

#nav-bar li {
    padding: 10px;
}

#nav-bar a {
    text-decoration: none;
    color: gray;
}

#nav-bar a:hover,
#nav-bar a:active {
    color: white;
}

#nav-bar #logo {
    font-size: 30px;
    font-weight: bold;
}

#home {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    scroll-margin-top: 56px;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

#home h1 {
    font-family: 'Fira Code';
    font-weight: normal;
    font-size: 30px;
    margin-bottom: 20px;
}

#home h2 {
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 20px;
}

#home a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform .2s;
}

#home a:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.mesh {
  background: radial-gradient(ellipse 28% 28% at 50% 82%, #fae2c0 0%, #fae2c0 12.75%, #fae2c0e4 30.2%, #fae2c0a5 47.65%, #fae2c05a 65.1%, #fae2c01b 82.55%, #fae2c000 100%),
    radial-gradient(ellipse 75% 75% at 50% 105%, #eea73b 0%, #eea73b 8.5%, #eea73be4 26.8%, #eea73ba5 45.1%, #eea73b5a 63.4%, #eea73b1b 81.7%, #eea73b00 100%),
    radial-gradient(ellipse 60% 60% at 20% 90%, #bd7500 0%, #bd7500 12.75%, #bd7500e4 30.2%, #bd7500a5 47.65%, #bd75005a 65.1%, #bd75001b 82.55%, #bd750000 100%),
    radial-gradient(ellipse 75% 75% at 80% 85%, #613800 0%, #613800 12.75%, #613800e4 30.2%, #613800a5 47.65%, #6138005a 65.1%, #6138001b 82.55%, #61380000 100%),
    #090401;
  position: relative;
  isolation: isolate;
}

.mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' viewBox='0 0 256 256'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='11' stitchTiles='stitch' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0.333 0.333 0.333 0 0 0.333 0.333 0.333 0 0 0.333 0.333 0.333 0 0 0 0 0 0 1'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.598' intercept='-0.799'/%3E%3CfeFuncG type='linear' slope='2.598' intercept='-0.799'/%3E%3CfeFuncB type='linear' slope='2.598' intercept='-0.799'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: hard-light;
  opacity: 0.108;
}

hr {
    height: 1px;
    border: none;
    margin-right: 20px;
    margin-left: 20px;
    background-color: white;
    margin-top: 25px;
}

h1 {
    font-family: "Cormorant Garamond", serif;
    font-weight: bold;
    font-size: 38px;
    padding-top: 25px;
    padding-bottom: 25px;
}

#solutions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#containers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

article {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 10px rgba(238, 167, 59, 0.3),
        0 0 20px rgba(238, 167, 59, 0.2),
        0 0 40px rgba(238, 167, 59, 0.1);
    height: 300px;
    width: 190px;
    margin: 20px;
    padding: 10px;
    justify-content: center;
    transition: transform 0.2s;
}

article:hover {
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

article h1 {
    padding-top: 0;
    color: white;
    font-family: "DM Sans";
    font-size: 20px;
    font-weight: 300;
    text-align: center;
    padding-bottom: 10px;
}

article hr {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    height: 0.5px;
    width: 90%;
    margin-top: 0px;
}

article p {
    padding-top: 10px;
    text-align: center;
}

#careers a {
    font-size: 20px;
    height: 40px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #090401;
    background: #fae2c0;
    border-radius: 999px;
    padding: 2px 20px;
}

#careers a:hover {
    background: #eea73b;
    color: #090401; 
}

#careers p {
    color: gray;
    padding-bottom: 25px;
}

#contact a {
    text-decoration: none;
    font-family: 'Cormorant Garamond';
    color: #fae2c0;
    font-size: 30px;
    font-weight: bold;
}

#contact a:hover {
    color: #eea73b;
}

#contact p {
    color: gray;
}

#contact i {
    padding-top: 25px;
}

#solutions,
#contact,
#careers {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 200px;
    background-color: #fae2c0;
    color: black;
}

#menu-button {
    display: none;
    position: fixed;
    top: 0;
    right: 20px;
    height: 56px;
    z-index: 1001;
    background: none;
    border: none;
    color: gray;
    font-size: 26px;
    cursor: pointer;
}

#menu-button:hover,
#menu-button:active {
    color: white;
}

#menu-bar {
    position: fixed;
    top: 56px;
    z-index: 999;
    width: 100%;
    background-color: #000000;
    border-bottom: 1px solid rgba(250, 226, 192, 0.14);
}

#menu-bar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#menu-bar li {
    width: 100%;
}

#menu-bar a {
    display: block;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    align-items: center;
    text-decoration: none;
    color: gray;
}

#menu-bar a:hover,
#menu-bar a:active {
    color: white;
}

@media (max-width: 768px) {
    #nav-bar ul {
        display: none;
    }

    #menu-button {
        display: block;
    }

    #home h1 {
        font-size: 20px;
        padding: 0 20px;
    }

    #home h2 {
        font-size: 16px;
    }

    #home .btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    h1 {
        font-size: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    article {
        width: 80%;
        max-width: 300px;
        height: auto;
        min-height: 250px;
    }

    #careers p,
    #contact p {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 769px) {
    #menu-bar {
        display: none !important;
    }
}