:root {
    --primary: #267cff;
    --primary-dark: #1554f6;
    --secondary: #8738ff;
    --cyan: #00d9ff;

    --dark: #030b1b;
    --dark-2: #07142a;
    --dark-3: #0c1b37;

    --white: #ffffff;
    --muted: #aab6ce;

    --gradient:
        linear-gradient(
            135deg,
            #176cff,
            #8238ff,
            #00d4ff
        );
}

/* =========================
GENERAL
========================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: white;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    color: #3a8cff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
}

.dark-title {
    color: #07142a;
}

.section-description {
    color: #9aa8bf;
    max-width: 650px;
}

/* =========================
NAVBAR
========================= */

.custom-navbar {
    padding: 18px 0;
    transition: .3s;
}

.custom-navbar.scrolled {
    background: rgba(3, 11, 27, .92);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
    padding: 10px 0;
}

.brand-logo {
    font-size: 27px;
    font-weight: 900;
    color: white;
}

.brand-logo span {
    color: #396fff;
}

.nav-link {
    color: #c9d0dd !important;
    font-size: 14px;
    transition: .3s;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.btn-gradient {
    background: var(--gradient);
    border: none;
    color: white;
    box-shadow: 0 8px 30px rgba(86, 70, 255, .35);
}

.btn-gradient:hover {
    color: white;
    transform: translateY(-2px);
}

.btn-outline-glow {
    border: 1px solid #14d7ff;
    color: white;
}

.btn-outline-glow:hover {
    background: #14d7ff;
    color: #041020;
}

/* =========================
HERO
========================= */

.hero-section {
    position: relative;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 70% 45%,
            rgba(105, 34, 255, .28),
            transparent 27%
        ),
        radial-gradient(
            circle at 85% 60%,
            rgba(0, 174, 255, .20),
            transparent 25%
        ),
        #030b1b;

    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    left: -300px;
    bottom: -350px;

    width: 700px;
    height: 700px;

    background:
        radial-gradient(
            circle,
            rgba(52, 76, 255, .28),
            transparent 70%
        );
}

.hero-content {
    z-index: 2;
}

.small-title {
    color: #e5edff;
}

.small-title i {
    font-size: 9px;
    color: #00d4ff;
}

.hero-content h1 {
    font-size: clamp(55px, 8vw, 88px);
    font-weight: 800;
    line-height: .95;
}

.hero-content h1 span {

    background: var(--gradient);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}

.hero-role {
    margin-top: 25px;
    font-weight: 600;
}

.hero-role .divider {
    color: #287cff;
    margin: 0 10px;
}

.hero-description {
    margin-top: 25px;
    line-height: 1.8;
    color: #a9b7ce;
    max-width: 590px;
}

.social-links {
    display: flex;
    gap: 13px;
}

.social-links a {

    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: rgba(255,255,255,.07);

    color: white;

    transition: .3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* =========================
HERO IMAGE
========================= */

.hero-image-wrapper {

    position: relative;

    width: min(520px, 100%);
    height: 590px;

    margin: auto;

    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.neon-ring {

    position: absolute;

    width: 430px;
    height: 430px;

    top: 90px;

    border-radius: 50%;

    border: 6px solid #147dff;

    box-shadow:
        0 0 30px #147dff,
        0 0 80px rgba(130, 54, 255, .8);

    background:
        radial-gradient(
            circle,
            #123865,
            #071329 65%
        );
}

.hero-profile {

    position: relative;
    z-index: 2;

    max-height: 550px;
    max-width: 100%;

    object-fit: contain;
}

.floating-card {

    position: absolute;

    z-index: 4;

    background:
        linear-gradient(
            135deg,
            rgba(17, 59, 110, .96),
            rgba(36, 18, 97, .93)
        );

    border: 1px solid #2b9bff;

    border-radius: 16px;

    padding: 14px 22px;

    box-shadow:
        0 0 30px rgba(0, 162, 255, .35);

    animation: floating 4s ease-in-out infinite;
}

.floating-card i {
    color: #33b4ff;
    margin-right: 8px;
}

.floating-code {
    left: 0;
    top: 170px;
}

.floating-create {
    right: 10px;
    top: 120px;
}

.floating-grow {
    right: -10px;
    bottom: 150px;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* =========================
LIGHT SECTION
========================= */

.light-section {
    background:
        linear-gradient(
            135deg,
            #f9fbff,
            #eef4ff
        );
}

.about-text {
    color: #62708a;
    line-height: 1.9;
}

.stat-box h3 {
    color: #136cff;
    font-weight: 800;
}

.stat-box p {
    color: #77849a;
    font-size: 13px;
}

.about-image-box {
    position: relative;
    text-align: center;
}

.about-image-box img {
    position: relative;
    z-index: 2;
    max-height: 520px;
}

.about-gradient {

    position: absolute;

    width: 400px;
    height: 400px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%)
        rotate(25deg);

    border-radius: 35%;

    background:
        linear-gradient(
            135deg,
            #1659ff,
            #8a3eff
        );
}

.about-note {

    position: absolute;
    z-index: 4;

    left: 10%;
    top: 15%;

    color: #172967;

    font-size: 24px;
    font-weight: 700;

    transform: rotate(-8deg);
}

/* =========================
SERVICES
========================= */

.services-section {

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(82, 23, 255, .18),
            transparent 25%
        ),
        #050d20;
}

.service-card {

    height: 100%;

    padding: 28px 22px;

    border-radius: 18px;

    border: 1px solid rgba(87, 101, 255, .4);

    background:
        linear-gradient(
            145deg,
            rgba(19, 43, 75, .70),
            rgba(31, 15, 66, .70)
        );

    transition: .4s;
}

.service-card:hover {

    transform: translateY(-12px);

    border-color: #5d75ff;

    box-shadow:
        0 18px 50px rgba(66, 45, 255, .18);
}

.service-icon {

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--gradient);

    font-size: 24px;

    margin-bottom: 25px;
}

.service-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.service-card p {

    color: #9aa8c2;

    font-size: 14px;

    line-height: 1.7;
}

.service-card a {

    color: #66baff;

    font-size: 14px;

    font-weight: 700;
}

/* =========================
FEATURES
========================= */

.feature-section {
    background: #07142a;
}

.feature-card {

    min-height: 470px;

    border-radius: 25px;

    padding: 45px;

    position: relative;

    overflow: hidden;
}

.feature-card h2 {
    font-size: 42px;
    font-weight: 800;
}

.ai-feature {

    background:
        linear-gradient(
            145deg,
            #090d2c,
            #29135d
        );
}

.mobile-feature {

    background:
        linear-gradient(
            145deg,
            #075459,
            #061b39
        );
}

.feature-list {

    list-style: none;

    padding: 0;

    margin: 30px 0;
}

.feature-list li {
    margin: 12px 0;
}

.feature-list i {
    color: #22bfff;
    margin-right: 10px;
}

.feature-background-icon {

    position: absolute;

    font-size: 200px;

    right: -25px;
    bottom: -45px;

    opacity: .10;
}

/* =========================
PROJECT
========================= */

.project-card {

    height: 100%;

    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 15px 45px rgba(17, 35, 70, .08);

    transition: .4s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 190px;
    overflow: hidden;
}

.project-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-body {
    padding: 22px;
}

.project-body h4 {
    color: #081832;
    font-size: 18px;
}

.project-body p {
    color: #718097;
    font-size: 14px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tech-tags span {

    padding: 5px 10px;

    background: #edf4ff;

    color: #166eff;

    border-radius: 20px;

    font-size: 11px;
}

/* =========================
SKILLS
========================= */

.skills-section {
    background: #061126;
}

.skills-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 20px;
}

.skill-card {

    background:
        rgba(255,255,255,.04);

    border:
        1px solid rgba(72, 116, 255, .25);

    border-radius: 17px;

    padding: 28px;

    text-align: center;

    transition: .4s;
}

.skill-card i {

    font-size: 38px;

    background: var(--gradient);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card span {

    display: block;

    margin-top: 15px;

    color: #d8e2f5;

    font-weight: 600;
}

.skill-card:hover {

    transform: translateY(-8px);

    border-color: #327cff;

    box-shadow:
        0 15px 40px
        rgba(36, 112, 255, .15);
}

/* ==========================================
   SKILLS
========================================== */

.skills-wrapper {
    width: 100%;
}


/* Grid */

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* Card */

.skill-card {
    min-height: 110px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 10px;

    padding: 18px;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    background:
        rgba(255, 255, 255, 0.04);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}


.skill-card i {
    font-size: 32px;

    color: #38bdf8;
}


.skill-card span {
    font-size: 14px;

    font-weight: 600;
}


.skill-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(56, 189, 248, 0.5);

    background:
        rgba(56, 189, 248, 0.08);
}


/* ==========================================
   HIDDEN SKILLS
========================================== */

.skill-hidden {
    display: none;
}


/* When expanded */

.skills-grid.show-all .skill-hidden {
    display: flex;

    animation:
        skillFadeIn 0.4s ease forwards;
}


@keyframes skillFadeIn {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==========================================
   SHOW MORE BUTTON
========================================== */

.skills-more-wrapper {
    display: flex;

    justify-content: center;

    margin-top: 35px;
}


.skills-more-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 12px 24px;

    border-radius: 50px;

    border: 1px solid
        rgba(56, 189, 248, 0.4);

    color: #fff;

    background:
        rgba(56, 189, 248, 0.08);

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}


.skills-more-btn:hover {
    transform: translateY(-2px);

    background:
        rgba(56, 189, 248, 0.16);

    border-color: #38bdf8;

    box-shadow:
        0 10px 30px
        rgba(56, 189, 248, 0.12);
}


.skills-more-btn i {
    transition:
        transform 0.3s ease;
}


/* Rotate arrow */

.skills-more-btn.active i {
    transform: rotate(180deg);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .skills-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


@media (max-width: 767px) {

    .skills-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }


    .skill-card {
        min-height: 95px;

        padding: 14px;
    }


    .skill-card i {
        font-size: 27px;
    }

}


@media (max-width: 400px) {

    .skills-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}

/* =========================
TESTIMONIAL
========================= */

.testimonials-section {

    background:
        linear-gradient(
            135deg,
            #f7f9fd,
            #edf3ff
        );
}

.testimonial-card {

    background: white;

    padding: 30px;

    border-radius: 20px;

    box-shadow:
        0 12px 40px
        rgba(24, 51, 100, .08);
}

.testimonial-card p {

    color: #586a83;

    line-height: 1.8;
}

.testimonial-card h5 {
    color: #08172f;
}

.testimonial-card small {
    color: #8b97a9;
}

.stars {
    color: #ffae00;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* =========================
CONTACT
========================= */

.contact-section {

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(119, 37, 255, .18),
            transparent 30%
        ),
        #041026;
}

.contact-item {

    display: flex;

    align-items: center;

    gap: 15px;

    margin: 27px 0;
}

.contact-icon {

    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gradient);
}

.contact-item small {
    color: #8191ad;
}

.contact-item p {
    margin: 3px 0 0;
}

.contact-form-card {

    padding: 40px;

    border-radius: 25px;

    border:
        1px solid rgba(63, 110, 255, .3);

    background:
        rgba(255,255,255,.035);

    backdrop-filter: blur(20px);
}

.form-label {

    color: #bdc8dd;

    font-size: 13px;
}

.form-control {

    background: #091a35;

    border:
        1px solid #17365b;

    color: white;

    padding: 14px 16px;

    border-radius: 10px;
}

.form-control:focus {

    background: #091a35;

    color: white;

    border-color: #3287ff;

    box-shadow:
        0 0 0 .2rem
        rgba(50, 135, 255, .12);
}

/* =========================
FOOTER
========================= */

.footer {

    background: #020817;

    border-top:
        1px solid rgba(255,255,255,.07);

    padding: 30px 0;

    color: #8a99b2;

    font-size: 13px;
}

#backToTop {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: none;

    background: var(--gradient);

    color: white;

    display: none;

    z-index: 999;
}

/* =========================
ANIMATION
========================= */

.reveal {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.active {

    opacity: 1;

    transform: translateY(0);
}

/* =========================
RESPONSIVE
========================= */

@media(max-width: 991px) {

    .custom-navbar {
        background: #030b1b;
    }

    .navbar-collapse {
        padding: 20px 0;
    }

    .hero-section {
        padding-top: 100px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content .d-flex,
    .hero-content .social-links {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 30px;
    }

    .skills-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }
}

@media(max-width: 767px) {

    .section-padding {
        padding: 75px 0;
    }

    .section-title {
        font-size: 34px;
    }

    .hero-content h1 {
        font-size: 54px;
    }

    .hero-role {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .hero-role .divider {
        display: none;
    }

    .hero-image-wrapper {
        height: 450px;
    }

    .neon-ring {
        width: 330px;
        height: 330px;
    }

    .hero-profile {
        max-height: 420px;
    }

    .floating-card {
        font-size: 12px;
        padding: 10px 13px;
    }

    .skills-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .feature-card {
        padding: 30px;
    }

    .feature-card h2 {
        font-size: 32px;
    }

    .contact-form-card {
        padding: 25px;
    }
}

@media(max-width: 480px) {

    .hero-content h1 {
        font-size: 46px;
    }

    .skills-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .skill-card {
        padding: 20px 10px;
    }
}