* {
    box-sizing: border-box;
}

/* Jackson Theme Styling */
:root {
    --primary: #2c98f0;
    --color-1: #2c98f0;
    --color-2: #ec5453;
    --color-3: #f9bf3f;
    --color-4: #a84cb8;
    --color-5: #2fa499;
    --font-main: 'Quicksand', Arial, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --dark: #000;
    --gray: #999;
    --light-bg: #f2f3f7;
    --text: #000;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    background: #fff;
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Layout */
#colorlib-page {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#colorlib-aside {
    padding-top: 3em;
    padding-bottom: 40px;
    padding-left: 3em;
    padding-right: 3em;
    width: 350px;
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    overflow-y: scroll;
    z-index: 1001;
    background: #f2f3f7;
    text-align: center;
}

#colorlib-aside::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari and Opera */
}

#colorlib-aside {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

#colorlib-main {
    width: calc(100% - 350px);
    float: right;
    transition: 0.5s;
}

/* Sidebar Elements */
.author-img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-bottom: 30px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

#colorlib-logo {
    font-size: 22px;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

#colorlib-logo a {
    color: #000;
}

.position {
    display: block;
    margin-bottom: 2em;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    font-family: var(--font-main);
    letter-spacing: 2px;
    text-transform: uppercase;
}

#colorlib-main-menu ul {
    padding: 0;
    margin: 0 0 2em 0;
    list-style: none;
}

#colorlib-main-menu ul li {
    margin: 0 0 10px 0;
}

#colorlib-main-menu ul li a {
    color: rgba(0, 0, 0, 0.7);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

#colorlib-main-menu ul li a:hover,
#colorlib-main-menu ul li.active a {
    color: var(--primary);
    text-decoration: underline;
}

.colorlib-footer {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
}

.social-icons {
    padding: 0;
    margin: 20px 0 0 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons li {
    display: inline-block;
}

.social-icons li a {
    color: rgba(0, 0, 0, 0.5);
    font-size: 18px;
    transition: 0.3s;
}

.social-icons li a:hover {
    color: var(--primary);
}

/* Hero Section */
.colorlib-hero {
    min-height: 100vh;
    background: #fff;
    z-index: 0;
}

.hero-wrap {
    height: 100vh;
    background-size: auto 100%;
    background-position: right top;
    background-repeat: no-repeat;
    background-color: #fff;
    position: relative;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
}

.hero-text {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-left: 60px;
    padding-right: 5%;
}

.hero-text-inner h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-text-inner h2 {
    font-size: 20px;
    font-family: var(--font-main);
    font-weight: 400;
    margin-bottom: 40px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 4px;
    font-family: var(--font-main);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    display: inline-block;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

/* General Sections */
.colorlib-narrow-content {
    padding: 0 2.5em;
    max-width: 1100px;
    margin-top: 2em;
    margin-bottom: 2em;
    margin-left: 40px;
}

.colorlib-heading {
    font-size: 18px;
    margin-bottom: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 1.2;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
}

/* Progress Bar */
.progress-wrap {
    width: 100%;
    float: left;
    margin-bottom: 10px;
}

.progress-wrap h3 {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    float: left;
    width: 100%;
    font-family: var(--font-main);
}

.progress {
    height: 6px;
    box-shadow: none;
    background: #f2f3f7;
    overflow: visible;
}

.progress-bar {
    background: var(--primary);
    box-shadow: none;
    font-size: 12px;
    line-height: 1.2;
    color: #000;
    font-weight: 600;
    text-align: right;
    position: relative;
    overflow: visible;
    border-radius: 8px;
}

.progress-bar span {
    position: absolute;
    top: -30px;
    right: 0;
}

/* Blog Entry */
.blog-entry {
    width: 100%;
    float: left;
    margin-bottom: 3em;
}

.blog-entry .desc {
    padding: 25px;
    background: #f2f3f7;
}

.blog-entry .desc h3 {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 28px;
    font-weight: 700;
}

.blog-entry .desc h3 a {
    color: #000;
}

.blog-entry .desc span {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contact */
.colorlib-feature {
    text-align: left;
    width: 100%;
    float: left;
    margin-bottom: 40px;
    position: relative;
}

.colorlib-feature .colorlib-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    display: table;
    text-align: center;
    background: #f2f3f7;
    border-radius: 2px;
}

.colorlib-feature .colorlib-icon i {
    display: table-cell;
    vertical-align: middle;
    font-size: 40px;
    color: var(--primary);
}

.colorlib-feature .colorlib-text {
    padding-left: 120px;
    width: 100%;
}

.colorlib-feature .colorlib-text h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.colorlib-feature.colorlib-feature-sm .colorlib-icon {
    width: 60px;
    height: 60px;
}

.colorlib-feature.colorlib-feature-sm .colorlib-icon i {
    font-size: 28px;
}

.colorlib-feature.colorlib-feature-sm .colorlib-text {
    padding-left: 80px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 6px 12px;
    box-shadow: none;
    background: #f2f3f7;
    border: transparent;
    height: 54px;
    font-size: 16px;
    font-weight: 400;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 30px;
}

textarea.form-control {
    height: inherit;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Timeline/Experience */
.timeline-centered {
    position: relative;
    margin-bottom: 30px;
}

.timeline-centered:before {
    content: '';
    position: absolute;
    display: block;
    width: 4px;
    background: #f2f3f7;
    left: 20px;
    top: 20px;
    bottom: 20px;
}

.timeline-entry {
    position: relative;
    margin-top: 5px;
    margin-left: 20px;
    margin-bottom: 20px;
    clear: both;
}

.timeline-icon {
    display: block;
    width: 40px;
    height: 40px;
    background: #f2f3f7;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 0 0 5px #fff;
    line-height: 40px;
    position: absolute;
    left: -20px;
    color: #fff;
    top: 0;
}

.timeline-icon i {
    font-size: 14px;
}

.timeline-icon.color-1 {
    background: var(--color-1);
}

.timeline-icon.color-2 {
    background: var(--color-2);
}

.timeline-icon.color-3 {
    background: var(--color-3);
}

.timeline-icon.color-4 {
    background: var(--color-4);
}

.timeline-icon.color-5 {
    background: var(--color-5);
}

.timeline-icon.color-none {
    background: #f2f3f7;
    width: 20px;
    height: 20px;
    left: -10px;
    box-shadow: none;
}

.timeline-label {
    position: relative;
    background: #f2f3f7;
    padding: 1.5em;
    margin-left: 50px;
    background-clip: padding-box;
    border-radius: 5px;
}

.timeline-label:after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 9px 9px 0;
    border-color: transparent #f2f3f7 transparent transparent;
    left: 0;
    top: 10px;
    margin-left: -9px;
}

.timeline-label h2 {
    font-size: 20px;
    font-family: var(--font-main);
    margin-bottom: 0;
}

.timeline-label h2 a {
    color: #000;
}

.timeline-label h2 span {
    color: rgba(0, 0, 0, 0.4);
    font-size: 14px;
    margin-left: 10px;
}

.company-name {
    font-size: 14px;
    color: var(--primary);
    margin-top: 5px;
    margin-bottom: 15px;
}

/* Mobile Nav Toggle */
.colorlib-nav-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2000;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    #colorlib-aside {
        width: 250px;
        transform: translateX(-250px);
        transition: 0.5s;
    }

    #colorlib-aside.show {
        transform: translateX(0);
    }

    #colorlib-main {
        width: 100%;
    }

    .colorlib-nav-toggle {
        display: block;
    }

    .colorlib-narrow-content {
        padding: 0 1.5em;
        margin: 4em auto;
    }

    .hero-text-inner h1 {
        font-size: 40px;
    }
}