html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: #f6f7f9;
    color: #111;
    overflow-x: hidden;
}

#bgCanvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 1;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    padding: 12px 22px;
    background: white;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 10;
}

.navbar a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.25s;
}

.navbar a:hover {
    color: #000;
}

/* SECTIONS */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTENT */
.content {
    max-width: 960px;
    width: 90%;
    background: white;
    padding: 90px 80px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.content.wide {
    max-width: 1100px;
}

.content.right {
    text-align: center;
}

/* TYPOGRAPHY */
h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    margin-bottom: 20px;
}

p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* CARDS */
.card {
    position: relative;
    height: 180px;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff, #f1f2f4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.card-content {
    position: absolute;
    inset: 0;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-content h3 {
    margin: 0;
    font-size: 1.25rem;
}

.card-content p {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #666;
}

/* MOBILE */
@media (max-width: 768px) {
    .content {
        padding: 60px 30px;
    }
}

.all-projects-link {
    margin-top: 30px;
    text-align: center;
}

.all-projects-link a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: #007bff;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.all-projects-link a:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.contact-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 12px;
    transition: 0.3s;
    color: #fff;
}

.contact-item img {
    width: 50px;
    height: min-content;
}

.contact-item span {
    color: black;
}

.contact-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.how-it-works-image {
  display: block;
  width: 70%;
  max-width: 700px;
  margin: 2rem auto;
  border-radius: 12px;
}

