* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    padding-top: 1px;
    scroll-behavior: smooth;
}
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background: rgb(15, 19, 25);
    overflow-x: hidden;
}
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero .grid-matrix {
    position: absolute;
    top: -200px;
    left: -25vw;
    width: 150vw;
    height: 170vh;
    z-index: -1;
    opacity: 0.6;
    transform: perspective(800px) rotateX(20deg) rotateY(10deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
    overflow: hidden;
    will-change: filter;
    transform: translateZ(0);
}
.hero .grid-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    pointer-events: none;
    z-index: 10;
    background: radial-gradient(ellipse at bottom, rgba(15,19,25,0) 0%, rgb(15,19,25) 100%);
}
.hero .grid-matrix rect {
    shape-rendering: geometricPrecision;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
    border-radius: 10px;
}
.hero-content h1 {
    font-size: 3.5rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.cta-button {
    display: inline-block;
    background-color: #2dd4beb9;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-right: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.cta-button:hover {
    background-color: #3ce2ccb0;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.8);
}
.social-button {
    display: inline-block;
    background-color: #14181e65;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #23282f;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.social-button:hover {
    background-color: #1b1f25b2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.rubik-logofont {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: #fff;
}
.rubik-descfont {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #9299a4;
}
.site-footer {
    background-color: #0f1319;
    color: #fff;
    padding: 1rem 2rem;
    text-align: center;
}
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.footer-logo h2, .footer-desc {
    font-family: "Rubik", sans-serif;
}
.footer-divider {
    border: 0;
    border-top: 1px solid #252727;
    margin: 1rem 0;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}
.rubik-copyright {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #e7eaef;
}
.brand {
    color: #2dd4bf;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(15, 19, 25, 0.522);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(212, 216, 221, 0.116);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.navbar-brand {
    position: absolute;
    left: 2rem;
}
.navbar-brand a {
    text-decoration: none;
    font-family: "Rubik", sans-serif;
    font-size: 1.5rem;
    color: #fff;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 0;
}
.nav-links li a {
    position: relative;
    z-index: 2;
    text-decoration: none;
    font-family: "Rubik", sans-serif;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}
.nav-indicator {
    position: absolute;
    background-color: rgba(45, 212, 190, 0.4);
    transition: left 0.3s ease, width 0.3s ease, top 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    z-index: 1;
    border-radius: 8px;
    opacity: 0;
}
.projects {
    padding: 4rem 2rem;
    text-align: center;
}
.projects .container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-family: 'Rubik', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.project-card {
    background: #12161e;
    border: 1px solid #252727;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.card-image {
    position: relative;
    overflow: hidden;
    height: 180px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, #12161e);
}
.project-card-content {
    padding: 1rem 1.5rem 2rem 1.5rem;
}
.project-card-content h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
.project-card-content p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #ccc;
}
.project-card .cta-button {
    display: inline-block;
    background-color: #2dd4bf;
    color: #121212;
    padding: 0.5rem 1rem;
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.project-card .cta-button:hover {
    background-color: #3ce2cc;
}
