:root {
    --bg: #07111f;
    --bg-soft: #0c1728;
    --bg-card: rgba(15, 28, 48, 0.92);
    --bg-card-soft: rgba(12, 23, 40, 0.82);
    --border: rgba(148, 163, 184, 0.18);
    --border-strong: rgba(56, 189, 248, 0.35);
    --text: #f8fafc;
    --muted: #94a3b8;
    --soft-text: #cbd5e1;
    --blue: #38bdf8;
    --blue-dark: #0284c7;
    --yellow: #facc15;
    --green: #10b981;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 34rem),
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 30rem),
        linear-gradient(180deg, #050b16 0%, #07111f 48%, #08111d 100%);
    color: var(--text);
}

.container {
    width: 90%;
    max-width: 1160px;
    margin: 0 auto;
}

/* Header and navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 11, 22, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    color: var(--text);
    text-decoration: none;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.logo:hover {
    color: var(--blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.nav-links a {
    color: var(--soft-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 999px;
    transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(56, 189, 248, 0.12);
}

.nav-links .nav-cta {
    color: #06111f;
    background: var(--blue);
    margin-left: 6px;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
    color: #06111f;
    background: #7dd3fc;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 40px;
    border: 1px solid var(--border);
    background: rgba(15, 28, 48, 0.75);
    border-radius: 12px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    margin: 5px 0;
    background: var(--text);
    border-radius: 10px;
    transition: 0.2s ease;
}

/* Typography */

h1,
h2,
h3 {
    letter-spacing: -0.035em;
    color: var(--text);
}

h1 {
    font-size: clamp(38px, 5.2vw, 62px);
    line-height: 1.05;
    margin: 0 0 18px;
}

h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.15;
    margin-top: 0;
}

h3 {
    font-size: 21px;
}

p,
li {
    color: var(--soft-text);
    line-height: 1.75;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.intro,
.section-intro {
    color: var(--muted);
    line-height: 1.75;
    max-width: 830px;
    margin-bottom: 34px;
}

/* Sections */

.page {
    padding: 72px 0;
}

.section {
    padding: 62px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.section h2 {
    margin-bottom: 12px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.card {
    background:
        linear-gradient(180deg, rgba(15, 28, 48, 0.95), rgba(8, 18, 32, 0.95));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 26px 78px rgba(0, 0, 0, 0.34);
}

.card h2,
.card h3 {
    margin-top: 0;
}

.yellow {
    color: var(--yellow);
    font-weight: 800;
}

.blue {
    color: var(--blue);
    font-weight: 800;
}

.small {
    color: var(--muted);
    font-size: 14px;
}

.badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 999px;
    margin: 5px 5px 5px 0;
    font-size: 14px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Buttons */

.button,
.button-secondary,
.primary,
.secondary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.2s ease;
}

.button:hover,
.button-secondary:hover,
.primary:hover,
.secondary:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.button,
.primary {
    background: var(--blue);
    color: #06111f;
    box-shadow: 0 14px 34px rgba(56, 189, 248, 0.2);
}

.button-secondary,
.secondary {
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: var(--text);
    background: rgba(15, 28, 48, 0.62);
}

/* Profile images */

.profile-photo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 20px 60px rgba(56, 189, 248, 0.18);
}

.profile-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.profile-mini img {
    width: 66px;
    height: 66px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(56, 189, 248, 0.35);
}

.profile-mini strong {
    display: block;
    color: var(--text);
}

.profile-mini span {
    color: var(--muted);
    font-size: 14px;
}

/* Footer */

footer {
    margin-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(5, 11, 22, 0.78);
}

.footer-inner {
    padding: 34px 0;
}

footer p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.back-link {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--muted);
}

.back-link:hover {
    color: var(--blue);
}

/* Forms */

input,
textarea,
select {
    width: 100%;
    background: rgba(5, 11, 22, 0.72);
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 15px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

label {
    display: block;
    color: var(--soft-text);
    font-weight: 700;
    margin-bottom: 8px;
}

/* Responsive */

@media (max-width: 980px) {
    .navbar {
        min-height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 5%;
        right: 5%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 16px;
        background: rgba(7, 17, 31, 0.98);
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 18px;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 13px 14px;
        border-radius: 12px;
        background: rgba(15, 28, 48, 0.7);
    }

    .nav-links .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .page {
        padding: 52px 0;
    }

    .section {
        padding: 48px 0;
    }
}

@media (max-width: 600px) {
    .container {
        width: 92%;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 27px;
    }

    .card {
        padding: 22px;
        border-radius: 20px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}
/* Justify main content text */
main p,
main li {
    text-align: justify;
    text-justify: inter-word;
}

@media (max-width: 600px) {
    main p,
    main li {
        text-align: left;
    }
}