body,
html {
    height: 100%;
    /* font-family: 'Exo 2', sans-serif; */
    /* font-family: 'Wix Madefor Display', sans-serif; */
}

.cover-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/pexels-fauxels-3183198.jpg");
    height: 85%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.cover-text {
    text-align: left;
    position: absolute;
    top: 30%;
    left: 10%;
    /* transform: translate(-50%, -50%); */
    color: white;
    font-size: xx-large;
}

.cover-text-title>h3 {
    font-weight: 300;
}

.cover-text-title:hover {
    color: white;
    text-shadow: 2px 2px 4px #000000;
    cursor: pointer;
    transition: 0.8s;
    transition-timing-function: ease-in;
}

.logo {
    top: 2%;
    left: 3%;
    position: absolute;
}

.logo-text {
    cursor: pointer;
    padding-left: 10px;
}

.fa-brands {
    padding: 10px;
    font-size: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
}

.fa-brands:hover,
.fa-solid:hover {
    opacity: 0.7;
    cursor: pointer;
    transition: 0.5s;
    transition-timing-function: ease-in;
}

.fa-facebook-f {
    background: #3b5998;
    color: white;
}

.fa-x-twitter {
    background: #000;
    color: white;
}

.fa-whatsapp {
    background: #25D366;
    color: white;
}

.fa-linkedin-in {
    background: #0072b1;
    color: white;
}

.fa-instagram {
    background: #d6249f 60%;
    color: white;
}

.fa-github {
    background: #171515;
    color: white;
}

.interest {
    width: 200px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.interest:hover {
    transform: scale(1.05);
}

.interest .card-title {
    font-weight: bold;
}

.interest i {
    font-size: 32px;
    margin: 10px;
    color: #333;
    transition: color 0.3s ease;
}

.interest i:hover {
    color: #ff6600;
}

.card:hover {
    box-shadow: 2px 2px 4px #000000;
    cursor: pointer;
    transition: 0.8s;
    transition-timing-function: ease-in;
}

.section-1 {
    background-color: #ffffff;
}

.section-2 {
    background-color: #f5f5f5;
}

.section-3 {
    background-color: #ffffff;
}

.section-4 {
    background-color: #f5f5f5;
}

.section-5 {
    background-color: #ffffff;
}

.section-6 {
    background-color: #f5f5f5;
}

.section-7 {
    background-color: #ffffff;
}

.section-8 {
    background-color: #f5f5f5;
}

.section-9 {
    background-color: #ffffff;
    padding-bottom: 20px;
}

.personal-skills,
.professional-skills {
    margin-bottom: 20px;
}

.skill-container h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.skill-container ul {
    list-style: none;
    padding: 0;
}

.skill-container li {
    margin-bottom: 15px;
}

.skill-container .skill-name {
    display: block;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.skill-container .progress-bar {
    background-color: #f1f1f1;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.skill-container .progress {
    height: 100%;
    background-color: #ff6600;
    animation: progress-animation 1s ease-in-out;
}

@keyframes progress-animation {
    from {
        width: 0;
    }
}

.skill-container li:hover .progress {
    animation: none;
    background-color: #ff6600;
}

.skill-container .progress {
    background-image: linear-gradient(45deg, #FF6F61, #ff6600);
}

.sidenav {
    position: fixed;
    left: 0;
    top: 0;
    background-color: transparent;
    color: #fff;
    padding: 20px;
    transition: transform 0.5s ease;
    height: 100%;
    width: 0;
    z-index: 1;
    overflow-x: hidden;
}

.sidenav a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    padding: 8px 8px 8px 32px;
}

.sidenav a {
    position: relative;
}

.sidenav a:hover {
    color: #ff6600;
}

.sidenav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #ff6600;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.sidenav a:hover::after {
    transform: scaleX(1);
}

.sidenav-toggle {
    position: absolute;
    top: 17px;
    right: 5px;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.cover-image {
    transition: margin-left .5s;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

@media screen and (max-width: 450px) {
    .sidenav {
        visibility: hidden;
    }
}

.expertise-container {
    margin-top: 20px;
}

.expertise-title {
    text-align: center;
}

.expertise-title h5 {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
}

.expertise-grid {
    margin-top: 20px;
    width: 100%;
}

.expertise-grid .row {
    margin-bottom: 20px;
}

.expertise-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: scale(1.05);
}

.expertise-card img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .expertise-title h5 {
        font-size: 20px;
    }

    .expertise-card {
        margin: 0px;
    }

    .expertise-grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
}

.professional-profile-cv-download .btn-primary {
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.professional-profile-cv-download .btn-primary:hover {
    background-color: #e65245;
}

@media (max-width: 768px) {
    .professional-profile-cv-download .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }
}

.experience-timeline,
.education-timeline {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 20px 0;
}

.experience-timeline::after,
.education-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.experience-timeline::after {
    background-color: #f5f5f5;
}

.education-timeline::after {
    background-color: #ffffff;
}

.experience-timeline-container,
.education-timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.experience-timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: #f5f5f5;
    border: 4px solid #e65245;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.education-timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: #fff;
    border: 4px solid #e65245;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.experience-timeline-container::after {
    background-color: #f5f5f5;
}

.education-timeline-container::after {
    background-color: #ffffff;
}

.experience-timeline>.left,
.education-timeline>.left {
    left: 0;
}

.experience-timeline>.right,
.education-timeline>.right {
    left: 50%;
}

.experience-timeline>.right::after,
.education-timeline>.right::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    left: -13px;
}

.experience-timeline-content {
    padding: 20px 30px;
    position: relative;
    background-color: #f5f5f5;
    border-radius: 6px;
    transition: all 0.3s ease-in;
}

.education-timeline-content {
    background-color: #ffffff;
    padding: 20px 30px;
    position: relative;
    border-radius: 6px;
    transition: all 0.3s ease-in;
}

.experience-timeline-content:hover,
.education-timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 600px) {

    .experience-timeline::after,
    .education-timeline::after {
        left: 31px;
    }

    .experience-timeline-container,
    .education-timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .experience-timeline>.left::after,
    .experience-timeline>.right::after,
    .education-timeline>.left::after,
    .education-timeline>.right::after {
        left: 15px;
    }

    .experience-timeline>.right,
    .education-timeline>.right {
        left: 0%;
    }
}

.experience-timeline-content h3,
.education-timeline-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.experience-timeline-content h4,
.education-timeline-content h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #e65245;
}

.experience-timeline-content h6,
.education-timeline-content h6 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 15px;
    color: #888888;
}

.experience-timeline-content ul,
.education-timeline-content ul {
    padding-left: 20px;
    list-style: none;
}

.experience-timeline-content ul li,
.education-timeline-content ul li {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.2;
    position: relative;
    padding-left: 30px;
}

.experience-timeline-content ul li:before,
.education-timeline-content ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 8px;
    height: 8px;
    background-color: #e65245;
    border-radius: 50%;
}

.profile-pic {
    width: 150px;
    height: 150px;
    margin: 20px;
    border-radius: 50%;
    background-image: url('../img/pro-pic.jpg');
    background-size: cover;
    transition: transform 0.3s ease-in;
    border: 0px solid transparent;
}

.profile-pic:hover {
    transform: scale(1.1);
    border: 4px solid #ff6600;
    cursor: pointer;
}

.h3 {
    position: relative;
    display: inline-block;
}

.h3:hover {
    color: #ff6600;
    cursor: pointer;
}

.h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40%;
    height: 2px;
    background-color: #ff6600;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease-in-out;
}

.h3:hover::after {
    transform: scaleX(1);
}

.sub-title {
    font-weight: 500;
    font-size: 15px;
    margin: 5px 0;
}

.second-sub-title {
    font-weight: 400;
    font-size: 14px;
    color: #888888;
}

#portfolio {
    text-align: center;
    padding: 30px 0;
}

#portfolio h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.filter {
    display: flex;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.filter-btn.active {
    font-weight: bold;
    color: #ff5722;
}

.section {
    display: none;
}

.project {
    display: inline-block;
    position: relative;
    margin: 20px;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project:hover {
    transform: scale(1.05);
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.project:hover .overlay {
    opacity: 1;
}

.project .overlay i {
    font-size: 40px;
    color: #fff;
    transition: transform 0.3s ease;
}

.project:hover .overlay i {
    transform: scale(1.2);
}

.section h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

.section-description {
    color: #777;
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-card {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.card-icon:hover {
    color: #ff6600;
    cursor: pointer;
}

.contact-card-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.card-description {
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
}

.card-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #ff6600;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.card-button:hover {
    background-color: #cc5500;
    color: #fff;
}

.section-10 {
    background-color: #333;
    color: #fff;
}

#footerText {
    font-size: 18px;
}

#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

#backToTopBtn i {
    margin-top: 7px;
}

#backToTopBtn:hover {
    background-color: #00a2ff;
}

#backToTopBtn.show {
    display: block;
}

@keyframes fade-in-slide-left {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-slide-left {
    animation: fade-in-slide-left 3s;
}

@keyframes fade-in-slide-right {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-slide-right {
    animation: fade-in-slide-right 3s;
}

.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-input:focus {
    outline: none;
    border-color: #ff6600;
}

.form-input::placeholder {
    color: #999;
}

.form-button {
    padding: 10px 20px;
    margin: 0 5px 0 5px;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.form-button:hover {
    background-color: #cc5500;
    transform: scale(1.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.form-button:active {
    transform: scale(0.9);
}