:root {
    --primaryColor: #0071eb;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    /* min-height: 250vh; */
    font-weight: 400;
    font-size: 14px;
    color: #212529;
    font-family: "Montserrat", sans-serif;
    background-image: linear-gradient();
}
ul,
li {
    list-style: none;
}
a {
    color: var(--primaryColor);
}
a:hover {
    text-decoration: none;
    color: initial;
}
.whiteText {
    color: white !important;
}
ul,
li {
    list-style: none;
    margin: 0;
}
img {
    display: block;
    max-width: 100%;
}

.btn {
    max-width: 100%;
    text-overflow: ellipsis;
}
.text-primary
{
    color: var(--primaryColor) !important;
}
.btn-primary
{
    background-color: var(--primaryColor) !important;
}

@media only screen and (max-width: 786px) {
    body {
        font-size: 12px;
    }
}

/* Header Work Start */

.header .headerContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 24vw;
    height: 100vh;
    background-color: white;
    display: flex;
    padding: 0;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
}

.headerContainer::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.headerContainer::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 2px;
}

.headerBox {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-height: 100vh;
    min-height: max-content;
    padding: 60px 16px 60px 16px;
}

.headerLogo {
    width: 100%;
    height: 80px;
}

.logoLink {
    display: block;
    top: 20px;
    /* left: 50%; */
    max-height: 120px;
    max-width: 85%;
    /* transform: translateX(-50%); */
}
.logoLink {
    display: block;
    /* left: 50%; */
    height: 80px;
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    /* transform: translateX(-50%); */
}
.logoImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.headerMenu {
    width: 100%;
    height: calc(100vh - 200px);
    display: flex;
    padding: 25px 0;
    min-height: max-content;
    align-items: center;
    justify-content: center;
}
ul.menuList {
    display: flex;
    gap: 4px;
    flex-direction: column;
}
.menuListItem {
    transition: 0.5s ease;
}

.menuLink {
    display: flex;
    padding: 8px 0;
    font-size: 15px;
    color: #565656;
    font-weight: 600;
    width: 100%;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.2;
    transition: 0.4s ease-in-out;
}
.menuLink i.fa-solid {
    transition: 0.4s ease-in-out;
    filter: grayscale(1) brightness(0.4);
}
.menuLink i.fa-home {
    color: #1b83e4;
}
.menuLink i.fa-user {
    color: orange;
}
.menuLink i.fa-code {
    color: tomato;
}
.menuLink i.fa-briefcase {
    color: green;
}
.menuLink i.fa-contact {
    color: purple;
}

.menuListItem.active .menuLink i.fa-solid,
.menuLink:hover i.fa-solid {
    filter: grayscale(0);
}

.menuListItem:hover .menuLink,
.menuListItem.active .menuLink {
    font-weight: 700;
    color: initial;
}
.headerCloseBtn,
.headerMob {
    display: none;
}

@media only screen and (max-width: 991px) {
    .header {
        z-index: 100;
        position: sticky;
        top: 0;
    }
    .headerMob {
        padding: 8px 18px;
        position: fixed;
        display: flex;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 1;
        gap: 12px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
        align-items: center;
        background: rgba(255, 255, 255, 0.7);
        justify-content: space-between;
        backdrop-filter: blur(10px);
    }
    .headerMob .headerLogo {
        width: max-content;
        height: 40px;
    }
    .headerMob .headerLogo .logoLink {
        height: 100%;
        padding: 0;
    }
    .header .headerContainer {
        width: 100vw;
        left: 0;
        z-index: 100;
        transition: 0.5s;
        position: fixed;
        transform: translateX(-100%);
    }
    .header.open .headerContainer {
        width: 100vw;
        transform: translateX(0%);
        background: rgb(255 255 255 / 85%);
        backdrop-filter: blur(15px);
    }
    .headerMenuBox {
        padding: 6px 8px;
        font-size: 18px;
        margin-right: 10px;
        border-radius: 4px;
        line-height: 1;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    }
    .headerMenuBox:hover {
        color: var(--primaryColor);
    }
    .headerCloseBtn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 34px;
        width: 34px;
        position: fixed;
        top: 12px;
        right: 12px;
        background: linear-gradient(45deg, red, tomato, red);
        border-radius: 3px;
        font-size: 18px;
        color: white;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.14);
    }
}

/* Header Work End */

/* Page content Start */
.pageContainer {
    min-height: 100vh;
    padding-left: 24vw;
}
.mainContent {
    min-height: calc(100vh - 31px);
    transition: 1s ease-in-out;
    padding: 60px 6px 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    background-image: url("../img/background_white.png");
}
.mainContent::before {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    backdrop-filter: blur(3px);
    pointer-events: none;
}
.pageTitle {
    position: relative;
    font-size: 34px;
    font-weight: 700;
    padding-top: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    transition: 0.5s;
}
.pageTitle::before,
.pageTitle::after {
    left: 0;
    content: "";
    height: 4px;
    border-radius: 4px;
    position: absolute;
    max-width: 100%;
    transform-origin: left;
    background: var(--primaryColor);
    animation: reshape 1s ease-in-out infinite alternate;
}
.pageTitle::before {
    bottom: 13px;
    width: 65px;
}
.pageTitle::after {
    animation-delay: 0.3s;
    bottom: 2px;
    width: 45px;
}

@media only screen and (max-width: 991px) {
    .pageContainer {
        padding-left: 0;
    }
    .mainContent {
        padding: 70px 0px 24px;
    }
    .pageTitle {
        font-size: 28px;
        line-height: normal;
    }
}
@media only screen and (max-width: 786px) {
    .pageTitle {
        font-size: 24px;
    }
}

/* Page content End */

/* Home Page Start */
.homePage {
    height: 100%;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 151px);
}
.profileImageBox {
    max-width: 250px;
    margin: 0 auto;
}
.profileImageBox img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.title {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 16px;
}
.sub-title {
    font-weight: 600;
    margin-bottom: 12px;
}
.homePage p {
    margin-bottom: 16px;
}

@media only screen and (max-width: 991px) {
    .title {
        font-size: 24px;
    }
    .sub-title {
        font-size: 16px;
    }
}
@media only screen and (max-width: 786px) {
    .title {
        font-size: 18px;
    }
    .sub-title {
        font-size: 14px;
    }
}

/* Home Page End */

/* About Page Start */
.infoCard {
    font-size: 12px;
    margin-bottom: 12px;
}
.infoCardBox {
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.infoCardTitle {
    font-weight: bold;
}
.infoCardDetail {
    overflow: hidden;
    text-overflow: ellipsis;
}

.timeLine {
    padding: 30px 16px 30px 60px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.timeLine::before {
    content: "";
    position: absolute;
    width: 6px;
    height: calc(100% - 40px);
    background: var(--primaryColor);
    top: 20px;
    left: 28px;
    border-radius: 10px;
}

.timeLineItem {
    padding: 0;
    position: relative;
}
.timeLineItem:not(:last-child) {
    margin-bottom: 20px;
}
.timeLineItem::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 6px;
    left: -39px;
    border-radius: 50%;
    background: var(--primaryColor);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}
.timeLineItemDescription {
    margin: 0;
}
.timeLineItemDescription strong {
    margin-right: 6px;
}

.timeLineItemTitle {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}
.timeLineItemSubTitle {
    font-size: 16px;
    margin-bottom: 4px;
}
.timeLineItemDuration {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-bottom: 4px;
}
.timeLineItemDescription p {
    display: inline;
}

.moreBtn {
    color: var(--primaryColor);
    cursor: pointer;
}
.moreDescription {
    display: none;
}
.readLessBtn {
    display: none;
    color: var(--primaryColor);
    cursor: pointer;
}
.timeLineItemDescription.expand .moreBtn {
    display: none;
}
.timeLineItemDescription.expand .moreDescription {
    display: inline;
}
.timeLineItemDescription.expand .readLessBtn {
    display: inline;
}
/* About Page End */

/* Skills Page Start */
.skills {
    position: relative;
}
.skillItem {
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    margin-bottom: 12px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}
.skillItemHeader {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    justify-content: space-between;
}
.skillName {
    font-weight: 600;
}
.skillBar {
    height: 8px;
    margin-top: 4px;
    background: #fafafa;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}
.skillFill {
    height: 100%;
    border-radius: inherit;
    position: relative;
    overflow: hidden;
    background-color: var(--primaryColor);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.skillFill::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 140%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        45deg,
        white 0 20px,
        transparent 20px 40px
    );
    animation: shine 5s linear infinite;
    background-position: -53px;
    opacity: 0.4;
}
/* Skills Page End */

/* Portfolio Page Start */

.portfolioItems {
    display: block;
}
.portfolioCard {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    text-align: center;
    color: black;
    font-weight: 500;
}
.portfolioImageContainer {
    width: 100%;
    position: relative;
}
.portfolioImageBox {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.portfolioImageBox::before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    backdrop-filter: blur(3px);
    pointer-events: none;
}
.portfolioImageContainer:hover .portfolioImageBox::before {
    opacity: 1;
    background: rgba(255, 255, 255, 0.4);
}

.portfolioImage {
    height: 100%;
    width: 100%;
    transition: 0.5s ease-in-out;
}
.portfolioIcon {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: black;
    transition: 0.5s;
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(5px);
    transform: translate(-50%, -40%);
    box-shadow:
        0 0 6px rgba(0, 0, 0, 0.3),
        inset 1px 1px 3px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.6);
}
.portfolioItems:hover .portfolioImage {
    transform: scale(1.1);
}
.portfolioImageContainer:hover .portfolioIcon {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%);
}
.portfolioTypeBox {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: max-content;
    max-width: calc(100% - 16px);
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    text-transform: capitalize;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}
.portfolioTypeBox::before {
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    border: 1px solid transparent;
    border-radius: inherit;
    background: linear-gradient(45deg, #6a11cb, violet, #2575fc) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, 
                linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}
.portfolioType
{
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolioTitleBox {
    padding: 6px 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

/* Portfolio Page End */


/* Pagination Section Start */

.paginationContainer {
    padding: 4px 12px 0;
    width: 100%;
}
.paginationButtonsBox
{
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}
.paginationButtonCard a {
    height: 25px;
    width: 25px;
    display: flex;
    color: black;
    /* padding-top: 3px; */
    /* line-height: 1; */
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.paginationButtonCard.active a
{
    border-radius: 50%;
    color: white;
    background-color: var(--primaryColor);
}
.paginationButtonCard:not(:has()) a:hover
{
    background-color: var(--primaryHoverColor);
    color: white;
    border-radius: 50%;
}

/* Pagination Section End */

/* Contact Page Start */
.contactFormContainer {
    width: 100%;
    max-width: 786px;
    margin: 0 auto;
}
.contactForm {
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.contactCardContainer {
    display: block;
    color: inherit;
    position: relative;
    margin-bottom: 18px;
}
.contactCard {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 28px 12px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    background: rgb(255 255 255 / 50%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}
.contactIcon {
    font-size: 32px;
    line-height: 0;
    color: var(--primaryColor);
}
.contactTitle {
    margin: 8px 0 5px;
    font-weight: 600;
    font-size: 16px;
}
.contactData {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    text-align: center;
}
/* Contact Page End */

/* Form Work Start */
.form-group {
    background: white;
    border-radius: 6px;
    position: relative;
    margin-top: calc(1rem + 3px);
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.2));
}
.form-group label {
    padding: 5px 8px 2px;
    background: white;
    pointer-events: none;
    font-weight: 600;
    font-size: 80%;
    line-height: 1;
    position: absolute;
    bottom: 100%;
    left: 9px;
    margin: 0;
    max-width: calc(100% - 18px);
    border-radius: 5px 5px 0 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    overflow: hidden;
}
.form-control,
.form-control:focus {
    font-size: 14px;
    border: none;
    outline: none;
    box-shadow: none;
}
/* Form Work End */

/* Footer Start */

.footer {
    background: #fafafa;
    padding: 8px 0;
    font-size: 10px;
    color: #565656;
    font-weight: 600;
    box-shadow: 5px 0 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Footer End */

@keyframes reshape {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0.6);
    }
}
@keyframes shine {
    to {
        background-position: 0;
    }
}
