/*!*--------------------------------------------------------------*/
/*# Back to top button*/
/*--------------------------------------------------------------*!*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #149ddd;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #2eafec;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header-mobile {
    display: none;
}

#header, #header-mobile {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 9997;
    transition: all 0.5s;
    padding: 0 15px;
    background: #040b14;
    overflow-y: auto;
}

#header .profile img, #header-mobile .profile img {
    margin: 15px auto;
    display: block;
    width: 120px;
    border: 8px solid #2c2f3f;
}

#header .profile h1, #header-mobile .profile h1 {
    font-size: 22px;
    margin: 0;
    padding: 0;
    font-weight: 600;
    -moz-text-align-last: center;
    text-align-last: center;
    font-family: "Poppins", sans-serif;
}

#header .profile .social-links a, #header-mobile .profile .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #212431;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#header .profile .social-links a:hover, #header-mobile .profile .social-links a:hover {
    background: orangered; /* change color of social links */
    color: #fff;
    text-decoration: none;
}

#main {

    margin-left: 300px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
    padding: 30px 0 0 0;
}

.nav-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu > ul > li {
    position: relative;
    white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
    display: flex;
    align-items: center;
    color: #a8a9b4;
    padding: 12px 15px;
    margin-bottom: 8px;
    transition: 0.3s;
    font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
    font-size: 24px;
    padding-right: 8px;
    color: #6f7180;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover > a {
    text-decoration: none;
    color: #fff;
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover > a i {
    color: #149ddd;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 99999;
    border: 0;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    background-color: #149ddd;
    color: #fff;
    width: 40px;
    height: 40px;
    /*display: inline-flex;*/
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 50px;
    cursor: pointer;
}

.header-mobile-nav-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 99999;
    border: 0;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    background-color: #149ddd;
    color: #fff;
    width: 40px;
    height: 40px;
    /*display: inline-flex;*/
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 50px;
    cursor: pointer;
}


/*.mobile-nav-active {*/
/*    overflow: hidden;*/
/*}*/

.mobile-nav-active #header {
    left: 0;
}

.mobile-nav-toggle.bi-x {
    content: "\f00d"; /* FontAwesome or Bootstrap icon for close */
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    height: 100vh;
    background: url("../img/home.jpeg") center;
    background-size: cover;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
}

#hero:before {
    content: "";
    background: rgba(5, 13, 24, 0.3);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

#hero .hero-container {
    position: absolute;
    z-index: 2;
    min-width: 500px;
    padding: 0 25px;
    text-align: center;
    top: 40px;
}

#hero .hero-container p {
    position: absolute;
    top: 0;
    text-align: center;
    margin: 0;
}

#hero p {
    color: #fff;
    margin-bottom: 50px;
    font-size: 26px;
    font-family: "Poppins", sans-serif;
}

#hero p span {
    color: #fff;
    padding-bottom: 4px;
    letter-spacing: 1px;
    border-bottom: 3px solid #149ddd;
}

@media (min-width: 769px) {
    .d-xl-none {
        display: none !important;
    }
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    #hero {
        background-attachment: scroll;
        background-position: center center;
        padding-top: 0;
        height: 100vh; /* Force full viewport height */
    }

    #hero .hero-container {
        width: 100%;
        padding: 0 15px;
        position: relative;
        top: 0;
        transform: translateY(0);
    }

    #hero .hero-container p {
        position: relative;
        top: 0;
    }

    #hero p {
        font-size: 20px;
        margin-bottom: 30px;
    }

    #main {
        margin-left: 0;
    }

    #header {
        display: none;
    }

    #header-mobile {
        display: block;
        position: fixed;
    }

    #header-mobile{
        width: 100%;
        height: 100vh;
        background: #040b14;
        z-index: 9999;
        overflow-y: auto;
        padding: 15px;
    }

    .contact-form {
        padding: 20px;
    }

    .d-xl-none {
        display: inline flex !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    #hero p {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 60px 0;
    overflow: hidden;
}

section h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    position: relative;
}

section h6 {
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
    position: relative;
}

.section-bg {
    background: white;
}

.section-title {
    padding-bottom: 30px;

}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #173b6c;
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 3px;
    background: #149ddd;
    bottom: 0;
    left: 0;
}

.section-title p {
    margin-bottom: 10px;
    max-width: 1200px;
    text-align: justify;
}

/*--------------------------------------------------------------
# About Me
--------------------------------------------------------------*/
.about .content h3 {
    font-weight: 700;
    font-size: 26px;
    color: #173b6c;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.about .content ul strong {
    margin-right: 10px;
}

.about .content ul i {
    font-size: 16px;
    margin-right: 5px;
    color: #149ddd;
    line-height: 0;
}

.about .content p:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.job {
    margin-bottom: 20px;
}

.job h2 {
    margin: 0;
    font-size: 1.2em;
}

.job h3 {
    margin: 0;
    font-weight: normal;
    font-size: 1em;
    color: #555;
}

.job ul {
    padding-left: 20px;
}

.education-item {
    margin-bottom: 20px;
}

.education-item h2 {
    margin: 0;
    font-size: 1.2em;
}

.education-item h3 {
    margin: 0;
    font-weight: normal;
    font-size: 1em;
    color: #555;
}

.education-item ul {
    padding-left: 20px;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills-category {
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-items: center;
    height: 20%;
}

.skills-grid img {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}

.skills-grid img:hover {
    transform: scale(1.1);
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 100vh;
    overflow: hidden;
    width: 100%;
}

/*--------------------------------------------------------------
# Projects
--------------------------------------------------------------*/
.projects {
    padding: 60px 0;
    background: #f9f9f9;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.project-card h3 {
    font-size: 20px;
    color: #173b6c;
    margin-bottom: 15px;
}

.project-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.project-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.project-card ul li {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.project-card .project-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background: #149ddd;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.project-card .project-link:hover {
    background: #0e77b7;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
    padding: 50px 0;
    background: #f9f9f9;
}

.contact-form {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.contact-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form .btn {
    display: block;
    width: 100%;
    max-width: 500px;
    background: #149ddd;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form .btn:hover {
    background: #0e77b7;
}

.errorlist {
    display: none;
}


