:root {
    --navbar-height: 56px; /* Bootstrap default */
}
body {
    padding-top: var(--navbar-height);
}
section {
    scroll-snap-align: start;
}
html {
    scroll-snap-type: y mandatory;
}

/* Navbar Flex - your custom style still allowed */
.nav-access-content > li {
    margin: 0 10px;
}

/* Make links look good */
.nav-access-content .nav-link {
    font-weight: 500;
    color: #333;
}

.nav-access-content .nav-link:hover {
    color: #007bff;
}
.nav-link{
    cursor: pointer;
}

.full-screen-section {
    height: calc(100vh - var(--navbar-height));
    scroll-margin-top: var(--navbar-height);
    width: 100%;
}

.full-height{
    height: 100%;
}

/* Image */
.hero-img {
    max-width: 320px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.text-justify{
    text-align: justify;
}

.about-bg{
    background: url('/static/portfolioapp/images/background/about.svg') no-repeat center/cover;
}

/* skill section */

/* SKILL CARD */
.skill-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 45px 20px 30px;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* ICON */
.skill-card i {
    font-size: 2.4rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

/* BANNER */
.skill-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 14px;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* TEXT */
.skill-card h5 {
    font-weight: 600;
    margin-bottom: 6px;
}

.skill-card p {
    color: #6c757d;
    font-size: 0.95rem;
}


/* Experience Sections */


/* ============================= */
/* EXPERIENCE TIMELINE */
/* ============================= */

.experience-section {
    background: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #0d6efd;
}

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


.timeline-content {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover lift */
.timeline-content:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Role badge */
.role-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #dee2e6;
    color: #495057;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.role-badge.active {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
}


/* Typography polish */
.timeline-content h5 {
    margin-bottom: 6px;
}

.timeline-content .company {
    display: block;
    font-weight: 500;
    color: #0d6efd;
}

.timeline-content .date-range {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 6px;
}

.timeline-content .duration {
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 6px;
    color: #343a40;
}

/* Timeline dot enhancement */
.timeline-dot {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.company-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 6px;
}

.company-pill i {
    font-size: 1.5rem;
}

.company-pill {
    margin-bottom: 8px;
}


.contact-section {
    background: #f8f9fa;
}


/* contact sections */


.contact-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.copy-btn {
    background: none;
    border: none;
    margin-left: 8px;
    color: #6c757d;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.copy-btn:hover {
    color: #0d6efd;
}

/* WhatsApp icon color */
.bi-whatsapp {
    color: #25D366;
}


.footer-section {
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #0d6efd;
}

.footer-section button#scrollTopBtn {
    border-radius: 50px;
    padding: 6px 14px;
    transition: all 0.3s ease;
}

.footer-section button#scrollTopBtn:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


/* Mobile spacing */
@media (max-width: 992px) {
    .nav-access-content > li {
        margin: 10px 0;
    }
}


/* Mobile tweak */
@media (max-width: 768px) {
    .hero-img {
        max-width: 240px;
        margin-top: 20px;
    }
    html {
        scroll-snap-type: none;
    }
    #skills.full-screen-section {
        height: auto !important;
        min-height: calc(100svh - var(--navbar-height));
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .skill-card {
        padding: 40px 18px 25px;
    }
    .skill-card {
        margin-bottom: 10px;
    }

     .timeline {
        padding-left: 25px;
    }

    .timeline-content {
        padding: 18px 20px;
    }
    .timeline-content {
        padding: 22px 22px;
    }

    .role-badge {
        right: 14px;
    }

    .footer-section .text-md-start,
    .footer-section .text-md-end {
        text-align: center !important;
    }
    .footer-section button#scrollTopBtn {
        margin-top: 10px;
    }

     /* Certification section spacing */
    #certifications .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .cert-card {
        padding: 18px;
        border-radius: 14px;
    }

    .cert-card h5 {
        font-size: 1rem;
    }

    .cert-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .cert-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}





/* ============================= */
/* PROJECT SECTION */
/* ============================= */

.project-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.project-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.project-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    color: #ffffff;
}

/* Tech badges */
.tech-stack {
    margin-top: 15px;
}

.tech-stack .badge {
    margin: 3px 4px 0 0;
}

/* Click hint */
.view-details {
    margin-top: 18px;
    font-weight: 500;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.project-card:hover .view-details {
    gap: 10px;
}

/* Hover hint text */
.project-card::after {
    content: "Click for details";
    position: absolute;
    bottom: 18px;
    right: 18px;
    font-size: 0.7rem;
    color: #6c757d;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::after {
    opacity: 1;
}

/* CERTIFICATIONS SECTION */
.cert-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.cert-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    border-radius: 50px;
}

.cert-desc {
    font-size: 0.9rem;
    color: #555;
}

