:root {
    --brand: #0563bb;
    --brand-2: #0678e3;
    --text: #45505b;
}


/* ========== Base ========== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #272829;
}

a {
    color: var(--brand);
}

a:hover {
    color: #067ded;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}


/* ========== Back to top ========== */

.back-to-top {
    position: fixed;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    right: 15px;
    bottom: 15px;
    background: var(--brand);
    color: #fff;
    z-index: 99999;
}

.back-to-top i {
    font-size: 24px;
    position: absolute;
    top: 7px;
    left: 8px;
}

.back-to-top:hover {
    background: var(--brand-2);
}


/* ========== Preloader ========== */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 6px solid var(--brand);
    border-top-color: #fff;
    border-bottom-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width:768px) {
    [data-aos-delay] {
        transition-delay: 0s !important;
    }
}


/* ========== Header/Nav ========== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 9997;
    transition: .5s;
    padding: 15px;
    overflow-y: auto;
}

@media (max-width:992px) {
    #header {
        width: 300px;
        background: #fff;
        border-right: 1px solid #e6e9ec;
        left: -300px;
    }
}

@media (min-width:992px) {
    #main {
        margin-left: 100px;
    }
}

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

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

.nav-menu a {
    display: flex;
    align-items: center;
    color: var(--text);
    padding: 10px 18px;
    margin-bottom: 8px;
    transition: .3s;
    font-size: 15px;
    border-radius: 50px;
    background: #f2f3f5;
    height: 56px;
    width: 100%;
    overflow: hidden;
}

.nav-menu a i {
    font-size: 20px;
}

.nav-menu a span {
    padding: 0 5px 0 7px;
    color: var(--text);
}

@media (min-width:992px) {
    .nav-menu a {
        width: 56px;
    }
    .nav-menu a span {
        display: none;
        color: #fff;
    }
}

.nav-menu a:hover,
.nav-menu .active>a,
.nav-menu li:hover>a {
    color: #fff;
    background: var(--brand);
}

.nav-menu a:hover span,
.nav-menu .active>a span,
.nav-menu li:hover>a span {
    color: #fff;
}

.nav-menu a:hover,
.nav-menu li:hover>a {
    width: 100%;
}

.nav-menu a:hover span,
.nav-menu li:hover>a span {
    display: block;
}


/* Mobile toggle */

.mobile-nav-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 9998;
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
}

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

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


/* ========== Hero ========== */

#hero {
    width: 100%;
    height: 100vh;
    background: url("../img/Background\\ .jpeg") center center / cover no-repeat;
    position: relative;
}

@media (min-width:992px) {
    #hero {
        padding-left: 160px;
    }
}

#hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .852);
}

#hero h1 {
    margin: 0;
    font-size: 64px;
    font-weight: 700;
    line-height: 56px;
    color: var(--text);
}

#hero p {
    color: var(--text);
    margin: 15px 0 0 0;
    font-size: 26px;
    font-family: "Poppins", sans-serif;
}

#hero p span {
    color: var(--brand);
    letter-spacing: 1px;
}

#hero .social-links {
    margin-top: 30px;
}

#hero .social-links a {
    font-size: 24px;
    display: inline-block;
    color: var(--text);
    line-height: 1;
    margin-right: 20px;
    transition: .3s;
}

#hero .social-links a:hover {
    color: var(--brand);
}

@media (max-width:992px) {
    #hero {
        text-align: center;
    }
    #hero h1 {
        font-size: 32px;
        line-height: 36px;
    }
    #hero p {
        margin-top: 10px;
        font-size: 20px;
        line-height: 24px;
    }
}


/* ========== Sections ========== */

section {
    padding: 60px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--text);
}

.section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: var(--brand);
    bottom: 0;
    left: calc(50% - 20px);
}


/* ========== Skills grid ========== */

.skill {
    padding: 10px 0;
    margin: 0 0 6px 0;
    text-transform: capitalize;
    display: block;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    color: var(--text);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    margin-top: 20px;
    text-align: center;
}

.skills-grid img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.skills-grid p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    color: #45505b;
}


/* Certifications list */

.cert-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 0;
}

.cert-list li {
    margin: 0 0 14px 0;
}

.cert-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
}

.cert-list a:hover {
    color: var(--brand);
    text-decoration: none;
}

.cert-list img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.cert-list small {
    display: block;
    color: #6b7785;
    margin-left: 32px;
}


/* ========== RESUME (timeline) ========== */

.resume .resume-title {
    font-size: 26px;
    font-weight: 700;
    margin: 20px 0;
    color: var(--text);
}

.resume .resume-item {
    position: relative;
    padding: 0 0 20px 20px;
    /* mətnin xəttdən məsafəsi */
    margin-top: -2px;
    border-left: 2px solid var(--brand);
    /* soldakı düz xətt */
}

.resume .resume-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brand);
    /* mavi dairə */
}

.resume .resume-item h4 {
    line-height: 18px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    color: var(--brand);
    margin-bottom: 10px;
}

.resume .resume-item h5 {
    font-size: 16px;
    background: #f7f8f9;
    padding: 5px 15px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.resume .resume-item ul {
    padding-left: 20px;
    margin: 0;
}

.resume .resume-item ul li {
    padding-bottom: 10px;
}

.resume .resume-item:last-child {
    padding-bottom: 0;
}


/* ========== Portfolio (Projects) ========== */

.portfolio .portfolio-item {
    margin-bottom: 30px;
}

.portfolio .portfolio-wrap {
    position: relative;
    overflow: hidden;
    background: rgba(69, 80, 91, .08);
    border-radius: .5rem;
}

.portfolio .portfolio-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio .portfolio-info {
    text-align: center;
    padding: 12px;
}

.portfolio .portfolio-links a {
    color: var(--text);
    margin: 0 6px;
    font-size: 24px;
}

.portfolio .portfolio-links a:hover {
    color: var(--brand-2);
}


/* ========== Contact ========== */


/* (Bootstrap mətni istifadə edir, əlavə xüsusi stilə ehtiyac yoxdur) */


/* ========== Footer ========== */

#footer {
    background: #f7f8f9;
    color: var(--text);
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
}

#footer h3 {
    font-size: 28px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    margin: 0 0 15px 0;
}

#footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: var(--brand);
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: .3s;
}

#footer .social-links a:hover {
    background: var(--brand-2);
}