body {

}

header {
    height: 100%;
    width: 100%;
}

header section#intro {
    position: relative;
    width: 100%;
    height: 100%;
    background: #333 url('../images/home-bg-graysacle.webp') center center no-repeat fixed;
    background-size: cover;
}

section#intro section {
    position: relative;
    width: 100%;
    height: 70%;
    padding: 50px;
    top:20%;
    border-radius: 5px;
    text-align: center;
    color: white;
    letter-spacing: 2px;
}

section#intro h1 {
    filter: none !important;
    margin-top: 0;
    color: #117eff;
}

section#intro p {
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 18px;
}

section#intro p:first-child {
    padding-top: 0;
    font-weight: 100;
    font-family: 'Open Sans', sans-serif;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

section#intro a {
    display: inline-flex;
    margin-top: 15px;
    padding: 15px;
    color: white;
    border-radius: 8px;
    border: 1px solid #117eff;
    background-color: #117eff;
    box-shadow: none;
}

section#intro a:hover {
    background-color: #0e6ae0;
    border-color: #0e6ae0;
}

section#intro section h1 {
    display: inline-block;
    padding: 20px;
    border-top:2px solid white;
    border-bottom:2px solid white;
    font-size: 36px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

main section {
    padding-top: 50px;
    padding-bottom: 50px;
}

main section div.container{
    width: 90%;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.row h3 {
    display: block;
    color: #117eff;
    font-weight: 700;
    margin: 0 auto;
}

.row h4 {
    margin: 0;
}

#about-me .row img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    padding: 5px;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
}

.row a {
    display: inline-flex;
    margin-top: 15px;
    padding: 15px;
    color: white;
    border-radius: 8px;
    border: 1px solid #117eff;
    background-color: #117eff;
    box-shadow: none;
}

.row a:hover {
    background-color: #0e6ae0;
    border-color: #0e6ae0;
}

.row #personal-info {
    text-align: center;
}

#about-me {
    background-color: white;
    padding-bottom: 0;
}

#about-me .row > div{
    margin-bottom: 70px;
}


/*
.panel-default > .panel-heading {
    background-color: #117eff;
    color: white;
}*/

#skills {
    background: url('../images/coding-min.webp') center center no-repeat fixed;
    background-size: cover;
    color: white;
    text-align: center;
}

#skills *{
    color: white;
}

#skills h1 {
    /*color: #117eff;*/
}

#skills .title {
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 30px;
}

.skills-wrapper {
    /*margin-top: 20px;*/
}

.skill {
    margin-bottom: 40px;
    text-align: center;
}

#skills .skill h3 {
    /*color: #117eff;*/
}

#skills .chart {
    text-align: center;
    position: relative;
    display: inline-block;
    min-height: 155px;
    color: #eee;
}

#skills .percent {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
    color: #eee;
}

.percent::after {
    content: '%';
}

.bar_group {
    position: relative;
    min-height: 150px;
    /*background-color: rgba(33,206,255,0.24);
    border: 1px solid red;*/
}

.skill-label {
    display: inline-block;
    float: left;
    border: 1px solid #fff;
    padding: 10px 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.my-progress {
    height: 10px;
    width: 100%;
    clear: both;
    background-color: rgba(255,255,255,0.22);
    border-radius: 5px;
}

.my-progress-bar {
    height: 10px;
    background-color: #fff;
    border-radius: 5px;
    transition: width 1s;
}

#skills .my-progress-bar span {
    background-color: white;
    float: left;
    left: 100%;
    transform: translateX(-50%) translateY(-35px);
    padding: 3px 7px;
    border-radius: 2px;
    color: #2e2e2e;
}

.my-progress-bar span::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.bar_label_min {
    position: absolute;
    left: 5px;
    text-align: left;
    top: 15px;
    font-size: 15px;
    letter-spacing: 1.3px;
}

.bar_label_max {
    position: absolute;
    right: 5px;
    text-align: right;
    top: 15px;
    font-size: 15px;
    letter-spacing: 1.3px;
}

#experience {
    background-color: #117eff;
    height: auto;
}

#experience header {
    margin-bottom: 50px;
}

#experience header *{
    color: #fff;
}

#experience * {
    color: white;
    /*border: 1px dotted grey;*/
}

#experience header *{
    text-align: center;
    /*display: inline-block;*/
}

.timeline-block {
    padding: 20px 0;
}

.timeline::before {
    content: ' ';
    position: absolute;
    height: 100%;
    width: 4px;
    left: 50%;
    margin-left: -2px;
    background-color: #222;
    border-radius: 2px;
}

.timeline .icon {
    position: absolute;
    left: 50%;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    text-align: center;
    background-color: #222;
}

#experience .icon i {
    display: inline-block;
    line-height: 50px;
    font-size: 28px;
    color: white;
}

#experience .content.left {
    float: left;
    color: #222;
}

#experience .content.right {
    float: right;
}

#experience .content {
    width: 44%;
    background: #222;
    padding: 15px;
    border-radius: 5px;
    border: 4px solid #222;
}

.content.left::before {
    content: ' ';
    position: absolute;
    top: 3%; /* At the bottom of the tooltip */
    left: 100%;
    border-width: 20px;
    border-style: solid;
    border-color: transparent transparent transparent #222;
}

.content.right::before {
    content: ' ';
    position: absolute;
    top: 3%; /* At the bottom of the tooltip */
    right: 100%;
    border-width: 20px;
    border-style: solid;
    border-color: transparent #222 transparent transparent;
}

.content h3 {
    display: inline-block;
}

.job-title {
    display: block;
}

#portfolio {
    height: 100%;
    background-color: white;
    color: #222;
}

#portfolio .shadow{
    /*background: #00bcd4;*/
    background: #f3f3f3;
}

#portfolio .shadow figure {
    background-color: #222;
}

#portfolio h1 {
    padding-bottom: 40px;
    color: #222;
}

#portfolio nav {
}

#portfolio nav li{
    display: inline-block;
    margin-right: 10px;
}

#portfolio nav a {
    display: block;
    padding: 5px;
    padding-left: 0;
    font-weight: 700;
    box-sizing: border-box;
    border-bottom: 2px solid #117eff;
    color: #222;
}

#portfolio nav a:hover {
    border-bottom: 2px solid #00bcd4;
    color: #117eff;
}

.portfolio-item {

}

.portfolio-item *{
    /*border-radius: 5px;*/
}

/*#portfolio figure.shadow:hover {
    box-shadow:0 2px 10px 0 rgba(0, 0, 0, 0.56), 0 2px 14px 0 rgba(0, 0, 0, 0.52);
    cursor: pointer;
}*/

#portfolio .float-btn{
    padding: 0;
    position: absolute;
    z-index: 1000;
    background-color: #117eff;
    right: 20%;
}

#portfolio .float-btn a{
    position: absolute;
    background-color: #117eff;
    border-color: #117eff;
    bottom: -20px;
    border-radius: 50%;
    transition: all 0.1s ease-in;
}

#portfolio .float-btn a:hover {
    cursor: pointer;
    background-color: #00bcd4;
    border-color: #00bcd4;
}

#portfolio figcaption {
    padding:20px;
}

figcaption h3 {
    padding: 10px 0;
    border-radius: 0;
    border-bottom: 1px solid white;
}

figcaption p {
    padding: 10px 0;
    color: #cbcbcb;
}

#portfolio footer {
    padding: 20px;
    background-color: rgba(0,0,0,0.66);
    border-radius: 0 0 5px 5px;
    color: white;
}

#portfolio figcaption footer span {
    padding: 0;
}

.portfolio-item img{
    width: 100%;
    /*border-radius: 4px 4px 0 0;*/
}

#contact {
    height: 100%;
    background-color: #117eff;
    text-align: center;
}

#contact * {
    /*border: 1px solid red;*/
    color: white;
}

.contact-wrapper {
    width: 60%;
}

#contact .submit-btn {
    display: block;
    width: 100%;
    padding: 16px 0;
    margin-top: 6px;
    border: none;
    border-radius: 8px;
    background: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #117eff;
    font-weight: 700;
    box-shadow: none;
    transition: all 0.2s ease-in-out;
}

#contact .submit-btn:hover {
    background: #eaf2ff;
}
#contact .submit-btn:disabled {
    opacity: 0.7;
    cursor: default;
    box-shadow: none;
}

#contact label {
    color: #666;
    font-weight: 300;
    font-size: 14px;
    position: absolute;
    top: 14px;
    left: 15px;
    transition: all 0.2s ease-in;
}

#contact .form-control ~ label.has-value,
#contact .form-control:focus ~ label{
    position: absolute;
    top: -10px;
    left: 40px;
    color: #bbb;
    border-radius: 8px;
    background-color: white;
    padding: 3px 8px;
}

/*#contact :not(:valid) ~ label {
    position: absolute;
    top: -10px;
    left: 40px;
    color: #bbb;
    border-radius: 8px;
    background-color: white;
    padding: 3px 8px;
}*/

/*:focus ~ label.has-value {
    position: absolute;
    top: -10px;
    left: 40px;
    color: #bbb;
    border-radius: 8px;
    background-color: white;
    padding: 3px 8px;
}*/

#contact .form-control {
    color: #444;
    font-size: 15px;
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 20px 16px 8px;
    box-shadow: none;
    transition: box-shadow 0.2s ease;
}
#contact .form-control:focus {
    box-shadow: none;
    background: #eef5ff;
}

#contact input {
    min-height: 50px;
}

#contact textarea {
    resize: none;
    min-height: 120px;
}

footer {
    text-align: center;
}

.footer .follow-me {
    /*background: #fff;*/
    display: inline-block;
    position: relative;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 1.7px;
    width: 150px;
    background-color: #117eff;
}
.footer .follow-me:before, .footer .follow-me:after {
    position: absolute;
    content: "";
    border-top: 15px solid transparent;
    top: -15px;
}
.footer .follow-me:before {
    border-right: 15px solid #333;
    left: -15px;
}
.footer .follow-me:after {
    border-left: 15px solid #333;
    left: 100%;
}

.footer .follow-me * {
    color: white;
}

footer .icon-wrapper {
    margin-top: 50px;
    margin-bottom: 50px;
}

footer .icon-wrapper .icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    display: inline-block;
    position: relative;
    padding: 0;
    border: none;
}

footer .icon-wrapper .icon i {
    display: block;
    position: relative;
    line-height: inherit;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease-in;
}

footer .icon-wrapper .icon:hover i:first-child {
    margin-top: -50px;
}

footer .icon-wrapper .icon.fb:hover {background: #3b5998;}
footer .icon-wrapper .icon.tw:hover {background: #55acee;}
footer .icon-wrapper .icon.gh:hover {background: #333333;}
footer .icon-wrapper .icon.gp:hover {background: #dc4e41;}
footer .icon-wrapper .icon.lin:hover {background: #0077b5;}
footer .icon-wrapper .icon.pin:hover {background: #bd081c;}

/* ============================================================
   2026 update — responsive, portfolio filter, personal info,
   looping hero animation, overflow fixes
   ============================================================ */

/* Prevent stray horizontal scroll without hijacking the vertical
   scroll container (keeps window scroll + scroll-triggered animations working) */
html {
    overflow-x: hidden;
}

*, *::before, *::after { box-sizing: border-box; }

img { max-width: 100%; }

/* Hero greeting: plays a few times on load, then on hover (driven by JS via .is-tada) */
section#intro p.tada {
    -webkit-animation: none;
    animation: none;
}
section#intro p.tada.is-tada {
    -webkit-animation: tada 1s ease-in-out;
    animation: tada 1s ease-in-out;
}

/* ---------- Personal Info ---------- */
#about-me #personal-info {
    text-align: center;
}
#personal-info .info-list {
    list-style: none;
    margin: 25px auto 0;
    padding: 0;
    text-align: left;
    max-width: 360px;
}
#personal-info .info-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 13px 6px;
    border-bottom: 1px solid #ececec;
}
#personal-info .info-list li:last-child {
    border-bottom: none;
}
#personal-info .info-label {
    flex: 0 0 auto;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #117eff;
}
#personal-info .info-value {
    flex: 1 1 auto;
    text-align: right;
    color: #555;
    font-size: 15px;
    word-break: break-word;
}
#personal-info .info-value a {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    color: #117eff;
}
#personal-info .info-value a:hover {
    text-decoration: underline;
    box-shadow: none;
}

/* ---------- Portfolio: LTR + equal-height cards ---------- */
#portfolio {
    direction: ltr;
}
#portfolio .row {
    display: flex;
    flex-wrap: wrap;
    direction: ltr;
    margin-left: -8px;
    margin-right: -8px;
}
#portfolio .portfolio-item {
    display: flex;
    float: none;
    min-width: 0;
    padding: 8px;
    margin-bottom: 0;
}
#portfolio .portfolio-item.is-hidden {
    display: none;
}
#portfolio .portfolio-item figure {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}
#portfolio .portfolio-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
#portfolio figcaption {
    flex: 1 1 auto;
    text-align: left;
}

/* round arrow button, straddling the bottom-right of the image */
#portfolio .float-btn {
    position: absolute;
    top: 178px;
    right: 16px;
    z-index: 5;
    background: transparent;
    padding: 0;
}
#portfolio .float-btn a {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #117eff;
    border: none;
    color: #fff;
    bottom: auto;
    box-shadow: none;
}
#portfolio .float-btn a i {
    line-height: 1;
}

/* active filter tab — no border on the selected tab */
#portfolio nav a.active {
    color: #117eff;
    border-bottom-color: transparent;
}

/* ---------- Timeline anchor ---------- */
.timeline {
    position: relative;
}

/* ---------- Accordion (My Story) ---------- */
#accordion {
    margin-top: 5px;
}
#accordion .panel {
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}
#accordion .panel-heading {
    background: #fff;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
#accordion .panel-heading:hover {
    background: #f4f9ff;
}
#accordion .panel-title {
    position: relative;
    margin: 0;
    padding: 16px 54px 16px 20px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    color: #2a2a2a;
}
#accordion .panel.is-open .panel-title {
    color: #117eff;
}
#accordion .panel-title::after {
    content: "\f067"; /* fa-plus */
    font-family: FontAwesome;
    position: absolute;
    right: 16px;
    top: 50%;
    width: 26px;
    height: 26px;
    line-height: 26px;
    margin-top: -13px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    background: #117eff;
    border-radius: 50%;
    transition: transform 0.25s ease, background 0.25s ease;
}
#accordion .panel.is-open .panel-title::after {
    content: "\f068"; /* fa-minus */
    background: #00bcd4;
    transform: rotate(180deg);
}
#accordion .panel-body {
    border: none !important;
    padding: 2px 20px 20px;
    color: #6b6b6b;
    font-size: 14px;
    line-height: 1.75;
}

/* round footer social icons to match the rounded language */
footer .icon-wrapper .icon {
    border-radius: 50%;
}