@font-face {
    font-family: Poppins-Light;
    src: url('../localfonts/Poppins-Light.woff') format('woff'),
        url('../localfonts/Poppins-Light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Poppins-Regular;
    src: url('../localfonts/Poppins-Regular.woff') format('woff'),
        url('../localfonts/Poppins-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Poppins-SemiBold;
    src: url('../localfonts/Poppins-SemiBold.woff') format('woff'),
        url('../localfonts/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: Poppins-Bold;
    src: url('../localfonts/Poppins-Bold.woff') format('woff'),
        url('../localfonts/Poppins-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: Mackinac-Bold;
    src: url('../localfonts/P22Mackinac-ExtraBold.woff') format('woff'),
        url('../localfonts/P22Mackinac-ExtraBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary-color: #5318eb;
    --white-color: #ffffff;
    --dark-color: #010101;
    --menu-bg-color: #212529;
    --primary-color-opacity: rgba(127, 17, 224, 0.3);
    --primary-color-light: rgba(255, 255, 255, 0.5);

    --gray-color: #909090;
    --p-color: #575f73;

    --base-font-family: Poppins-Regular, -apple-system, BlinkMacSystemFont,
        'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
        'Noto Color Emoji';
    --font-weight-bold: 600;
    --font-weight-normal: 400;
    --font-weight-light: 300;

    --h1-font-size: 56px;
    --h2-font-size: 48px;
    --h3-font-size: 38px;
    --h4-font-size: 34px;
    --h5-font-size: 30px;
    --h6-font-size: 24px;
    --p-font-size: 18px;
    --base-font-size: 16px;
    --button-font-size: 20px;

    --border-radius-large: 100%;
    --border-radius-medium: 80px;
    --border-radius-small: 8px;
}

body {
    font-family: var(--base-font-family);
}

.fade-center {
    animation: fadeCenter ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    opacity: 0;
}

.slide-from-bottom {
    animation: slideFromBottom ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    opacity: 0;
}

.slide-from-right {
    animation: slideFromRight ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    opacity: 0;
}

.slide-from-left {
    animation: slideFromLeft ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    opacity: 0;
}

.animation-delay-025 {
    animation-delay: 0.25s;
}

.animation-delay-050 {
    animation-delay: 0.5s;
}

.animation-delay-075 {
    animation-delay: 0.75s;
}

.animation-delay-100 {
    animation-delay: 1s;
}

.animation-delay-125 {
    animation-delay: 1.25s;
}

.animation-delay-150 {
    animation-delay: 1.5s;
}

.animation-delay-175 {
    animation-delay: 1.75s;
}

.animation-delay-200 {
    animation-delay: 2s;
}

@keyframes fadeCenter {
    0% {
        opacity: 0;
        position: relative;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideFromBottom {
    0% {
        top: 10em;
        opacity: 0;
        position: relative;
    }
    100% {
        top: 0em;
        opacity: 1;
    }
}

@keyframes slideFromRight {
    0% {
        right: -10em;
        opacity: 0;
        position: relative;
    }
    100% {
        right: 0;
        top: 0em;
        opacity: 1;
    }
}

@keyframes slideFromLeft {
    0% {
        left: -10em;
        opacity: 0;
        position: relative;
    }
    100% {
        left: 0;
        top: 0em;
        opacity: 1;
    }
}

@layer demo {
    @keyframes scale-a-lil {
        from {
            scale: 0.75;
        }
    }

    @media (prefers-reduced-motion: no-preference) {
        .experience-container,
        .footer-pattern {
            animation: scale-a-lil linear both;
            animation-timeline: view();
            animation-range: 25vh 75vh;
        }
    }

    @media (prefers-reduced-motion: no-preference) {
        .skill-container,
        .project-details {
            animation: slideFromRight linear both;
            animation-timeline: view();
            animation-range: 0vh 60vh;
        }
    }

    @media (prefers-reduced-motion: no-preference) {
        .skill-introduction,
        .project-introduction,
        .contact-introduction {
            animation: slideFromLeft linear both;
            animation-timeline: view();
            animation-range: 0vh 60vh;
        }
    }
}

/*---------------------------------------
    TYPOGRAPHY              
-----------------------------------------*/

h1 {
    font-size: var(--h1-font-size);
}

h1,
h3 {
    font-weight: var(--font-weight-light);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    font-size: var(--h5-font-size);
}

h6 {
    font-weight: var(--font-weight-bold);
    font-size: var(--h6-font-size);
}

p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.3px;
    line-height: 2em;
}

.section-padding {
    padding: 6rem 0;
}

.custom-icon {
    font-size: 12px;
    position: relative;
    bottom: 3px;
    left: 5px;
    transform: rotate(-25deg);
}

/* CUSTOM BUTTON */
.custom-btn {
    background: var(--dark-color);
    border: none;
    border-radius: var(--border-radius-small);
    color: var(--white-color);
    letter-spacing: 0.2px;
    font-size: var(--button-font-size);
    white-space: nowrap;
    transition: all 0.25s;
    text-transform: uppercase;
    font-size: smaller;
}

.custom-btn:hover,
.custom-btn:focus {
    color: var(--dark-color);
    background: var(--primary-color);
    transition: all 0.25s;
}

.button-header {
    display: inline-block;
    text-align: center;
    color: var(--white-color);
    background: linear-gradient(
            to left,
            transparent 50%,
            var(--primary-color-opacity) 50%
        )
        right;
    background-size: 200%;
    transition: 0.25s ease-out;
    border-radius: var(--border-radius-small);
    border: 1px solid var(--white-color);
    color: var(--white-color);
}

.button-header:hover {
    background-position: left;
    color: var(--white-color);
}

/*---------------------------------------
        GENERAL               
    -----------------------------------------*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.4s linear;
}

a:hover {
    color: var(--dark-color);
    text-decoration: none;
}

/*---------------------------------------
        MENU                
    -----------------------------------------*/

.navbar {
    background: linear-gradient(90deg, #5318eb, #ab6ef9);
    padding: 0rem 1rem;
    transition: all 300ms ease-in-out;
    position: absolute;
    z-index: 99;
    top: 0;
    right: 0;
    left: 0;
    opacity: 1;
    position: fixed;
}

.navbar.scroll {
    position: fixed;
    opacity: 0;
}

.navbar-brand {
    display: flex;
    color: var(--white-color);
    font-weight: var(--font-weight-light);
    font-size: var(--h4-font-size);
}

.navbar-brand img.logo {
    padding: 0.15em 0em;
    max-height: 1.5em;
}

.navbar .custom-btn {
    background: none;
    border: 1px solid var(--white-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
}

.contact-form #submit-button:hover,
.navbar .custom-btn:hover {
    background: var(--dark-color);
    color: var(--white-color);
}

.navbar-expand-lg .navbar-nav .nav-link {
    margin: 0 1.5rem;
    padding: 18px 0px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.nav-item .nav-link.active,
.nav-item .nav-link:hover {
    color: var(--white-color);
}

.nav-item .nav-link.active {
    border-top: 5px solid transparent;
    border-bottom: 5px solid var(--primary-color-light);
}

.nav-link {
    color: var(--white-color);
    font-weight: var(--font-weight-light);
    font-size: var(--base-font-size);
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0 10px 0 0;
    width: 30px;
    height: 35px;
    outline: none;
}

.navbar-toggler:focus {
    outline: none;
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon::after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease,
        -webkit-transform 300ms 350ms ease;
    top: 0;
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon::before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
    background: var(--white-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease,
        -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--white-color);
    width: 30px;
    height: 2px;
    content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}

.progressContainer {
    width: 100%;
    height: 2px;
    background: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    width: 100%;
}
.progressBar {
    height: 2px;
    background: #ab6ef9;
    width: 0%;
}

.wave {
    animation-name: wave-animation; /* Refers to the name of your @keyframes element below */
    animation-duration: 2.5s; /* Change to speed up or slow down */
    animation-iteration-count: infinite; /* Never stop waving :) */
    transform-origin: 70% 70%; /* Pivot around the bottom-left palm */
    display: inline-block;
}

@keyframes wave-animation {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(14deg);
    } /* The following five values can be played with to make the waving more or less extreme */
    20% {
        transform: rotate(-8deg);
    }
    30% {
        transform: rotate(14deg);
    }
    40% {
        transform: rotate(-4deg);
    }
    50% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(0deg);
    } /* Reset for the last half to pause */
    100% {
        transform: rotate(0deg);
    }
}

/*---------------------------------------
        HERO                
    -----------------------------------------*/

.hero {
    border-bottom: 1px solid #f1f1f1;
}

.emoji {
    font-size: 2em;
    margin-bottom: -0.25em;
    margin-top: 1.25em;
    margin-left: 0.25em;
}

.hero-title {
    border-radius: var(--border-radius-medium);
    display: inline-block;
    margin: 0.5rem 0;
    font-family: Mackinac-Bold;
    font-size: 4.5em;
    font-weight: 500;
}

.master-title {
    border-radius: var(--border-radius-medium);
    display: inline-block;
    margin: 0.5rem 0;
    font-family: Mackinac-Bold;
    font-size: 2.8em;
    font-weight: 500;
}

.email-link {
    background: var(--dark-color);
    border-radius: var(--border-radius-medium);
    color: var(--white-color);
    display: inline-block;
    margin: 0.5rem 0;
    padding: 0.5rem 2rem 1.5rem 2rem;
    font-size: 2.2em;
}

.email-link {
    background: var(--primary-color);
    color: var(--dark-color);
    font-size: var(--h4-font-size);
    padding: 0.5rem 2rem 1rem 2rem;
}

.email-link:hover {
    background: var(--dark-color);
    color: var(--white-color);
}

.skill-description {
    color: #795fea;
    font-size: 1.85em;
    line-height: 1.25;
}

.khairul-image {
    display: flex;
    justify-content: end;
    align-items: end;
}

.khairul-image .infobox {
    text-align: center;
    position: absolute;
    padding: 20px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 10px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.khairul-image .infobox.ui {
    transform: rotate(-20deg);
    top: 25%;
    left: 0;
}

.khairul-image .infobox.frontend {
    transform: rotate(20deg);
    top: 35%;
    right: 30px;
}

.khairul-image .infobox .year {
    font-size: 18px;
    font-family: Poppins-SemiBold;
    padding: 0;
    margin: 0;
}

.ux-ui {
    color: #7687bd;
}

.front-end {
    color: #8171ef;
}

.bounce-1 {
    animation-name: bounce-1;
    animation-timing-function: linear;
}
@keyframes bounce-1 {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.khairul-image .infobox .job {
    font-size: 12px;
    color: var(--p-color);
    padding: 0;
    margin: 0;
}

.company-logo {
    mix-blend-mode: luminosity;
    display: flex;
    justify-content: space-between;
    opacity: 0.5;
}

.company-logo img {
    width: 180px;
    object-fit: contain;
    margin: 30px 0px;
}

.experience {
    background: linear-gradient(90deg, #5318eb, #ab6ef9, #ab6ef9);
}

.experience .master-title,
.contact .master-title {
    color: var(--white-color);
}

.experience .sub-title,
.contact .sub-title {
    color: #f3d0fa;
}

.experience .year {
    color: #f3d0fa;
}

.experience .company-name {
    font-size: 0.75em;
    color: #f3d0fa;
}

.experience .job-title {
    font-size: 1.25em;
    color: var(--white-color);
}

.title-header {
    font-size: 1.5em;
    color: var(--dark-color);
}

.sub-title {
    margin-bottom: 3em;
    color: var(--p-color);
}

.colorful-header {
    width: 100%;
    height: 80px;
}

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.timeline-steps .timeline-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 1rem;
}

.pulsating-circle:before {
    animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulsating-circle:after {
    animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1.33);
    }
    80%,
    100% {
        opacity: 0;
    }
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.8);
    }
}

@media (min-width: 768px) {
    .timeline-steps .timeline-step:not(:last-child):after {
        content: '';
        display: block;
        border-top: 0.25rem dotted var(--primary-color-opacity);
        width: 6rem;
        position: absolute;
        left: 9rem;
        top: 0.3125rem;
    }
    .timeline-steps .timeline-step:not(:first-child):before {
        content: '';
        display: block;
        border-top: 0.25rem dotted var(--primary-color-opacity);
        width: 5.5rem;
        position: absolute;
        right: 9rem;
        top: 0.3125rem;
    }
}

.timeline-steps .timeline-content {
    width: 13.9rem;
    text-align: center;
}

.timeline-steps .timeline-content .inner-circle {
    border-radius: 1.5rem;
    height: 1rem;
    width: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.timeline-steps .timeline-content .inner-circle:before {
    content: '';
    background-color: var(--primary-color-opacity);
    display: inline-block;
    height: 3rem;
    width: 3rem;
    min-width: 3rem;
    border-radius: 6.25rem;
    opacity: 0.5;
}

.skill-container {
    display: flex;
    flex-direction: column;
}

.skill-box {
    background: #fff;
    border-radius: 1.5em;
}

.skill-box .skill-title {
    font-size: 1em;
}

.skill-box .skill-subtitle {
    font-size: 0.75em;
    line-height: 1.5;
    font-family: Poppins-Light;
}

.tech-logo-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75em;
}

.tech-logo-container .logo {
    background: #fff;
    padding: 10px;
    width: 80px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--border-radius-small);
    box-shadow: 6px 6px 5px 1px rgba(171, 171, 171, 0.07);
}

.tech-logo-container .logo img {
    width: 30px;
}

.tech-logo-container .logo .tech-name {
    font-size: 0.65em;
    line-height: 1.25;
}

.project-category {
    list-style-type: none;
    margin: 0 0 1em 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
}

.project-category li {
    float: left;
    border-radius: 3em;
    padding: 0.75em 1.5em;
    margin-right: 0.5em;
    font-size: 0.85em;
}

.project-category li.obank-scheme {
    background: #f6efe0;
    color: #978a6b;
}

.project-category li.gojannah-scheme {
    background: #cdd3f4;
    color: #7882b9;
}

.project-category li.coffee-scheme {
    background: #d4f0e0;
    color: #659078;
}

.project-category li.aib-scheme {
    background: #f2d3dc;
    color: #ac7d8e;
}

.project-category li.appspace-scheme {
    background: #cce0f0;
    color: #5a87ac;
}

.section-title {
    font-weight: 500;
    margin: 0px 0 16px;
    letter-spacing: 1px;
    position: relative;
}

.section-content-text {
    font-size: 1em;
    font-family: Poppins-Light;
}

.modal {
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    border-radius: 1em;
}

.modal-body {
    display: flex;
    justify-content: center;
}

.modal-header button.close {
    outline: none;
}

.modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.modal-title {
    font-size: 1.5rem;
}

.mobile-app-container {
    position: absolute;
    border: 5px solid #000;
    width: 210px;
    height: 440px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.mobile-app-container .mobile-island {
    height: 1em;
    border-radius: 1em;
    margin-top: 0.3em;
    width: 5em;
    background: #000000;
}

.projects-grid {
    display: grid;
    grid-gap: 40px;
    grid-template-columns: repeat(1, auto);
}

.section-pro {
    background: #ccc;
    background-size: cover;
    align-items: center;
    overflow: hidden;
    border-radius: 1.5em;
    flex-direction: row-reverse;
    margin-top: 2em;
    padding: 2em;
}

.section-pro .text {
    padding: 0;
}

.section-pro .text h3 {
    font-family: Mackinac-Bold, Poppins-Bold, Sans;
}

.section-pro .text p {
    color: #444;
    line-height: 1.75em;
}

.section-pro .text .sub-text {
    font-weight: 500;
}

.section-pro .text ul {
    list-style: none;
    padding-left: 0;
    color: #444;
    letter-spacing: 0.3px;
}

.section-pro .text ul li svg {
    margin-right: 0.25em;
}

.section-pro .screen {
    text-align: center;
}

.section-aib {
    background-image: linear-gradient(-120deg, #fedfe7, #fbedff);
}

.section-qalbuku {
    background: #d3e0ff;
    background-image: linear-gradient(120deg, #d3e0ff, #eaeaff);
}

.section-obank {
    background: #ffeede;
    background-image: linear-gradient(120deg, #fdfaef, #fff9ea);
}

.section-appspace {
    background: #e9f5ff;
    background-image: linear-gradient(120deg, #e9f5ff, #dbecfa);
}

.section-coffeeshop {
    background: #f3fceb;
    background-image: linear-gradient(120deg, #f3fceb, #dffff4);
}

a.button {
    color: #444;
    font-size: 1em;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    padding: 1.25em 1.25em 1.25em 1.25em;
    height: 2.85em;
    transition: all ease-out 0.5s;
    margin: 1em 0 1em 0;
    border-radius: var(--border-radius-small);
}

a.button svg {
    opacity: 0;
    display: none;
    margin-left: 0.75em;
    padding-top: 0.15em;
    transition: all ease-out 0.5s;
}

a.button:hover {
    padding: 1.25em 1.5em 1.25em 1.25em;
    transition: all ease-out 0.5s;
}

a.button:hover svg {
    opacity: 1;
    display: block;
    margin-left: 0.75em;
    padding-top: 0.15em;
    transition: all ease-out 0.5s;
}

/*---------------------------------------
     ABOUT                
  -----------------------------------------*/

.about-third {
    margin: 2.2em -0.8em;
}

.about-image {
    border-radius: var(--border-radius-small);
}

.profile-list li {
    margin: 0.3rem 0;
}

.profile-list strong {
    display: inline-block;
    width: 30%;
    margin-right: 1rem;
}

/*---------------------------------------
     FAQ                 
  -----------------------------------------*/

.faq .card-header {
    padding: 0;
}

.faq .btn-link {
    color: var(--dark-color);
    font-size: var(--h6-font-size);
    text-align: left;
    display: block;
    width: 100%;
    padding: 1rem 2rem;
}

.faq .btn-link:focus,
.faq .btn-link:hover {
    color: var(--dark-color);
    text-decoration: none;
}

.faq .card-body {
    padding: 2rem;
}

.faq-info-text {
    font-size: var(--base-font-size);
    display: block;
    margin: 1.5rem 2rem 0 2rem;
}

/*---------------------------------------
     TESTIMONIALS               
  -----------------------------------------*/

.testimonials {
    background: #f9f9f9;
}

.testimonials-image {
    margin: 0 1rem 1rem 1rem;
    width: 3em;
}

.testimonials-info {
    width: 100%;
}

.testimonials-info ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.testimonials-info ul li {
    margin-bottom: 0.35em;
    margin-top: 0.35em;
}

.testimonials-info ul li svg {
    margin-right: 0.75em;
}

.testimonials .owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 2rem;
}

.testimonials .owl-theme .owl-dots .owl-dot {
    outline: none;
}

.testimonials .owl-theme .owl-dots .owl-dot span {
    width: 30px;
    height: 3px;
    margin: 5px;
}

.testimonials .owl-theme .owl-dots .owl-dot.active span,
.testimonials .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary-color);
}

/*---------------------------------------
     CONTACT               
  -----------------------------------------*/

.contact {
    background: linear-gradient(90deg, #5318eb, #ab6ef9);
    transition: all 300ms ease-in-out;
}

.footer-link {
    display: flex;
}

.footer-gap {
    height: 12em;
}

.footer-button .logo i {
    margin-top: 0.5em;
    color: #f3d0fa;
}

.footer-button a .logo {
    background: transparent;
}

.footer-button a .logo .tech-name {
    color: #f3d0fa;
}

.footer-button a {
    background: linear-gradient(
            to left,
            transparent 50%,
            var(--primary-color-opacity) 50%
        )
        right;
    background-size: 200%;
    transition: 0.25s ease-out;
    border-radius: var(--border-radius-small);
    border: 1px solid var(--white-color);
    color: var(--white-color);
    border: 1px solid #f3d0fa;
}

.footer-button a:hover {
    background-position: left;
    color: var(--white-color);
}

.footer-pattern {
    width: 10em;
    height: 10em;
    position: absolute;
    left: 70%;
}

.footer-pattern img {
    width: 130%;
    margin-top: 4em;
}

.contact-form .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(142, 140, 140, 0.35);
    box-shadow: none;
    border-radius: 0;
    -webkit-appearance: none;
    outline: none;
    color: var(--dark-color);
    font-weight: var(--font-weight-light);
    padding-left: 0;
    cursor: text;
}

.contact-form input {
    height: calc(2.25rem + 10px);
}

.contact-form .form-group {
    margin: 0 0 1rem;
    position: relative;
}

.contact-form .form-control,
.webform-label {
    transition: all 0.4s;
    touch-action: manipulation;
}

.webform-label {
    cursor: text;
    font-size: 12px;
    font-weight: var(--font-weight-light);
    margin-bottom: 5px;
}

.contact-form .form-control:placeholder-shown + .webform-label {
    cursor: text;
    max-width: 66.66%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform-origin: left bottom;
    transform: translate(0, 2.125rem) scale(1.5);
}

.contact-form ::-webkit-input-placeholder {
    opacity: 0;
    transition: inherit;
    color: var(--dark-color);
}

.contact-form ::-moz-placeholder {
    opacity: 0;
    transition: inherit;
    color: var(--dark-color);
}

.contact-form .form-control:focus::-webkit-input-placeholder {
    opacity: 1;
}

.contact-form .form-control:focus::-moz-placeholder {
    opacity: 1;
}

.contact-form .form-control:not(:placeholder-shown) + .webform-label,
.contact-form .form-control:focus + .webform-label {
    transform: translate(0, 0) scale(1);
    cursor: pointer;
    color: var(--gray-color);
}

.contact-form #submit-button {
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-medium);
    color: var(--dark-color);
    cursor: pointer;
    font-size: var(--p-font-size);
    line-height: 0;
    margin-top: 2.5rem;
    padding: 1.5rem 1.8rem 1.8rem 1.8rem;
    white-space: nowrap;
    max-width: 190px;
}

.copyright-text {
    font-size: var(--base-font-size);
}

/*---------------------------------------
     SOCIAL LINKS              
  -----------------------------------------*/

.social-links {
    margin: 40px 0;
    padding: 0;
}

.social-links li {
    display: inline-block;
    list-style: none;
}

.social-links a {
    display: inline-block;
    color: var(--p-color);
    font-size: var(--h6-font-size);
    margin: 5px 20px 5px 0;
}

.social-links a:hover {
    color: var(--dark-color);
}

/*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

@media screen and (max-width: 1200px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }

    .email-link {
        font-size: 28px;
    }
}

@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 1.8em;
        padding-bottom: 1rem;
    }

    .email-link {
        font-size: 22px;
        padding: 0.5rem 2rem 0.7rem 2rem;
    }
}

@media screen and (max-width: 991px) {
    .navbar-nav {
        margin: 1rem 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        display: inline-block;
        margin: 5px 0.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-text {
        position: relative;
        top: 1.5rem;
    }

    .company-logo img {
        width: 25%;
        margin: 30px 0px;
    }
}

@media screen and (max-width: 480px) {
    .company-logo {
        padding: 1em;
    }
    .company-logo img {
        width: 50%;
        margin: 10px 0px;
    }

    .colorful-header {
        height: 60px;
    }

    .navbar-brand img.logo {
        max-width: 72px;
    }

    .hero-title {
        font-size: 3em;
    }

    .title-header {
        margin-top: 2em;
    }

    .email-link {
        font-size: 20px;
        padding: 0.3rem 2rem 0.6rem 2rem;
    }

    .emoji {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1.5em;
    }

    .master-title {
        font-size: 2.5em;
    }

    .section-pro .text p {
        line-height: 1.5em;
    }

    .section-content-text {
        font-size: 0.85em;
    }

    .section-pro {
        margin-top: 0em;
        padding: 1em;
        border-radius: 0px;
    }

    .section-pro .text h3 {
        font-size: 28px;
        margin-bottom: 0.25em;
    }

    .section-padding {
        padding: 5rem 0;
        overflow: hidden; // Stop animation on mobile
    }

    .skill-description {
        font-size: 1.25em;
    }

    .khairul-image .infobox.frontend {
        right: -10px;
    }

    p {
        line-height: 1.5em;
    }

    p.sub-title {
        line-height: 1.5em;
        margin-bottom: 1.5em;
    }

    .projects-grid {
        margin-left: -15px;
        margin-right: -15px;
    }

    .section-pro .screen {
        margin-bottom: 1.5em;
    }

    .footer-pattern {
        position: absolute;
        left: unset;
        right: 20%;
    }

    .tech-logo-container {
        gap: 0.4em;
    }

    .tech-logo-container .logo {
        padding: 6px;
        width: 60px;
    }

    .tech-logo-container .logo img {
        width: 24px;
    }

    .tech-logo-container .logo .tech-name {
        font-size: 0.55em;
        line-height: 1.25;
    }
}
