html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

section {
    padding: 100px 0;
}

/* Navigation */
.navbar {
    background-color: #000 !important;
    border-bottom: 1px solid #333;
}

.navbar-brand,
.nav-link {
    color: #fff !important;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Hero */
.hero h1 {
    font-size: 5rem;
    font-weight: bold;
    letter-spacing: 0.3em;
}

.hero p {
    font-size: 1.4rem;
    color: #ccc;
}

.btn-light {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.btn-light:hover {
    background: #000;
    color: #fff;
}

/* Cards */
.card {
    background: #111;
    color: #fff;
    border: 1px solid #333;
    box-shadow: none;
}

.card h4 {
    color: #fff;
}

/* Portfolio */
.bg-light {
    background-color: #000 !important;
}

.portfolio-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    min-height: 420px;
    height: 400px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

.portfolio-image {
    width: 45%;
    max-height: 360px;
    object-fit: cover;
    border: 1px solid #333;
    flex-shrink: 0;
}

.portfolio-text {
    width: 45%;
    text-align: left;
}

.portfolio-text h3 {
    margin-bottom: 15px;
}

.portfolio-text p {
    color: #ccc;
    line-height: 1.6;
}

.portfolio-control {
    width: 8%;
}

.carousel-indicators [data-bs-target] {
    background-color: #fff;
}

/* People */
.person-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid #444;
    object-fit: cover;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    border-top: 1px solid #333;
    padding: 80px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

footer a:hover {
    opacity: 0.7;
}

/* Text */
.lead {
    color: #ccc;
}

p {
    color: #ddd;
}

.hero-image {
    width: 500px;
    max-width: 90vw;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.definition {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 20px;
    font-style: italic;
}

.syzygy-brand {
    font-family: 'Inter', Arial, sans-serif;
    letter-spacing: 0.15em;
}

.sy-light {
    font-weight: 300;
}

.sy-normal {
    font-weight: 400;
}

.sy-medium {
    font-weight: 500;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Canvas */
#syzygy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 1;
    backdrop-filter: blur(0px);
}

.brand-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.portfolio-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 60px;
    min-height: 650px;
}

.portfolio-image {
    width: 50%;
    height: 520px;
    object-fit: cover;
    border: 1px solid #333;
    flex-shrink: 0;
}

.portfolio-text {
    width: 45%;
    text-align: left;
}

.portfolio-text h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.portfolio-text p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .portfolio-slide {
        flex-direction: column;
        text-align: center;
    }

    .portfolio-image,
    .portfolio-text {
        width: 100%;
    }

    .portfolio-text {
        text-align: center;
    }
}

/* Arrows FIXED */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


.portfolio-btn {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
}

.portfolio-btn:hover {
    background: #fff;
    color: #000;
}

.modal-content {
    border: 1px solid #333;
}

.modal-body img {
    object-fit: cover;
    width: 100%;
    height: auto;
}



#digitalCard {
    position: relative;
    overflow: hidden;
}

#digitalCard #dataPulseCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}


.field-wrap {
    width: 100%;
    height: 140px;   /* small widget */
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

#dataFieldCanvas {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}