@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #6c63ff;
    --primary-dark: #554de0;
    --dark: #0b1020;
    --dark-2: #11182d;
    --text: #626b7a;
    --white: #ffffff;
    --light: #f7f8fc;
    --border: #e7e9f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 100px 0;
}

/* NAVBAR */

.custom-navbar {
    padding: 18px 0;
    background: rgba(11, 16, 32, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 27px;
    font-weight: 800;
    color: #fff;
}

.navbar-brand span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    margin-right: 7px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
}

.nav-link {
    color: #d9dce7 !important;
    font-weight: 500;
    margin: 0 8px;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* BUTTONS */

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-custom {
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.4);
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--dark);
}

.btn-light-custom {
    background: #fff;
    color: var(--dark);
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 700;
}

.btn-light-custom:hover {
    background: #f0f0f0;
    color: var(--dark);
}

/* HERO */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 80px;
    background:
        radial-gradient(circle at 80% 20%, rgba(108,99,255,0.2), transparent 30%),
        var(--dark);
    color: #fff;
    overflow: hidden;
}

.small-heading {
    color: #9c96ff;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.hero-content h1 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 650px;
    color: #b7bdcc;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: 1px solid #30384e;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-image-wrapper {
    min-height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6c63ff, #292f62);
    position: absolute;
    opacity: 0.8;
}

.profile-placeholder {
    width: 310px;
    height: 390px;
    border-radius: 160px 160px 30px 30px;
    background: #171f38;
    border: 2px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 130px;
    color: #777cff;
}

.floating-card {
    position: absolute;
    z-index: 3;
    background: #fff;
    color: var(--dark);
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
}

.floating-card i {
    color: var(--primary);
    font-size: 20px;
}

.card-one {
    left: 0;
    top: 25%;
}

.card-two {
    right: 0;
    bottom: 22%;
}

/* SECTION HEADING */

.section-heading {
    margin-bottom: 55px;
}

.section-heading span {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
}

.section-heading h2 {
    font-size: 40px;
    font-weight: 800;
    margin-top: 8px;
}

.section-heading h2 strong {
    color: var(--primary);
}

.section-heading p {
    color: var(--text);
}

/* ABOUT */

.about-card {
    padding: 40px;
    background: var(--dark);
    color: #fff;
    border-radius: 18px;
}

.about-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--primary);
    font-size: 30px;
    margin-bottom: 25px;
}

.about-card p {
    color: #b8bdca;
}

.about-content {
    padding-left: 40px;
}

.about-content h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text);
}

.about-info {
    margin-top: 30px;
}

.info-item {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.info-item span {
    display: block;
    font-size: 13px;
    color: var(--text);
}

.info-item strong {
    display: block;
    margin-top: 4px;
}

/* SKILLS */

.skills-section,
.projects-section {
    background: var(--light);
}

.skill-card {
    background: #fff;
    padding: 28px 15px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: 0.3s;
}

.skill-card i {
    font-size: 38px;
    color: var(--primary);
}

.skill-card h5 {
    margin-top: 12px;
    margin-bottom: 0;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* SERVICES */

.service-card {
    height: 100%;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: 0.3s;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    border-color: rgba(108,99,255,0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(108,99,255,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text);
}

.service-card a,
.project-content a {
    color: var(--primary);
    font-weight: 700;
}

/* PROJECTS */

.project-card {
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.project-image {
    height: 210px;
    background: linear-gradient(135deg, #11182d, #6c63ff);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 70px;
}

.project-content {
    padding: 28px;
}

.project-content span {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.project-content h3 {
    margin: 8px 0;
}

.project-content p {
    color: var(--text);
}

/* CTA */

.cta-section {
    padding: 80px 0;
    background: var(--dark);
}

.cta-box {
    color: #fff;
    max-width: 850px;
    margin: auto;
}

.cta-box span {
    color: #aaa5ff;
    font-weight: 700;
    letter-spacing: 2px;
}

.cta-box h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 12px 0;
}

.cta-box h2 strong {
    color: #8b85ff;
}

.cta-box p {
    color: #b7bdcc;
    margin-bottom: 30px;
}

/* CONTACT */

.contact-card {
    padding: 45px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 28px;
    color: var(--primary);
}

.contact-item h5 {
    margin-top: 10px;
}

.contact-item p {
    color: var(--text);
    font-size: 14px;
}

/* FOOTER */

footer {
    padding: 35px 0;
    background: #080c18;
    color: #fff;
}

footer h4 {
    font-weight: 800;
}

footer h4 span {
    color: var(--primary);
}

footer p {
    color: #9da4b5;
    margin-bottom: 0;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .navbar-collapse {
        background: var(--dark);
        padding: 20px;
        margin-top: 15px;
        border-radius: 12px;
    }

    .hero-section {
        padding-top: 150px;
    }

    .hero-image-wrapper {
        margin-top: 50px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 35px;
    }

}

@media (max-width: 576px) {

    .section-padding {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .hero-content h2 {
        font-size: 22px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
    }

    .profile-placeholder {
        width: 240px;
        height: 310px;
    }

    .floating-card {
        font-size: 11px;
        padding: 10px;
    }

    .card-one {
        left: 0;
    }

    .card-two {
        right: 0;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .cta-box h2 {
        font-size: 30px;
    }

}