:root {
    --bg-primary: #080b12;
    --bg-secondary: #0d111a;
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(255, 255, 255, 0.055);
    --text-primary: #ffffff;
    --text-secondary: #969eaf;
    --text-muted: #697184;
    --border-color: rgba(255, 255, 255, 0.08);
    --accent: #7568ff;
    --accent-light: #9a91ff;
    --header-bg: rgba(8, 11, 18, 0.75);
    --shadow: rgba(0, 0, 0, 0.25);
    --nav-icon: brightness(0) invert(1);
}

[data-bs-theme="light"] {
    --bg-primary: #f4f6fb;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: #ffffff;
    --text-primary: #111522;
    --text-secondary: #596174;
    --text-muted: #7d8597;
    --border-color: rgba(17, 21, 34, 0.09);
    --accent: #5d50e8;
    --accent-light: #7569ff;
    --header-bg: rgba(255, 255, 255, 0.78);
    --shadow: rgba(30, 38, 60, 0.1);
    --nav-icon: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: "Vazirmatn", sans-serif;
    transition:
        background-color 0.35s ease,
        color 0.35s ease;
}

a {
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--accent);
    color: #ffffff;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: 0.35s ease;
}

.site-header .navbar {
    padding: 0;
}

.site-header .container {
    min-height: 72px;
    padding: 10px 22px;
    border: 1px solid var(--border-color);
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    box-shadow: 0 15px 45px var(--shadow);
    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--text-primary);
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
}

.brand-text {
    color: var(--text-primary);
}

.brand-text span {
    color: var(--accent-light);
}

.navbar-nav {
    gap: 6px;
}

.nav-link {
    position: relative;
    padding: 10px 15px !important;
    color: var(--text-secondary) !important;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: 3px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--accent);
    transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 30px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(117, 104, 255, 0.12);
    border-color: rgba(117, 104, 255, 0.35);
    transform: translateY(-2px);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 12px;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.header-cta:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow);
}

.header-cta i {
    font-style: normal;
    font-size: 17px;
    transition: 0.3s ease;
}

.header-cta:hover i {
    transform: translate(3px, -3px);
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 22px;
    height: 22px;
    filter: var(--nav-icon);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(117, 104, 255, 0.13),
            transparent 30%
        ),
        var(--bg-primary);
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: 20%;
    left: -300px;
    border-radius: 50%;
    background: rgba(117, 104, 255, 0.1);
    filter: blur(100px);
    pointer-events: none;
}

.hero-badge {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 8px 13px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
}

.hero-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #54d68c;
    box-shadow: 0 0 12px rgba(84, 214, 140, 0.7);
}

.hero-intro {
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: 18px;
}

.hero-section h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 900;
    letter-spacing: -4px;
}

.hero-section h2 {
    margin: 5px 0 25px;
    color: var(--accent-light);
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 700;
}

.hero-description {
    max-width: 650px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2.2;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-actions .btn {
    min-height: 50px;
    padding: 0 22px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 700;
}

.hero-actions .btn-primary {
    border: 0;
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    box-shadow: 0 12px 30px rgba(108, 99, 255, 0.2);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(108, 99, 255, 0.3);
}

.hero-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.hero-tech span,
.project-tags span {
    padding: 7px 11px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.code-window {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: var(--bg-secondary);
    box-shadow: 0 35px 90px var(--shadow);
    transform: rotate(2deg);
    transition: 0.5s ease;
}

.code-window:hover {
    transform: rotate(0deg) translateY(-8px);
}

.window-header {
    display: flex;
    gap: 7px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--border-color);
}

.window-header span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--text-muted);
}

.code-content {
    padding: 30px;
    direction: ltr;
    text-align: left;
    font-family: monospace;
}

.code-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 13px;
}

.code-purple {
    color: #c084fc;
}

.code-blue {
    color: #60a5fa;
}

.code-green {
    color: #4ade80;
}

.code-yellow {
    color: #facc15;
}

.code-white {
    color: var(--text-primary);
}

.section-padding {
    padding: 120px 0;
    background: var(--bg-primary);
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.section-heading p {
    margin: 8px 0;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
}

.section-heading h2 {
    color: var(--text-primary);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
}

.section-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2.3;
}

.about-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.about-card > div {
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-card);
    transition: 0.35s ease;
}

.about-card > div:hover {
    transform: translateY(-5px);
    border-color: rgba(117, 104, 255, 0.3);
    background: var(--bg-card-hover);
}

.about-card span {
    display: block;
    margin-bottom: 15px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.about-card strong {
    color: var(--text-primary);
    font-size: 14px;
}

.skill-card {
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-card);
    text-align: center;
    transition: 0.35s ease;
}

.skill-card:hover {
    transform: translateY(-7px);
    border-color: rgba(117, 104, 255, 0.3);
    box-shadow: 0 20px 50px var(--shadow);
}

.skill-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 17px;
}

.skill-card span {
    color: var(--text-muted);
    font-size: 11px;
}

.project-card {
    position: relative;
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: var(--bg-card);
    overflow: hidden;
    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(117, 104, 255, 0.3);
    box-shadow: 0 25px 60px var(--shadow);
}

.project-number {
    margin-bottom: 35px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.project-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 800;
}

.project-card p {
    min-height: 55px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 2;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 25px;
}

.timeline {
    max-width: 850px;
    margin: auto;
}

.timeline-item {
    display: flex;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.timeline-item > span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.timeline-item h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 18px;
}

.timeline-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 2;
}

.contact-card {
    position: relative;
    max-width: 900px;
    margin: auto;
    padding: 60px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    background: var(--bg-card);
    text-align: center;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    top: -130px;
    right: -100px;
    border-radius: 50%;
    background: rgba(117, 104, 255, 0.15);
    filter: blur(60px);
}

.contact-card p {
    position: relative;
    margin-bottom: 25px;
    color: var(--text-secondary);
    line-height: 2;
}

.footer {
    padding: 35px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
}

.footer-content span {
    color: var(--text-muted);
    font-size: 10px;
}

.footer-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 11px;
}

[data-bs-theme="light"] .hero-section {
    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(117, 104, 255, 0.1),
            transparent 30%
        ),
        var(--bg-primary);
}

[data-bs-theme="light"] .navbar-toggler-icon {
    filter: none;
}

[data-bs-theme="light"] .code-window {
    background: #ffffff;
}

@media (max-width: 991.98px) {
    .site-header {
        padding: 12px;
    }

    .site-header .container {
        padding: 10px 15px;
    }

    .navbar-collapse {
        margin-top: 15px;
        padding: 15px;
        border: 1px solid var(--border-color);
        border-radius: 15px;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .navbar-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 12px 10px !important;
    }

    .nav-link::after {
        display: none;
    }

    .header-actions {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }

    .header-cta {
        flex: 1;
    }

    .hero-section {
        padding-top: 120px;
    }

    .hero-section .row {
        padding: 60px 0;
    }

    .hero-visual {
        margin-top: 60px;
    }

    .section-padding {
        padding: 90px 0;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 16px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .header-cta span {
        font-size: 12px;
    }

    .hero-section h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .code-window {
        transform: none;
    }

    .code-content {
        padding: 20px;
    }

    .code-content p {
        font-size: 10px;
    }

    .about-card {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 35px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

.about-hero {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(117, 104, 255, 0.08),
            transparent 30%
        ),
        var(--bg-primary);
}

.about-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: 10%;
    right: -250px;
    border-radius: 50%;
    background: rgba(117, 104, 255, 0.1);
    filter: blur(100px);
    pointer-events: none;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 70px;
    color: var(--text-muted);
    font-size: 13px;
}

.about-breadcrumb a {
    color: var(--accent-light);
    transition: 0.3s ease;
}

.about-breadcrumb a:hover {
    color: var(--text-primary);
}

.about-image-wrapper {
    position: relative;
    max-width: 470px;
    margin: auto;
}

.about-image-card {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: var(--bg-secondary);
    box-shadow: 0 35px 90px var(--shadow);
    transform: rotate(-2deg);
    transition: 0.5s ease;
}

.about-image-card:hover {
    transform: rotate(0deg) translateY(-8px);
}

.about-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(5, 7, 12, 0.8)
    );
    pointer-events: none;
}

.about-image-card img {
    width: 100%;
    height: 570px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-image-glow {
    position: absolute;
    inset: 40px -25px -25px 25px;
    border-radius: 35px;
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    filter: blur(35px);
    opacity: 0.2;
}

.image-code-badge {
    position: absolute;
    z-index: 4;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(15px);
    color: #ffffff;
}

.image-code-badge span {
    color: #8b7fff;
    font-weight: 800;
}

.image-code-badge strong {
    font-size: 12px;
    letter-spacing: 1px;
}

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-secondary);
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px var(--shadow);
}

.floating-card span {
    color: var(--accent);
    font-size: 12px;
}

.floating-card strong {
    color: var(--text-primary);
    font-size: 11px;
}

.floating-card-top {
    top: 35px;
    left: -35px;
}

.floating-card-bottom {
    bottom: 45px;
    left: -55px;
}

.about-content {
    padding-right: 30px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-label span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(139, 127, 255, 0.3);
    border-radius: 9px;
    background: rgba(139, 127, 255, 0.08);
}

.about-small-title {
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: 17px;
}

.about-content h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    letter-spacing: -3px;
}

.about-content h2 {
    margin: 8px 0 28px;
    color: var(--text-secondary);
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 600;
}

.about-content h2 span {
    color: var(--accent-light);
}

.about-description {
    max-width: 620px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2.2;
}

.about-description strong {
    color: var(--text-primary);
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
}

.about-primary-btn,
.about-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.about-primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    box-shadow: 0 12px 30px rgba(108, 99, 255, 0.2);
}

.about-primary-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(108, 99, 255, 0.3);
}

.about-primary-btn span {
    font-size: 18px;
}

.about-secondary-btn {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.about-secondary-btn:hover {
    color: var(--text-primary);
    border-color: rgba(117, 104, 255, 0.4);
    transform: translateY(-3px);
}

.about-info {
    position: relative;
    padding: 40px 0 110px;
    background: var(--bg-primary);
}

.info-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: var(--bg-card);
    transition: 0.35s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(117, 104, 255, 0.25);
    background: var(--bg-card-hover);
}

.info-number {
    display: block;
    margin-bottom: 25px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.info-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 800;
}

.info-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2;
}

[data-bs-theme="light"] .about-image-card::after {
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(15, 18, 28, 0.55)
    );
}

[data-bs-theme="light"] .image-code-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #111522;
}

[data-bs-theme="light"] .image-code-badge strong {
    color: #111522;
}

@media (max-width: 991.98px) {
    .about-hero {
        padding-top: 140px;
    }

    .about-content {
        padding-right: 0;
        text-align: center;
    }

    .section-label {
        justify-content: center;
    }

    .about-description {
        margin-right: auto;
        margin-left: auto;
    }

    .about-actions {
        justify-content: center;
    }

    .about-image-wrapper {
        max-width: 400px;
    }

    .floating-card-top {
        left: -15px;
    }

    .floating-card-bottom {
        left: -20px;
    }
}

@media (max-width: 575.98px) {
    .about-hero {
        padding: 125px 0 70px;
    }

    .about-breadcrumb {
        margin-bottom: 45px;
    }

    .about-image-card {
        border-radius: 22px;
        transform: none;
    }

    .about-image-card img {
        height: 480px;
    }

    .floating-card {
        display: none;
    }

    .image-code-badge {
        right: 15px;
        bottom: 15px;
    }

    .about-content h1 {
        letter-spacing: -2px;
    }

    .about-actions {
        flex-direction: column;
        width: 100%;
    }

    .about-primary-btn,
    .about-secondary-btn {
        width: 100%;
    }

    .about-info {
        padding-bottom: 70px;
    }
}

.skills-hero {
    position: relative;
    padding: 150px 0 110px;
    overflow: hidden;
}

.skills-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: 40px;
    left: -180px;
    background: radial-gradient(circle, rgba(117, 104, 255, 0.16), transparent 70%);
    pointer-events: none;
}

.skills-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 55px;
    color: var(--text-muted);
    font-size: 14px;
}

.skills-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s ease;
}

.skills-breadcrumb a:hover {
    color: var(--accent);
}

.skills-hero-content {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 80px;
}

.skills-hero-text {
    max-width: 680px;
}

.skills-hero-text h1 {
    margin: 20px 0;
    color: var(--text-primary);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -2px;
}

.skills-hero-text h1 span {
    display: block;
    color: var(--accent-light);
}

.skills-hero-text p {
    max-width: 610px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 2.1;
}

.skills-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 35px;
}

.skills-primary-btn,
.skills-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.skills-primary-btn {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 15px 35px rgba(117, 104, 255, 0.22);
}

.skills-primary-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    background: var(--accent-light);
}

.skills-secondary-btn {
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.skills-secondary-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.skills-code-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--bg-card);
    box-shadow: 0 30px 80px var(--shadow);
    backdrop-filter: blur(18px);
}

.skills-code-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -100px;
    right: -70px;
    background: rgba(117, 104, 255, 0.12);
    border-radius: 50%;
    filter: blur(10px);
}

.code-window-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 7px;
    direction: ltr;
}

.code-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--text-muted);
}

.code-file {
    color: var(--text-muted);
    font-size: 12px;
    direction: ltr;
}

.code-content {
    position: relative;
    padding: 32px;
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 14px;
    line-height: 2.2;
    direction: ltr;
    text-align: left;
}

.code-indent {
    padding-left: 24px;
}

.code-purple {
    color: #b69cff;
}

.code-blue {
    color: #7dcfff;
}

.code-key {
    color: #c3e88d;
}

.code-string {
    color: #f6c177;
}

.skills-section,
.skills-focus {
    padding: 110px 0;
}

.skills-focus {
    padding-top: 30px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    margin: 16px 0;
    color: var(--text-primary);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
}

.section-heading h2 span {
    color: var(--accent-light);
}

.section-heading p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 2;
}

.skill-card {
    height: 100%;
    display: flex;
    gap: 20px;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: var(--bg-card);
    transition: 0.35s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(117, 104, 255, 0.4);
    background: var(--bg-card-hover);
    box-shadow: 0 25px 60px var(--shadow);
}

.skill-icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(117, 104, 255, 0.25);
    border-radius: 17px;
    color: var(--accent-light);
    background: rgba(117, 104, 255, 0.09);
    font-family: monospace;
    font-size: 13px;
    font-weight: 800;
}

.skill-card-content {
    flex: 1;
}

.skill-card h3 {
    margin: 3px 0 8px;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 800;
}

.skill-card p {
    margin: 0 0 22px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
}

.skill-level-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    color: var(--text-muted);
    font-size: 12px;
}

.skill-level-top strong {
    color: var(--accent-light);
}

.skill-progress {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--border-color);
}

.skill-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
}

.focus-card {
    position: relative;
    height: 100%;
    padding: 38px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--bg-card);
    transition: 0.35s ease;
}

.focus-card:hover {
    transform: translateY(-7px);
    border-color: rgba(117, 104, 255, 0.35);
}

.focus-number {
    display: block;
    margin-bottom: 40px;
    color: var(--accent);
    font-family: monospace;
    font-size: 14px;
    font-weight: 800;
}

.focus-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 800;
}

.focus-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 2;
}

[data-bs-theme="light"] .skills-hero::before {
    background: radial-gradient(circle, rgba(93, 80, 232, 0.1), transparent 70%);
}

[data-bs-theme="light"] .skills-code-card,
[data-bs-theme="light"] .skill-card,
[data-bs-theme="light"] .focus-card {
    box-shadow: 0 20px 50px rgba(30, 38, 60, 0.06);
}

@media (max-width: 991.98px) {
    .skills-hero {
        padding: 120px 0 80px;
    }

    .skills-hero-content {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .skills-hero-text {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .skills-hero-text p {
        margin: auto;
    }

    .skills-hero-actions {
        justify-content: center;
    }

    .skills-code-card {
        max-width: 680px;
        width: 100%;
        margin: auto;
    }
}

@media (max-width: 767.98px) {
    .skills-hero {
        padding: 100px 0 65px;
    }

    .skills-breadcrumb {
        margin-bottom: 35px;
    }

    .skills-hero-text h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .skills-hero-text p {
        font-size: 15px;
    }

    .skills-hero-actions {
        flex-direction: column;
    }

    .skills-primary-btn,
    .skills-secondary-btn {
        width: 100%;
    }

    .skills-section,
    .skills-focus {
        padding: 75px 0;
    }

    .skill-card {
        padding: 22px;
    }

    .focus-card {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .skills-hero-text h1 {
        font-size: 34px;
    }

    .skills-code-card {
        border-radius: 18px;
    }

    .code-content {
        padding: 22px 17px;
        font-size: 11px;
    }

    .skill-card {
        gap: 14px;
    }

    .skill-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }
}

.projects-hero {
    position: relative;
    padding: 150px 0 110px;
    overflow: hidden;
}

.projects-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -180px;
    right: -220px;
    background: radial-gradient(circle, rgba(117, 104, 255, 0.14), transparent 70%);
    pointer-events: none;
}

.projects-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 55px;
    color: var(--text-muted);
    font-size: 14px;
}

.projects-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s ease;
}

.projects-breadcrumb a:hover {
    color: var(--accent);
}

.projects-hero-content {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.projects-hero-text h1 {
    margin: 20px 0;
    color: var(--text-primary);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -2px;
}

.projects-hero-text h1 span {
    display: block;
    color: var(--accent-light);
}

.projects-hero-text p {
    max-width: 650px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 2.1;
}

.projects-hero-stats {
    display: flex;
    gap: 45px;
    margin-top: 45px;
}

.project-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project-stat strong {
    color: var(--text-primary);
    font-size: 27px;
    font-weight: 900;
}

.project-stat span {
    color: var(--text-muted);
    font-size: 12px;
}

.projects-terminal {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: var(--bg-card);
    box-shadow: 0 30px 80px var(--shadow);
    backdrop-filter: blur(18px);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: monospace;
    font-size: 12px;
    direction: ltr;
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

.terminal-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--text-muted);
}

.terminal-body {
    min-height: 290px;
    padding: 30px;
    direction: ltr;
    text-align: left;
    font-family: monospace;
    font-size: 14px;
    line-height: 2.1;
}

.terminal-body p {
    margin: 0;
    color: var(--text-secondary);
}

.terminal-body p span {
    color: var(--accent-light);
}

.terminal-body b {
    color: var(--accent-light);
}

.terminal-result {
    padding-left: 22px;
    color: var(--text-muted) !important;
}

.projects-section {
    padding: 100px 0 120px;
}

.project-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--bg-card);
    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-9px);
    border-color: rgba(117, 104, 255, 0.38);
    box-shadow: 0 28px 65px var(--shadow);
}

.project-preview {
    position: relative;
    height: 235px;
    padding: 25px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.project-preview::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: -70px;
    bottom: -90px;
    border-radius: 50%;
    background: rgba(117, 104, 255, 0.1);
    filter: blur(5px);
}

.project-type {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.2);
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.preview-window {
    width: 85%;
    height: 170px;
    margin: 28px auto 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--bg-card);
    transform: rotate(-2deg);
    transition: 0.4s ease;
}

.project-card:hover .preview-window {
    transform: rotate(0) scale(1.03);
}

.preview-top {
    display: flex;
    gap: 5px;
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.preview-top span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.preview-content {
    padding: 18px;
}

.preview-line {
    width: 60%;
    height: 7px;
    margin-bottom: 9px;
    border-radius: 8px;
    background: var(--border-color);
}

.preview-line.large {
    width: 80%;
    height: 13px;
    background: rgba(117, 104, 255, 0.35);
}

.preview-boxes {
    display: flex;
    gap: 7px;
    margin-top: 22px;
}

.preview-boxes span {
    flex: 1;
    height: 55px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.project-preview-two {
    background: linear-gradient(135deg, var(--bg-secondary), rgba(117, 104, 255, 0.06));
}

.dashboard-preview {
    display: flex;
    width: 88%;
    height: 175px;
    margin: 22px auto 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--bg-card);
}

.dashboard-sidebar {
    width: 25%;
    border-left: 1px solid var(--border-color);
    background: rgba(117, 104, 255, 0.06);
}

.dashboard-main {
    flex: 1;
    padding: 15px;
}

.dashboard-top {
    width: 60%;
    height: 9px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: var(--border-color);
}

.dashboard-cards {
    display: flex;
    gap: 7px;
}

.dashboard-cards span {
    flex: 1;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
}

.dashboard-chart {
    height: 55px;
    margin-top: 12px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    background: linear-gradient(160deg, transparent 50%, rgba(117, 104, 255, 0.12));
}

.project-preview-three {
    background: radial-gradient(circle at center, rgba(117, 104, 255, 0.09), transparent 70%);
}

.landing-preview {
    width: 88%;
    height: 175px;
    margin: 22px auto 0;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--bg-card);
}

.landing-header {
    width: 35%;
    height: 7px;
    margin-bottom: 24px;
    border-radius: 8px;
    background: var(--border-color);
}

.landing-hero-line {
    width: 75%;
    height: 13px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: rgba(117, 104, 255, 0.32);
}

.landing-hero-line.small {
    width: 50%;
    height: 7px;
    background: var(--border-color);
}

.landing-buttons {
    display: flex;
    gap: 7px;
    margin-top: 17px;
}

.landing-buttons span {
    width: 48px;
    height: 18px;
    border-radius: 5px;
    background: var(--accent);
}

.landing-buttons span:last-child {
    border: 1px solid var(--border-color);
    background: transparent;
}

.landing-cards {
    display: flex;
    gap: 7px;
    margin-top: 14px;
}

.landing-cards span {
    flex: 1;
    height: 35px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
}

.app-preview {
    width: 72%;
    height: 175px;
    margin: 22px auto 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--bg-card);
}

.app-header {
    height: 27px;
    border-bottom: 1px solid var(--border-color);
}

.app-body {
    padding: 15px;
}

.app-card-main {
    height: 58px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(117, 104, 255, 0.08);
}

.app-mini-cards {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.app-mini-cards span {
    flex: 1;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
}

.store-preview {
    width: 86%;
    height: 175px;
    margin: 22px auto 0;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--bg-card);
}

.store-header {
    width: 45%;
    height: 8px;
    margin-bottom: 17px;
    border-radius: 8px;
    background: var(--border-color);
}

.store-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.store-products span {
    height: 53px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
}

.code-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80%;
    margin: 38px auto 0;
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 12px;
    direction: ltr;
    text-align: left;
}

.code-preview span:first-child,
.code-preview span:last-child {
    color: var(--accent-light);
}

.code-preview .indent {
    padding-left: 25px;
    color: var(--text-muted);
}

.project-info {
    padding: 27px;
}

.project-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.project-title-row h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 800;
}

.project-title-row span {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 12px;
}

.project-info p {
    min-height: 58px;
    margin: 15px 0 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 23px;
}

.project-tags span {
    padding: 6px 9px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    color: var(--text-muted);
    font-family: monospace;
    font-size: 10px;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.project-link span {
    color: var(--accent-light);
    font-size: 18px;
    transition: 0.3s ease;
}

.project-link:hover {
    color: var(--accent-light);
}

.project-link:hover span {
    transform: translate(-4px, -4px);
}

.projects-cta {
    padding: 0 0 120px;
}

.projects-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 55px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    background: var(--bg-card);
    box-shadow: 0 25px 70px var(--shadow);
}

.projects-cta-box h2 {
    margin: 15px 0;
    color: var(--text-primary);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
}

.projects-cta-box h2 span {
    color: var(--accent-light);
}

.projects-cta-box p {
    margin: 0;
    color: var(--text-secondary);
}

.projects-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 55px;
    padding: 0 25px;
    border-radius: 14px;
    color: #fff;
    background: var(--accent);
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 15px 35px rgba(117, 104, 255, 0.2);
    transition: 0.3s ease;
}

.projects-cta-button:hover {
    color: #fff;
    transform: translateY(-3px);
    background: var(--accent-light);
}

[data-bs-theme="light"] .projects-hero::before {
    background: radial-gradient(circle, rgba(93, 80, 232, 0.09), transparent 70%);
}

[data-bs-theme="light"] .projects-terminal,
[data-bs-theme="light"] .project-card,
[data-bs-theme="light"] .projects-cta-box {
    box-shadow: 0 20px 55px rgba(30, 38, 60, 0.06);
}

@media (max-width: 991.98px) {
    .projects-hero {
        padding: 120px 0 80px;
    }

    .projects-hero-content {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .projects-hero-text {
        text-align: center;
    }

    .projects-hero-text p {
        margin: auto;
    }

    .projects-hero-stats {
        justify-content: center;
    }

    .projects-terminal {
        max-width: 680px;
        width: 100%;
        margin: auto;
    }

    .projects-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .projects-hero {
        padding: 100px 0 65px;
    }

    .projects-breadcrumb {
        margin-bottom: 35px;
    }

    .projects-hero-text h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .projects-hero-text p {
        font-size: 15px;
    }

    .projects-hero-stats {
        gap: 30px;
    }

    .projects-section {
        padding: 75px 0 90px;
    }

    .projects-cta {
        padding-bottom: 80px;
    }

    .projects-cta-box {
        padding: 35px 25px;
        border-radius: 22px;
    }

    .projects-cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .projects-hero-text h1 {
        font-size: 34px;
    }

    .projects-hero-stats {
        gap: 20px;
    }

    .project-stat strong {
        font-size: 22px;
    }

    .terminal-body {
        padding: 22px;
        font-size: 11px;
    }

    .project-preview {
        height: 210px;
    }

    .project-info {
        padding: 23px;
    }
}

.contact-hero {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    left: -220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(117, 104, 255, 0.14), transparent 70%);
    pointer-events: none;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
    color: var(--text-muted);
    font-size: 14px;
}

.contact-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-breadcrumb a:hover {
    color: var(--accent);
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 80px;
}

.contact-intro {
    padding-top: 15px;
}

.contact-intro h1 {
    margin: 20px 0;
    color: var(--text-primary);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -2px;
}

.contact-intro h1 span {
    display: block;
    color: var(--accent-light);
}

.contact-intro > p {
    max-width: 580px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 2.1;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    background: var(--bg-card);
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(-5px);
    border-color: rgba(117, 104, 255, 0.35);
}

.contact-info-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(117, 104, 255, 0.22);
    border-radius: 13px;
    color: var(--accent-light);
    background: rgba(117, 104, 255, 0.08);
    font-family: monospace;
    font-size: 13px;
    font-weight: 800;
}

.contact-info-card div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.contact-info-card span {
    color: var(--text-muted);
    font-size: 11px;
}

.contact-info-card strong {
    overflow: hidden;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-info-card > i {
    margin-right: auto;
    color: var(--accent-light);
    font-style: normal;
    font-size: 18px;
}

.contact-form-wrapper {
    padding: 35px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-card);
    box-shadow: 0 30px 80px var(--shadow);
    backdrop-filter: blur(18px);
}

.form-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-top h2 {
    margin: 10px 0 0;
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 900;
}

.form-code {
    color: var(--accent-light);
    font-family: monospace;
    font-size: 13px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    outline: none;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    background: var(--bg-secondary);
    font-family: "Vazirmatn", sans-serif;
    font-size: 13px;
    transition: 0.3s ease;
}

.form-group input {
    height: 54px;
}

.form-group textarea {
    min-height: 145px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(117, 104, 255, 0.08);
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    padding: 0 20px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: var(--accent);
    font-family: "Vazirmatn", sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(117, 104, 255, 0.2);
    transition: 0.3s ease;
}

.contact-submit:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

.contact-submit strong {
    font-size: 19px;
    font-weight: 400;
}

.contact-bottom {
    padding: 20px 0 120px;
}

.contact-bottom-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-card);
}

.contact-bottom-box h2 {
    margin: 14px 0 0;
    color: var(--text-primary);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
}

.contact-bottom-box h2 span {
    color: var(--accent-light);
}

.contact-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 17px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.contact-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(117, 104, 255, 0.7);
}

.contact-status p {
    margin: 0;
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 11px;
    direction: ltr;
}

[data-bs-theme="light"] .contact-hero::before {
    background: radial-gradient(circle, rgba(93, 80, 232, 0.09), transparent 70%);
}

[data-bs-theme="light"] .contact-form-wrapper,
[data-bs-theme="light"] .contact-bottom-box {
    box-shadow: 0 20px 55px rgba(30, 38, 60, 0.06);
}

@media (max-width: 991.98px) {
    .contact-hero {
        padding: 120px 0 80px;
    }

    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-intro {
        text-align: center;
    }

    .contact-intro > p {
        margin-right: auto;
        margin-left: auto;
    }

    .contact-info-list {
        max-width: 650px;
        margin-right: auto;
        margin-left: auto;
        text-align: right;
    }

    .contact-form-wrapper {
        max-width: 700px;
        width: 100%;
        margin: auto;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding: 100px 0 65px;
    }

    .contact-breadcrumb {
        margin-bottom: 35px;
    }

    .contact-intro h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .contact-intro > p {
        font-size: 15px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-bottom {
        padding-bottom: 80px;
    }

    .contact-bottom-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 35px 25px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .contact-intro h1 {
        font-size: 34px;
    }

    .contact-info-card {
        padding: 14px;
    }

    .contact-info-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .form-top h2 {
        font-size: 23px;
    }
}

.home-hero {
    position: relative;
    min-height: calc(100vh - 82px);
    padding: 90px 0 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -220px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(117, 104, 255, 0.14), transparent 68%);
    pointer-events: none;
}

.home-hero::after {
    content: "";
    position: absolute;
    bottom: -250px;
    left: -200px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(117, 104, 255, 0.09), transparent 68%);
    pointer-events: none;
}

.home-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 60px;
}

.home-hero-content {
    min-width: 0;
}

.hero-status {
    width: fit-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: var(--bg-card);
    backdrop-filter: blur(14px);
}

.hero-status span {
    position: relative;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #58d68d;
}

.hero-status span::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    border: 1px solid rgba(88, 214, 141, 0.45);
}

.hero-status p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    direction: ltr;
    white-space: nowrap;
}

.hero-label {
    display: block;
    margin-bottom: 15px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    direction: ltr;
    text-align: right;
}

.home-hero-content h1 {
    margin: 0 0 15px;
    color: var(--text-primary);
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.7;
}

.home-hero-content h1 span {
    display: block;
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.home-hero-content h2 {
    max-width: 680px;
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -2px;
}

.home-hero-content h2 span {
    color: var(--accent-light);
}

.hero-description {
    max-width: 600px;
    margin: 24px 0 0;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-primary-btn,
.hero-secondary-btn {
    min-height: 52px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.hero-primary-btn {
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 12px 35px rgba(117, 104, 255, 0.22);
}

.hero-primary-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    background: var(--accent-light);
    border-color: var(--accent-light);
}

.hero-primary-btn strong,
.hero-secondary-btn strong {
    font-size: 18px;
    font-weight: 400;
}

.hero-secondary-btn {
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.hero-secondary-btn:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
    border-color: rgba(117, 104, 255, 0.3);
}

.hero-secondary-btn strong {
    color: var(--accent-light);
}

.hero-features {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.hero-feature {
    min-width: 0;
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    border-left: 1px solid var(--border-color);
}

.hero-feature:first-child {
    border-right: 1px solid var(--border-color);
}

.hero-feature > strong {
    flex: 0 0 auto;
    color: var(--accent-light);
    font-size: 10px;
    font-weight: 800;
}

.hero-feature div {
    min-width: 0;
}

.hero-feature div span,
.hero-feature div p {
    display: block;
    direction: ltr;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-feature div span {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}

.hero-feature div p {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
}

.home-hero-visual {
    position: relative;
    min-width: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: min(370px, 70vw);
    height: min(370px, 70vw);
    border-radius: 50%;
    background: rgba(117, 104, 255, 0.16);
    filter: blur(90px);
    pointer-events: none;
}

.hero-code-window {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 530px;
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(11, 14, 23, 0.94);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px);
    direction: ltr;
    transform: perspective(1000px) rotateY(-3deg);
    transition: 0.4s ease;
}

.hero-code-window:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
}

.code-window-header {
    height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.025);
}

.code-window-dots {
    display: flex;
    gap: 7px;
}

.code-window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.code-window-dots span:first-child {
    background: #ff6259;
}

.code-window-dots span:nth-child(2) {
    background: #ffbd2e;
}

.code-window-dots span:nth-child(3) {
    background: #28c840;
}

.code-window-file {
    color: #939aac;
    font-family: monospace;
    font-size: 11px;
}

.code-window-status {
    color: #28c840;
    font-size: 10px;
}

.code-window-body {
    min-height: 350px;
    padding: 24px 14px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.code-line {
    min-width: 390px;
    display: flex;
    align-items: center;
    min-height: 31px;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre;
}

.line-number {
    width: 38px;
    flex: 0 0 38px;
    color: #4a5160;
    font-size: 10px;
    user-select: none;
}

.code-line code {
    color: #fff;
}

.code-purple {
    color: #c792ea;
}

.code-blue {
    color: #82aaff;
}

.code-green {
    color: #c3e88d;
}

.code-white {
    color: #d7dce5;
}

.empty-line {
    min-height: 20px;
}

.code-window-footer {
    min-height: 44px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    color: #70798b;
    font-family: monospace;
    font-size: 9px;
}

.code-window-footer div {
    display: flex;
    gap: 12px;
}

.code-window-footer strong {
    color: #9a91ff;
    font-size: 9px;
    letter-spacing: 1px;
}

.floating-tech-card {
    position: absolute;
    z-index: 5;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--header-bg);
    backdrop-filter: blur(18px);
    box-shadow: 0 15px 40px var(--shadow);
}

.floating-tech-card > span {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--accent-light);
    background: rgba(117, 104, 255, 0.12);
    font-family: monospace;
    font-size: 12px;
    font-weight: 800;
}

.floating-tech-card strong {
    display: block;
    color: var(--text-primary);
    font-size: 10px;
    direction: ltr;
}

.floating-tech-card p {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 8px;
    direction: ltr;
}

.tech-card-one {
    top: 30px;
    right: -15px;
}

.tech-card-two {
    bottom: 25px;
    left: -15px;
}

[data-bs-theme="light"] .hero-code-window {
    background: #151925;
    border-color: rgba(17, 21, 34, 0.1);
    box-shadow: 0 30px 80px rgba(30, 38, 60, 0.15);
}

@media (max-width: 1199px) {
    .home-hero-grid {
        gap: 40px;
    }

    .home-hero-content h2 {
        font-size: 48px;
    }

    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-feature:nth-child(3),
    .hero-feature:nth-child(4) {
        border-top: 1px solid var(--border-color);
    }

    .hero-feature:nth-child(3) {
        border-right: 1px solid var(--border-color);
    }

    .tech-card-one {
        right: -8px;
    }

    .tech-card-two {
        left: -8px;
    }
}

@media (max-width: 991px) {
    .home-hero {
        min-height: auto;
        padding: 70px 0 60px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .home-hero-content {
        text-align: center;
    }

    .hero-status {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-label {
        text-align: center;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .home-hero-visual {
        width: 100%;
        min-height: auto;
        max-width: 650px;
        margin: 0 auto;
        padding: 20px 25px;
    }

    .hero-code-window {
        max-width: 600px;
        transform: none;
    }

    .hero-code-window:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 767px) {
    .home-hero {
        padding: 55px 0 50px;
    }

    .home-hero-grid {
        gap: 50px;
    }

    .home-hero-content h2 {
        font-size: 40px;
        letter-spacing: -1.2px;
    }

    .home-hero-content h1 {
        font-size: 21px;
    }

    .home-hero-content h1 span {
        font-size: 13px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-features {
        margin-top: 38px;
    }

    .home-hero-visual {
        padding: 10px 0;
    }

    .tech-card-one,
    .tech-card-two {
        display: none;
    }

    .hero-code-window {
        border-radius: 15px;
    }
}

@media (max-width: 575px) {
    .home-hero {
        padding: 45px 0 40px;
    }

    .home-hero-content h2 {
        font-size: 32px;
        line-height: 1.4;
    }

    .home-hero-content h1 {
        font-size: 18px;
    }

    .hero-label {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .hero-status {
        padding: 7px 11px;
    }

    .hero-status p {
        font-size: 9px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-primary-btn,
    .hero-secondary-btn {
        width: 100%;
    }

    .hero-features {
        grid-template-columns: 1fr 1fr;
    }

    .hero-feature {
        min-height: 76px;
        padding: 10px 8px;
    }

    .hero-feature div span {
        font-size: 10px;
    }

    .hero-feature div p {
        font-size: 8px;
    }

    .hero-code-window {
        width: 100%;
    }

    .code-window-header {
        height: 46px;
        padding: 0 12px;
    }

    .code-window-file {
        font-size: 10px;
    }

    .code-window-body {
        min-height: 310px;
        padding: 20px 8px;
    }

    .code-line {
        min-width: 370px;
        font-size: 11px;
    }

    .line-number {
        width: 32px;
        flex-basis: 32px;
    }

    .code-window-footer {
        padding: 0 11px;
    }

}
.services-section {
    padding: 100px 0;
    overflow: hidden;
}

.services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 45px;
}

.services-heading h2 {
    margin: 12px 0 0;
    color: var(--text-primary);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 900;
    line-height: 1.3;
}

.services-heading h2 span {
    color: var(--accent-light);
}

.services-heading > p {
    max-width: 430px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.service-card {
    position: relative;
    min-width: 0;
    padding: 0 22px 22px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-card);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    background: var(--bg-card-hover);
    border-color: rgba(117, 104, 255, 0.35);
}

.service-image {
    position: relative;
    width: calc(100% + 44px);
    height: 180px;
    margin: 0 -22px 22px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-secondary);
}

.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        var(--bg-card),
        transparent 65%
    );
    pointer-events: none;
}

.service-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.service-number {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
}

.service-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(117, 104, 255, 0.2);
    border-radius: 13px;
    color: var(--accent-light);
    background: rgba(117, 104, 255, 0.08);
    font-family: monospace;
    font-size: 13px;
    font-weight: 800;
    transition: 0.35s ease;
}

.service-card:hover .service-icon {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.service-card-content {
    padding-top: 28px;
}

.service-card-content h3 {
    margin: 0 0 12px;
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 800;
}

.service-card-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 2;
}

.service-card-bottom {
    margin-top: 25px;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
}

.service-card-bottom span {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    direction: ltr;
}

.service-card-bottom strong {
    color: var(--accent-light);
    font-size: 18px;
    font-weight: 400;
    transition: 0.3s ease;
}

.service-card:hover .service-card-bottom strong {
    transform: translate(3px, -3px);
}

@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .services-section {
        padding: 70px 0;
    }

    .services-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .services-heading > p {
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 200px;
    }
}

@media (max-width: 575px) {
    .services-section {
        padding: 60px 0;
    }

    .services-heading h2 {
        font-size: 32px;
    }

    .service-card {
        border-radius: 15px;
    }

    .service-image {
        height: 180px;
    }
}

.featured-projects {
    padding: 100px 0;
    overflow: hidden;
}

.projects-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.projects-heading h2 {
    margin: 12px 0 0;
    color: var(--text-primary);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 900;
    line-height: 1.3;
}

.projects-heading h2 span {
    color: var(--accent-light);
}

.projects-view-all {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    background: var(--bg-card);
    font-size: 11px;
    text-decoration: none;
    transition: 0.3s ease;
}

.projects-view-all strong {
    color: var(--accent-light);
    font-size: 17px;
    font-weight: 400;
}

.projects-view-all:hover {
    color: var(--text-primary);
    border-color: rgba(117, 104, 255, 0.35);
    transform: translateY(-3px);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
}

.project-card {
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-card);
    overflow: hidden;
    transition: 0.35s ease;
}

.project-card-large {
    grid-row: span 2;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: rgba(117, 104, 255, 0.35);
    background: var(--bg-card-hover);
}

.project-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.project-card-large .project-image {
    height: 420px;
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 11, 18, 0.7),
        transparent 55%
    );
    pointer-events: none;
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(8, 11, 18, 0.35);
    backdrop-filter: blur(2px);
    transition: 0.35s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--accent);
    font-size: 22px;
    text-decoration: none;
    transform: scale(0.7);
    transition: 0.35s ease;
}

.project-card:hover .project-overlay a {
    transform: scale(1);
}

.project-info {
    padding: 23px;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: var(--text-muted);
    font-family: monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.project-info h3 {
    margin: 0 0 10px;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 800;
}

.project-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 2;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.project-tech span {
    padding: 6px 9px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    font-family: monospace;
    font-size: 8px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .featured-projects {
        padding: 85px 0;
    }

    .featured-projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card-large {
        grid-column: span 2;
        grid-row: auto;
    }

    .project-card-large .project-image {
        height: 360px;
    }
}

@media (max-width: 767px) {
    .featured-projects {
        padding: 70px 0;
    }

    .projects-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 35px;
    }

    .projects-view-all {
        width: 100%;
        justify-content: space-between;
    }

    .featured-projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-card-large {
        grid-column: auto;
    }

    .project-image,
    .project-card-large .project-image {
        height: 240px;
    }
}

@media (max-width: 575px) {
    .featured-projects {
        padding: 60px 0;
    }

    .projects-heading h2 {
        font-size: 32px;
    }

    .project-info {
        padding: 20px;
    }

    .project-image,
    .project-card-large .project-image {
        height: 210px;
    }

    .project-info h3 {
        font-size: 18px;
    }
}

.why-section {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 90px;
}

.why-content {
    min-width: 0;
}

.why-content h2 {
    max-width: 650px;
    margin: 15px 0 22px;
    color: var(--text-primary);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -1.5px;
}

.why-content h2 span {
    color: var(--accent-light);
}

.why-description {
    max-width: 600px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2.1;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 19px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-card);
    transition: 0.35s ease;
}

.why-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(117, 104, 255, 0.3);
    background: var(--bg-card-hover);
}

.why-feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(117, 104, 255, 0.2);
    border-radius: 10px;
    color: var(--accent-light);
    background: rgba(117, 104, 255, 0.08);
    font-family: monospace;
    font-size: 9px;
    font-weight: 700;
}

.why-feature h3 {
    margin: 1px 0 6px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
}

.why-feature p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1.9;
}

.why-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-orbit {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.orbit-one {
    width: 390px;
    height: 390px;
    transform: rotate(-20deg);
}

.orbit-two {
    width: 290px;
    height: 290px;
    border-color: rgba(117, 104, 255, 0.18);
    transform: rotate(30deg);
}

.why-center {
    position: relative;
    z-index: 3;
    width: 190px;
    height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(117, 104, 255, 0.35);
    border-radius: 50%;
    background: var(--bg-secondary);
    box-shadow: 0 25px 70px var(--shadow);
}

.why-center::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(117, 104, 255, 0.12);
    border-radius: 50%;
}

.why-center span {
    position: relative;
    color: var(--accent-light);
    font-family: monospace;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.why-center strong {
    position: relative;
    margin-top: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.why-center small {
    position: relative;
    margin-top: 3px;
    color: var(--text-muted);
    font-family: monospace;
    font-size: 8px;
    letter-spacing: 4px;
}

.why-floating-card {
    position: absolute;
    z-index: 4;
    min-width: 105px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 40px var(--shadow);
}

.why-floating-card span {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 8px;
    font-weight: 700;
}

.why-floating-card strong {
    color: var(--accent-light);
    font-family: monospace;
    font-size: 15px;
}

.why-card-top {
    top: 65px;
    right: 5px;
}

.why-card-bottom {
    bottom: 70px;
    left: 5px;
}

.why-plus {
    position: absolute;
    color: var(--accent-light);
    font-family: monospace;
    font-size: 14px;
    opacity: 0.5;
}

.plus-one {
    top: 80px;
    left: 80px;
}

.plus-two {
    right: 55px;
    bottom: 110px;
}

.plus-three {
    top: 180px;
    right: 15px;
}

@media (max-width: 1199px) {
    .why-grid {
        gap: 55px;
    }

    .why-visual {
        min-height: 450px;
    }

    .orbit-one {
        width: 350px;
        height: 350px;
    }

    .orbit-two {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 991px) {
    .why-section {
        padding: 90px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-content {
        text-align: center;
    }

    .why-content h2,
    .why-description {
        margin-left: auto;
        margin-right: auto;
    }

    .why-features {
        text-align: right;
    }

    .why-visual {
        min-height: 440px;
    }
}

@media (max-width: 767px) {
    .why-section {
        padding: 70px 0;
    }

    .why-content h2 {
        font-size: 38px;
    }

    .why-description {
        font-size: 13px;
    }

    .why-features {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 32px;
    }

    .why-visual {
        min-height: 390px;
    }

    .orbit-one {
        width: 300px;
        height: 300px;
    }

    .orbit-two {
        width: 225px;
        height: 225px;
    }

    .why-center {
        width: 155px;
        height: 155px;
    }

    .why-center span {
        font-size: 40px;
    }

    .why-card-top {
        top: 25px;
        right: 0;
    }

    .why-card-bottom {
        bottom: 35px;
        left: 0;
    }
}

@media (max-width: 575px) {
    .why-section {
        padding: 60px 0;
    }

    .why-content h2 {
        font-size: 32px;
    }

    .why-visual {
        min-height: 330px;
    }

    .orbit-one {
        width: 260px;
        height: 260px;
    }

    .orbit-two {
        width: 195px;
        height: 195px;
    }

    .why-center {
        width: 135px;
        height: 135px;
    }

    .why-center span {
        font-size: 34px;
    }

    .why-center strong {
        font-size: 11px;
    }

    .why-floating-card {
        min-width: 90px;
        padding: 10px 11px;
    }

    .why-card-top {
        top: 15px;
    }

    .why-card-bottom {
        bottom: 20px;
    }
}

.home-cta {
    padding: 100px 0 110px;
}

.home-cta-box {
    position: relative;
    min-height: 390px;
    padding: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(117, 104, 255, 0.25);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(117, 104, 255, 0.18),
            transparent 32%
        ),
        var(--bg-card);
    overflow: hidden;
}

.home-cta-box::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    top: -180px;
    left: -140px;
    border-radius: 50%;
    background: rgba(117, 104, 255, 0.08);
    filter: blur(70px);
}

.home-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.home-cta-content h2 {
    margin: 15px 0 20px;
    color: var(--text-primary);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -1.5px;
}

.home-cta-content h2 span {
    display: block;
    color: var(--accent-light);
}

.home-cta-content p {
    max-width: 610px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2;
}

.home-cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
}

.home-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 11px;
    color: #fff;
    background: var(--accent);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: 0.3s ease;
}

.home-cta-primary strong {
    font-size: 18px;
    font-weight: 400;
    transition: 0.3s ease;
}

.home-cta-primary:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(117, 104, 255, 0.2);
}

.home-cta-primary:hover strong {
    transform: translate(3px, -3px);
}

.home-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    color: var(--text-secondary);
    background: var(--bg-card);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: 0.3s ease;
}

.home-cta-secondary:hover {
    color: var(--text-primary);
    border-color: rgba(117, 104, 255, 0.35);
    transform: translateY(-4px);
}

.home-cta-code {
    position: absolute;
    left: 55px;
    bottom: 45px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    direction: ltr;
    font-family: monospace;
    font-size: 10px;
}

.home-cta-code strong {
    color: var(--accent-light);
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .home-cta {
        padding: 85px 0 95px;
    }

    .home-cta-box {
        min-height: 360px;
        padding: 50px;
    }

    .home-cta-code {
        left: 45px;
        bottom: 35px;
    }
}

@media (max-width: 767px) {
    .home-cta {
        padding: 70px 0 80px;
    }

    .home-cta-box {
        min-height: 0;
        padding: 40px 28px;
        border-radius: 20px;
    }

    .home-cta-content h2 {
        font-size: 38px;
    }

    .home-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-cta-primary,
    .home-cta-secondary {
        width: 100%;
    }

    .home-cta-code {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 35px;
    }
}

@media (max-width: 575px) {
    .home-cta {
        padding: 60px 0 70px;
    }

    .home-cta-box {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .home-cta-content h2 {
        font-size: 31px;
    }

    .home-cta-content p {
        font-size: 12px;
    }
}

.site-footer {
    padding: 75px 0 25px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
}

.footer-logo > span:first-child {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(117, 104, 255, 0.4);
    border-radius: 9px;
    color: #fff;
    background: var(--accent);
    font-family: monospace;
}

.footer-logo span:last-child {
    color: var(--accent-light);
}

.footer-brand p {
    margin: 20px 0 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 2;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-title {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-family: monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    direction: ltr;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 11px;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(-4px);
}

.footer-bottom {
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: monospace;
    font-size: 8px;
    letter-spacing: 0.3px;
    direction: ltr;
}

@media (max-width: 991px) {
    .site-footer {
        padding-top: 60px;
    }

    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 55px 0 22px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 45px 25px;
        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-links {
        gap: 11px;
    }

    .footer-bottom {
        font-size: 7px;
    }
}