:root {
    --nav-height: 60px;
    --color-primary: #4F78AD;
    --color-secondary: #6B7280;
    --color-black: #1E293B;
    --color-bg-hero: #1E4369;
    --color-bg-container: #F9FAFB;
    --color-whrite: #FFF;
    --gradient-accent: linear-gradient(90deg, #4F78AD 0%, #707070 100%);
    --font-body: "Inter", sans-serif;
    --font-title: "Poppins", sans-serif;
    --font-display: "Righteous", sans-serif;
}

/* Base */

body {
    background-color: var(--color-bg-container);
    padding-top: var(--nav-height);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-title);
    font-weight: 700;
}

body, p, textarea {
    font-family: var(--font-body);
    font-weight: 400;
}

.text-highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-header {
    display: inline-block;
    align-items: center;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    padding: 6px 8px;
    margin-bottom: 6px;
    border: 1px solid rgba(24, 75, 130, 0.30);
    border-radius: 999px;
    background-color: rgba(63, 111, 162, 0.14);
}

.title-primary {
    color: var(--color-black);
    font-size: 40px;
    line-height: 1.2;
    text-align: center;
}

.description {
    color: var(--color-secondary);
    text-align: center;
    font-size: 18px;
    max-width: 520px;
    line-height: 1.5;
}

.break {
    display: block;
}

/* Navbar */

.navbar-container {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: var(--color-whrite);
    box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}

.navbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 4px;
}

.nav-title-wrapper {
    justify-self: start;
    text-decoration: none;
    color: inherit;
}

.title-block {
    cursor: pointer;
}

.nav-title {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
}

.nav {
    display: flex;
    justify-self: center;
    align-items: center;
    margin: auto;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-item {
    list-style: none;
    cursor: pointer;
}

.nav-link {
    color: var(--color-secondary);
    font-weight: 500;
    text-decoration: none;  
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1.5px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Hero */

.section-hero {
    background: linear-gradient(135deg, var(--color-bg-hero), var(--color-black));
    padding: 140px 0;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    gap: 30px;
}

.header-hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
}

.hero-title {
    color: var(--color-whrite);
    font-size: 40px;
    line-height: 1.2;
}

.hero-text {
    color: var(--color-whrite);
    font-size: 16px;
}

.hero-tags {
    display: flex;
    justify-content: left;
    gap: 8px;
    width: 100%;
}

.tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-whrite);
    padding: 8px 10px;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    cursor: default;
    transition: 0.4s ease;
}

.tag:hover {
    background-color: rgba(255, 255, 255, 0.30);
}

.hero-note {
    color: rgba(255, 255, 255, 0.30);
    font-size: 13px;
}

/* Section Examples */

.section-examples {
    padding: 90px 0;
}

.examples-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.examples-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 900px;
    margin-bottom: 40px;
}

.examples-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
}

.examples-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    padding: 20px;
    max-width: 300px;
    min-height: 220px;
    background-color: var(--color-whrite);
    border: 1px solid rgba(24, 75, 130, 0.30);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(80, 80, 80, 0.2);
    transition: transform 0.6s ease, box-shadow 0.3s ease;
}

.examples-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 16px rgba(34, 34, 34, 0.2);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.title-cards {
    color: var(--color-primary);
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 0;
}

.text-cards {
    color: var(--color-secondary);
    font-size: 15px;
}

/* Section Projects */

.section-projects {
    padding: 90px 0;
}

.projects-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.projects-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 40px;
}

.projects-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.projects-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 360px;
    min-height: 460px;
    background-color: var(--color-whrite);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.25s ease;
}

.projects-card:hover {
    box-shadow: 0 6px 16px rgba(34, 34, 34, 0.2);
}

.projects-card-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    border-radius: 20px 20px 0 0;
}

.projects-card-banner img {
    width: 80px;
    height: auto;
    transition: 0.4s ease;
}

.projects-card-banner img:hover {
    transform: scale(1.08);
}

.projects-card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px;
}

.projects-card-header {
    text-align: center;
}

.projects-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    font-size: 15px;
    max-width: 360px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.projects-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.projects-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-secondary);
}

/* features animation */

.projects-features li::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

.projects-accent {
    margin-top: 9px;
}

.projects-accent a {
    display: inline-block;
    color: var(--color-black);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.projects-accent a:hover {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Footer */

footer {
    background-color: var(--color-black);
    padding: 30px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-items {
    display: flex;
    gap: 16px;
}

.footer-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    transition: 0.3s ease;
}

.footer-icon:hover {
    color: rgba(255, 255, 255, 1);
}

.footer-small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Banner Projects */

.banner-drajanaina {
    background-color: #EDF2F0;
}

.banner-default {
    background-color: var(--color-secondary);
}

/* Title Projects */

.title-drajanaina {
    color: #5E6B67;
}