body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: Inter, Arial, sans-serif;
}

header {
    background-color: #111827;
    border-bottom: 1px solid #1f2937;
}

.navbar-brand {
    color: #f8fafc !important;
}

.btn-link {
    color: #cbd5e1 !important;
}

.btn-link:hover {
    color: #ffffff !important;
}

.lead {
    color: #94a3b8;
}

p {
    color: #cbd5e1;
}

.card {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #f8fafc;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.card-title {
    color: #ffffff;
}

.text-muted {
    color: #94a3b8 !important;
}

img.rounded-circle {
    border: 4px solid #3b82f6;
}

h1, h2, h3 {
    color: #ffffff;
}

.btn-dark {
    background-color: #2563eb;
    border-color: #2563eb;
}

.btn-dark:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.tech-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    font-weight: 600;
    color: #f8fafc;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 110px;
    justify-content: center;
}

.tech-card i {
    font-size: 32px;
    color: #3b82f6;
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.hero-stat {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 15px 20px;
    min-width: 140px;
}

.hero-stat strong {
    display: block;
    color: #3b82f6;
    font-size: 20px;
}

.hero-stat span {
    color: #cbd5e1;
    font-size: 14px;
}

.contact-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 22px;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: 0.3s;
}

.contact-card i {
    font-size: 28px;
    color: #3b82f6;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    color: #ffffff;
}

.about-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 18px;
    padding: 28px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.site-header {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1f2937;
    z-index: 1000;
}

.nav-link {
    color: #cbd5e1 !important;
}

.nav-link:hover {
    color: #ffffff !important;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 110px;
}

@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .nav-link {
        padding: 10px 0;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stat {
        width: 100%;
    }

    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    h1.display-4 {
        font-size: 36px;
    }
}

.project-card {
    background: linear-gradient(180deg, #1e293b 0%, #111827 100%);
    border: 1px solid #334155;
    border-radius: 22px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #3b82f6;
}

.project-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.project-card__body {
    padding: 24px;
}

.project-card__title {
    font-size: 22px;
    margin-bottom: 0;
}

.project-card__badge {
    background-color: rgba(59, 130, 246, 0.16);
    border: 1px solid #3b82f6;
    color: #bfdbfe;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    white-space: nowrap;
}

.project-card__text {
    color: #cbd5e1;
}

.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.project-card__meta span {
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 999px;
    padding: 6px 10px;
    color: #94a3b8;
    font-size: 13px;
}

.project-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer {
    border-top: 1px solid #1f2937;
    background-color: #0b1120;
    padding: 28px 0;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer p {
    margin: 0;
    color: #94a3b8;
}

.site-footer__links {
    display: flex;
    gap: 14px;
}

.site-footer__links a {
    color: #cbd5e1;
    font-size: 22px;
    transition: 0.3s;
}

.site-footer__links a:hover {
    color: #3b82f6;
}

@media (max-width: 991px) {
    .navbar {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand {
        max-width: 220px;
        white-space: normal;
        line-height: 1.2;
    }
}

@media (max-width: 991px) {
    section[id] {
        scroll-margin-top: 110px;
    }
}

.timeline-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 18px;
}

.timeline-card__period {
    display: inline-block;
    color: #3b82f6;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-card h4 {
    margin-bottom: 8px;
}

.timeline-card__subtitle {
    color: #bfdbfe;
    margin-bottom: 10px;
}

.timeline-card__description p:last-child {
    margin-bottom: 0;
}

.certificate-card {
    background: linear-gradient(180deg, #1e293b 0%, #111827 100%);
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 24px;
    transition: 0.3s;
}

.certificate-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.certificate-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background-color: rgba(59, 130, 246, 0.16);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.certificate-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.certificate-card__organization,
.certificate-card__date {
    color: #94a3b8;
    margin-bottom: 10px;
}

.project-detail {
    background: linear-gradient(180deg, #1e293b 0%, #111827 100%);
    border: 1px solid #334155;
    border-radius: 24px;
    overflow: hidden;
}

.project-detail__image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.project-detail__body {
    padding: 32px;
}

.project-detail__description {
    margin: 24px 0;
}

.error-page {
    background: linear-gradient(180deg, #1e293b 0%, #111827 100%);
    border: 1px solid #334155;
    border-radius: 24px;
    padding: 60px 24px;
}

.error-page h1 {
    color: #3b82f6;
}
