html,
body {
    background: #0b1220;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    height: 100%;
    /* display: flex; */
    flex-direction: column;
    padding: 0;
    width: 100%;

}


/* NAVBAR */
/* Navbar Styling */
.navbar {
    background: radial-gradient(circle at top left, #16233a, #0b1220);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    color: #fff;
    font-size: 26px;
}

.navbar-brand:hover {
    color: #7aa7ff;
}

/* Nav Links */
.nav-link {
    color: #d7e3ff;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #7aa7ff;
}

/* Desktop Button */
.btn-talk {
    background: #2a4bff;
    color: #fff;
    border-radius: 25px;
    padding: 8px 18px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-talk:hover {
    transform: translateY(-2px);
}

/* Toggle Button (3 line icon only) */
.navbar-toggler {
    border: none;
    background: transparent !important;
}

.navbar-toggler-icon {
    background-image: none;
    width: 28px;
    height: 20px;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.navbar-toggler-icon::after {
    bottom: 0;
}

.btn-talk {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

/* Mobile Button Styling */
.d-lg-none .btn-talk {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    margin-top: 15px;
}


/* Custom Modal Styling  */

.custom-modal {
     background: radial-gradient(circle at top left, #16233a, #0b1220);                     /* Dark background */
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;                     /* Smooth corners */
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45); /* Soft shadow */
    overflow: hidden;
}

.custom-modal .modal-header,
.custom-modal .modal-footer {
    padding: 18px 22px;
    border: 0;
}

.custom-modal .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.custom-modal .modal-body {
    padding: 0 22px 18px;
}

.contact-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.06);
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: transform 0.2s ease, background 0.2s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
}

.contact-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

/* Copy Button (Professional look) */
.btn-copy {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Close button color */
.btn-close-white {
    filter: invert(1);
}

/* Footer button style */
.custom-modal .btn-secondary {
    background: #1f2430;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 8px 14px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.custom-modal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}


/* HERO SECTION */
/* ===================== HERO SECTION ===================== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 75vh;
    height: auto;
    background: radial-gradient(circle at right, #162c56, #0b1220);

}

/* CANVAS (dots background) */
#dots-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* CONTAINER ON TOP */
.hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    margin-top: 25px;
}

/* ROW (desktop alignment) */
.hero .row {
    height: 100%;
    align-items: center;
}

/* IMAGE */
.profile-wrap {
    width: 420px;
    margin: auto;
}

.profile-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

/* TEXT */
.hero .hello {
    font-size: 18px;
    color: #b0c7ff;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 49px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.hero h2.typing-text {
    font-size: 28px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 12px;
    color: #b7d9ff;
}

.hero p {
    font-size: 20px;
    color: #c3d7f3;
    line-height: 1.6;
    max-width: 520px;

}

/* BUTTONS */
.btn-work,
.btn-cv {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 30px;
    color: #fff;
    /* padding: 8px 20px; */
    border: none;
    margin: 5px;
    font-weight: 600;
    font-size: 14px;
}

/* STATS */
.stats {
    color: #c7d7f7;
    font-weight: 500;
    font-size: 15px;
}

/* GRADIENT TEXT (optional) */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* about section */
.badge-top {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.5px;
    /* text-transform: uppercase; */
    color: #3ea6ff;
    background: rgba(62, 166, 255, 0.12);
    border: 1px solid rgba(62, 166, 255, 0.35);
    box-shadow: 0 0 25px rgba(62, 166, 255, 0.15);
    backdrop-filter: blur(8px);
    animation: badgeGlow 3s ease-in-out infinite;
}

.about-section {
    background: radial-gradient(circle at top left, #16233a, #0b1220);
    /* min-height: 100vh; */
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.about-text {
    color: #b9c4d3;
    font-size: 15px;
    line-height: 1.7;
}

/* Info Cards */
.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.info-card h5 {
    color: #ffffff;
    font-size: 18px;
}

.info-card p {
    color: #b9c4d3;
    font-size: 14px;
    margin-bottom: 0;
}

.icon {
    font-size: 28px;
    color: #3ea6ff;
    margin-right: 15px;
}

/* Skills */
.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.skill {
    padding: 10px 18px;
    animation: float 6s ease-in-out infinite;
    border-radius: 30px;
    background: rgba(62, 166, 255, 0.1);
    border: 1px solid rgba(62, 166, 255, 0.3);
    color: #3ea6ff;
    font-size: 14px;
    transition: 0.3s;
}

.skill:hover {
    background: rgba(62, 166, 255, 0.2);
    transform: translateY(-3px);
}

.skill.wide {
    padding: 10px 24px;
}

/* prjection section */
.projects-section {
    background: radial-gradient(circle at right, #162c56, #0b1220);
}

.projects-section h2 {
    text-align: center;
    font-size: 40px;
}

.project-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 22px;
    padding: 15px;
    color: #ffffff;
    transition: 0.4s;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 1px;
    margin-bottom: 18px;
}

.project-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 14px;
    color: #b9c4d3;
    line-height: 1.6;
}

.project-img-wrapper {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

/* Center Arrow */
.project-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);

    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 22px;

    opacity: 0;
    transition: 0.4s ease;
    z-index: 2;
}

/* Overlay dark effect */
.project-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: 0.4s ease;
}

/* Hover on whole card */
.project-card:hover .project-link {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.project-card:hover .project-img-wrapper::after {
    opacity: 1;
}

/* Image zoom */
.project-img-wrapper img {
    width: 100%;
    transition: 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

/* Arrow hover */
.project-link:hover {
    background: #3ea6ff;
}


/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tags span {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #3ea6ff;
    background: rgba(62, 166, 255, 0.12);
    border: 1px solid rgba(62, 166, 255, 0.3);
}

/* Button */
.view-btn {
    padding: 14px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #3ea6ff, #1e78ff);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    margin: 10px;
}

.view-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

/* footer */
.footer {
    background: radial-gradient(circle at top left, #16233a, #0b1220);
    color: #cfd8e6;
    padding: 50px 0 20px;
    margin-top: auto;
}


.footer h5 {
    color: #ffffff;
    font-weight: 700;
}

.footer p {
    color: #b8c6e2;
    line-height: 1.4;
}

.footer .line {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 25px 0;
}

.footer a {
    color: #b8c6e2;
    text-decoration: none;

}

.footer a:hover {
    color: #fff;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    margin-right: 10px;
    color: #b8c6e2;
}

.footer .bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: #9aa8c8;
}

/* skill */

.skill-section {
    background: radial-gradient(circle at right, #162c56, #0b1220);
    /* font-size: 25px; */
}

/* Heading */

.skills-heading h2 {
    color: #ffffff;
    font-weight: 700;
}

.skills-heading p {
    color: #b0c4de;
    max-width: 650px;
    margin: auto;
    font-size: 15px;
    line-height: 1.7;
}

/* Cards */
.skill-card {
    background: #0e1729;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(0, 0, 0, .5);
    height: 100%;
}

.skill-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Skill Items */
.skill-item {
    margin-bottom: 18px;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
}

.skill-percent {
    font-size: 12px;
    color: #9fb6d9;
}

/* Badges */
.badge-expert {

    background: rgba(62, 166, 255, 0.1);
    border: 1px solid rgba(62, 166, 255, 0.3);
    color: #1ec98b;
    ;
}

.badge-advanced {
    /* background: #2f80ed; */
    background: rgba(62, 166, 255, 0.1);
    border: 1px solid rgba(62, 166, 255, 0.3);
    color: #2f80ed;
}

/* Progress */
.progress {
    height: 6px;
    background: #24344d;
}


.progress-bar {
    border-radius: 10px;
}


/* full cv */
.cv-section {
    background: radial-gradient(circle at right, #162c56, #0b1220);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    

}

/* Page wrapper */
.page-wrapper {
    text-align: center;
    
}

/* Resume card (WHITE hi rahega) */
.resume {
    background: #ffffff;
    width: 100%;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    
}
.strong{
    color: black;
}
/* Header */
.profile {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;

}

.profile img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #06b6d4;
    /* blue accent */
    background: radial-gradient(circle at right, #162c56, #0b1220);
}

.profile h3 {
    margin-bottom: 5px;
    color: black;
    font-weight: bold;
}



/* Section titles */
.section-title {
    font-size: 14px;
    font-weight: bolder;
    margin-top: 28px;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: black;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #2563eb;
    margin-top: 6px;
    border-radius: 5px;
}

.bio {
    font-size: 13px;
    color: black;
    line-height: 1.3;
    max-width: 520px;
}
.contact-item {
    margin-right: 29px;
}


/* Skills badges */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 8px 10px;
    /* row gap , column gap */
    text-align: center;
}

.skill-badge {
    display: inline-block;
    border: 1px solid rgb(0, 0, 0);
    color: white;
    padding: 4px 0px;
    font-size: 12px;
    margin: 4px 4px 0 0;
    border-radius: 6px;
    font-weight: 500;
}


/* Lists */
ul {
    padding-left: 18px;
}

ul li {
    margin-bottom: 6px;
    color: #1e293b;
}

/* Links */
.resume a {
    color: black;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    margin-right: 29px;
}

.resume a:hover {
    border-bottom: 1px solid #2563eb;
}

@media (max-width: 768px) {
    .resume {
        padding: 0px 0px 0px 5px;
       
    }

    /* .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    } */

    /* .bio {
        max-width: 100%;
    } */
}

/* contact */

.contact-section {
    background: radial-gradient(circle at right, #162c56, #0b1220);
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
}

/* Cards */
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 0 35px rgba(0, 0, 0, .5);
    height: 100%;
}

/* Headings */
.contact-card h4 {
    font-weight: 700;
}

.contact-card p {
    color: #a9b7d1;
    font-size: 14px;
}

/* Inputs */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
}

.form-control::placeholder {
    color: #8fa3c8;
}

.form-control:focus {
    background: #2a3443;
    color: #fff;
    box-shadow: none;
    border: 1px solid #2f80ed;
}

/* Button */
.btn-send {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
}

.btn-send:hover {
    opacity: .9;
}

/* Info boxes */
.info-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-icon {
    width: 42px;
    height: 42px;
    background: #2f80ed;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Social */
.social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: radial-gradient(circle at right, #162c56, #0b1220);
    color: #fff;
    margin-right: 8px;
}

/* Quick response */
.quick {
    background: #183f33;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.quick i {
    color: #22c55e;
    font-size: 18px;
}


/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .hero .row {
        align-items: flex-start;
    }

    .profile-wrap {
        width: 260px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        max-width: 100%;
        text-align: center;
    }

    .hero h2.typing-text {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero h2.typing-text {
        font-size: 18px;
    }

    .hero p {
        font-size: 14px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(3, auto);
    }
}