/*
Theme Name:     MR.ROSHAN
Theme URI:      https://roshanmainali.com.np
Author:         Roshan Mainali
Author URI:     https://facebook.com/mroshan15200
Description:    This theme is not available for you to download or buy. It can be a full custom theme,and 
                design specificly for specific organization .
Version:        1.1
License:        GNU General Public License v3 or later
License URI:    http://www.gnu.org/licenses/gpl-3.0.html
Tags:           radik,isp

*/
/*
 * Globals
 */
:root {
    --primary: #6c63ff;
    --primary-dark: #5148e5;
    --secondary: #00d4ff;
    --dark: #080b14;
    --dark-2: #0e1220;
    --card: #121827;
    --border: rgba(255,255,255,.08);
    --text: #f4f7fb;
    --muted: #98a2b3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* NAVBAR */

.navbar {
    background: rgba(8, 11, 20, .82);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: white !important;
}

.navbar-brand span {
    color: var(--primary);
}

.nav-link {
    color: #b8c0cf !important;
    margin-left: 15px;
    transition: .3s;
}

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

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(180px);
    opacity: .18;
    top: -250px;
    right: -150px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: var(--secondary);
    filter: blur(200px);
    opacity: .10;
    bottom: -250px;
    left: -150px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(108, 99, 255, .3);
    background: rgba(108, 99, 255, .08);
    border-radius: 50px;
    color: #bcb8ff;
    font-size: .85rem;
    margin-bottom: 25px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #36d399;
    box-shadow: 0 0 10px #36d399;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.2rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -4px;
}

.gradient-text {
    background: linear-gradient(
        90deg,
        #ffffff,
        #8d87ff,
        #00d4ff
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-top: 25px;
}

.btn-primary-custom {
    background: var(--primary);
    border: none;
    padding: 13px 24px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    transition: .3s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    transition: .3s;
}

.btn-outline-custom:hover {
    background: rgba(255,255,255,.06);
    color: white;
}

/* CODE WINDOW */

.code-window {
    background: #0b0f19;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 30px 100px rgba(0,0,0,.4);
    overflow: hidden;
    transform: rotate(2deg);
}

.window-header {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 7px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
}

.code-body {
    padding: 25px;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.9;
    color: #aab4c8;
}

.code-purple {
    color: #c084fc;
}

.code-blue {
    color: #60a5fa;
}

.code-green {
    color: #4ade80;
}

.code-yellow {
    color: #facc15;
}

/* GENERAL */

section {
    padding: 110px 0;
}

.section-label {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-description {
    color: var(--muted);
    max-width: 650px;
    line-height: 1.8;
}

/* STATS */

.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 45px 0;
}

.stat-number {
    font-size: 2.7rem;
    font-weight: 800;
}

.stat-label {
    color: var(--muted);
    font-size: .9rem;
}

/* CARDS */

.glass-card {
    background: rgba(18, 24, 39, .72);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    transition: .35s;
}

.glass-card:hover {
    transform: translateY(-7px);
    border-color: rgba(108, 99, 255, .35);
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.icon-box {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(108,99,255,.12);
    color: #8d87ff;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.glass-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.glass-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: .95rem;
}

/* SKILLS */

.skill {
    margin-bottom: 25px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-header span:first-child {
    font-weight: 600;
}

.skill-header span:last-child {
    color: var(--muted);
    font-size: .85rem;
}

.progress {
    height: 6px;
    background: #1c2333;
}

.progress-bar {
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
}

.tech-badge {
    display: inline-block;
    padding: 9px 13px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #c9d1df;
    margin: 5px;
    font-size: .85rem;
}

/* PROJECTS */

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    transition: .35s;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: rgba(108,99,255,.4);
}

.project-top {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(108,99,255,.3), transparent 40%),
        #0d1220;
}

.project-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.project-body {
    padding: 27px;
}

.project-body h4 {
    font-weight: 700;
}

.project-body p {
    color: var(--muted);
    line-height: 1.7;
}

.project-link {
    color: #a7a2ff;
    font-weight: 600;
}

/* TIMELINE */

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 1px solid var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 45px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 6px;
    width: 11px;
    height: 11px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(108,99,255,.12);
}

.timeline-date {
    color: var(--primary);
    font-size: .85rem;
    font-weight: 600;
}

.timeline-item h4 {
    margin-top: 7px;
    font-weight: 700;
}

.timeline-item p {
    color: var(--muted);
    line-height: 1.7;
}

/* CONTACT */

.contact-box {
    padding: 70px;
    border-radius: 25px;
    background:
        radial-gradient(
            circle at top right,
            rgba(108,99,255,.18),
            transparent 45%
        ),
        var(--card);
    border: 1px solid var(--border);
}

.social-link {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: white;
    margin-right: 7px;
    transition: .3s;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* FOOTER */

footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .hero {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .code-window {
        margin-top: 60px;
        transform: none;
    }

}

@media (max-width: 576px) {

    .hero h1 {
        letter-spacing: -2px;
    }

    section {
        padding: 80px 0;
    }

    .contact-box {
        padding: 35px 25px;
    }

}