.project__name {
    font-size: 15px;
    text-align: center;
    color: #149ddd;
    font-weight: 700;
    font-family: "Times New Roman";
    margin-top: 10px;
}

.resume_download {
    text-align: center;
    margin-bottom: 50px;
}

@media only screen and (max-width: 1200px) {
    .resume_download {

        margin-bottom: 0px;
    }
}

.resume_download > a{
    padding: 15px;
    background-color: #149ddd;
    color: #ffffff;
    border: none;
    border-radius: 10px;

}

.resume_download > a:link{

    color: #ffffff;
    font-weight: 300;

}

.resume_download > a:hover {

    background-color: #ffffff;
    color: #149ddd;
    border: none;

}


.nb
{
    color: #149ddd;
    font-weight: bolder;
    font-size: 20px;
}


.tutorial{
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
    padding: 50PX 0 50PX 0;
    background-color: #040b14;
}

.tutorial__header{
    color: #149ddd;
}

.tutorial__content{
    color: ghostwhite;
}

.tutorial__topic__header
{
    font-size: 25px;
    color: rgba(1, 163, 163, 0.85);
    font-weight: bolder;
}
.tutorial__align{
    display: flex;
    flex-direction: row;
    justify-self: center;
    align-items: center;
    font-size: 15px;
}
.tutorial__image{
    height: 250px;
}

/* ===== Hero offset to avoid sidebar overlap (desktop) ===== */
@media (max-width: 1200px) {
    #hero {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 1200px) {
    #hero {
        padding-left: 300px;
    }
}
/* ===== Hero improvements for multi-line content ===== */
#hero p {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.5;
}

/* keep the typed part visually strong */
#hero p .typed {
    font-size: 26px;
    font-weight: 600;
}

/* Mobile tweaks */
@media (max-width: 576px) {
    #hero h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    #hero p {
        font-size: 16px;
    }

    /* Stack buttons nicely on mobile */
    #hero .btn {
        width: 100%;
        max-width: 320px;
    }
}
#hero:before {
    background: rgba(5, 13, 24, 0.75);
}



.skills .card { border-radius: 14px; }
.skills ul li { margin-bottom: 10px; line-height: 1.55; }
.skills ul li:last-child { margin-bottom: 0; }

/* --- Portfolio: senior card style --- */
.portfolio-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.portfolio-media{ position:relative; }

.portfolio-media img{
    height:190px;
    width:100%;
    object-fit:cover;
    display:block;
}

/* Actions: small floating buttons (no big bar) */
.portfolio-actions{
    position:absolute;
    right:12px;
    bottom:12px;
    display:flex;
    gap:8px;
    opacity:0;
    transform:translateY(6px);
    transition:.2s ease;
}

.portfolio-card:hover .portfolio-actions{
    opacity:1;
    transform:translateY(0);
}

.action-btn{
    width:38px;
    height:38px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.65);
    color:#fff;
}

.action-btn:hover{ background:rgba(0,0,0,.8); color:#fff; }

.portfolio-caption{
    padding:14px 14px 16px;
    text-align:left;
}

.portfolio-caption h4{
    font-size:16px;
    font-weight:700;
    margin:0;
}

.portfolio-caption p{
    font-size:13px;
    opacity:.85;
    margin:6px 0 10px;
}

/* Mobile: no hover → always show actions */
@media (max-width: 768px){
    .portfolio-actions{
        opacity:1;
        transform:none;
    }
}

/* ---------- Flex gap helpers (Bootstrap 4 compatible) ---------- */
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: 1rem; }

/* Fallback when gap isn't supported (older browsers) */
.gap-2 > * { margin-right: .5rem; margin-bottom: .5rem; }
.gap-2 { margin-right: -.5rem; margin-bottom: -.5rem; }

/* Nav buttons spacing in sidebar */
.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 10px 12px;
    border-radius: 6px;
}

/* ========== Sidebar: prevent footer overlap + enable scroll ========== */
#header {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden; /* important: stops footer overlay issues */
}

/* your inner wrapper (the div you have inside #header) */
#header > .d-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* nav becomes scroll area */
#header .nav-menu {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-bottom: 12px;
}

/* footer sits naturally at bottom */
#header #footer {
    position: static !important; /* override template fixed footer */
    width: 100% !important;
    background: transparent;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

/* ========== Fix: template hover styles breaking your CTA buttons ========== */
.nav-menu a.nav-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .5rem !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 600;
}

/* stop template hover from changing the button appearance */
.nav-menu a.nav-btn:hover,
.nav-menu a.nav-btn:focus {
    color: #fff !important;
    opacity: 1 !important;
    filter: brightness(1.06);
}

/* make outline button readable on dark sidebar */
.nav-menu a.btn-outline-light.nav-btn {
    border-color: rgba(255,255,255,.35) !important;
    color: rgba(255,255,255,.92) !important;
}

.nav-menu a.btn-outline-light.nav-btn:hover,
.nav-menu a.btn-outline-light.nav-btn:focus {
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.55) !important;
}

/* optional: improve icon alignment */
.nav-menu a.nav-btn i {
    font-size: 18px;
    line-height: 1;
} 

.profile-figure{
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px; /* optional, looks nice */
}

.profile-figure img{
    display: block;
    width: 100%;
    height: auto;
}

.profile-caption{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.3;
    color: #fff;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.profile-caption{
    border-top: 1px solid rgba(255,255,255,0.12);
    letter-spacing: 0.2px;
}

