/* base styles */
body {
    background-color: #121212;
    color: white;
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative;
    color: #C4C4C4;
    font-weight: 300;
}
h1 {
    font-weight: 200;
    margin-bottom: 20px;
    line-height: 1.5;
    color: white;
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
}

h2 {
    margin-bottom: 32px;
    color: white;
    line-height: 1.6;
    font-weight: 300;
}

@media (max-width: 768px) {
    h2 {
        font-size: 28px;
        line-height: 1.6;
    }
}

h3 {
    padding-bottom: 20px;
    color: white;
    padding-top: 40px;
    font-weight: 400;
    line-height: 1.6;
}

.row-bottom-margin {
    margin-bottom: 100px !important;
}

@media (max-width: 768px) {
    h3 {
        font-size: 24px;
    }
}

h4 {
    color: white;
    font-weight: 500;
}

@media (max-width: 768px) {
    h4 {
        font-size: 20px;
    }
}

strong {
    font-weight: 600;
}

p {
    line-height: 1.9;
}

ul {
    padding-left: 16px;
}

header.container {
    margin-top: 32px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    header.container {
        margin-top: 16px;
        margin-bottom: 16px;
    }
}

hr {
    border: 0;
    height: 1px;
    background-color: #333333;
}


.container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

/* Container and custom styles */
.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.container-no-horiz-scroll {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .container-spacing {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container, .container-xl, .container-lg, .container-md, .container-sm {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
        max-width: 1320px;
    }
}

.animate-in {
    -webkit-animation: fadeIn 0.5s ease-in;
    animation: fadeIn 0.5s ease-in;
}

.animate-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.spacing-container {
    margin-top: 32px;
    margin-bottom: 32px;
    padding-top: 16px !important;
}

@media (max-width: 768px) {
    .spacing-container {
        margin-top: 16px;
        margin-bottom: 32px;
        padding-top: 0;
    }
}



/* Desktop navigation */
.desk-nav .nav-link {
    color: #C4C4C4 !important;
    padding: 8px 0;
    margin: 0 16px;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.desk-nav .nav-link.active {
    color: white !important;
    font-weight: 700;
    border-bottom: 3px solid #00FFFF;
}

.desk-nav .nav-link.about-active {
    color: white !important;
    border-bottom: 3px solid #00FFFF;
}

.desk-nav .nav-link:hover {
    color: white !important;
}

.desk-nav .nav-item {
    position: relative;
}

.desk-nav .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 15px;
    background-color: #000;
    padding: 0;
    margin: 0;
    min-width: 150px;
    border-radius: 0 8px 8px 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.desk-nav .nav-item.open .sub-menu {
    max-height: 500px;
    opacity: 1;
    transform: scaleY(1);
}

.desk-nav .sub-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    color: #C4C4C4;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    border-bottom: 1px solid #333333;
}

.desk-nav .sub-menu a:first-child {
    border-radius: 0 8px 0 0;
}

.desk-nav .sub-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.desk-nav .nav-item.open .sub-menu a {
    opacity: 1;
    transition: opacity 0.3s ease 0.3s, color 0.3s ease;
}

.desk-nav .sub-menu a:hover {
    color: white; /* Hover text color */
}

.right-chevron {
    margin-left: 2px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.desk-nav .sub-menu a:hover .right-chevron {
    transform: translateX(5px);
    color: white;
}

.logo {
    width: 300px;
    height: auto;
}

@media (max-width: 768px) {
    .logo {
        width: 200px;
        margin-bottom: 15px;
    }
}

.nav-container {
    display: flex;
    align-items: center;
}

.chevron {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 20px;
    color: #00FFFF;
    margin-left: 4px;
    vertical-align: middle;
}

.desk-nav .nav-item.open .chevron {
    transform: rotate(180deg);
}

.right-chevron::after {
    content: 'chevron_right';
    font-family: 'Material Icons';
    color: #00FFFF;
    font-size: 20px;
}

.underline-hover::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: #00FFFF;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.underline-hover:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.underline-hover::after {
    right: 0;
    left: auto;
    transition: width 0.3s ease;
}

.underline-hover:hover::after {
    right: auto;
    left: 0;
    width: 100%;
    transition: width 0.3s ease;
}

.nav-link-container {
    position: relative;
}

@media (max-width: 768px) {
    .desk-nav {
        display: none;
    }
}

.nav-link {
    padding: .5rem 0;
}



/* Mobile navigation */
.menu-btn-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1002;
    transition: transform 0.3s ease;
}

.menu-btn {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    color: #00FFFF;
    border: 2px solid #00FFFF;
    border-radius: 24px;
    height: 48px;
    padding: 0 24px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    width: 140px;
    justify-content: space-between;
}

.menu-btn:hover {
    border-width: 4px;
}

.menu-btn.open {
    border-width: 2px;
}

.menu-btn .menu-icon {
    display: flex;
    align-items: center;
    margin-right: 24px;
    position: relative;
}

.menu-btn .menu-icon .line {
    width: 16px;
    height: 2px;
    background: #00FFFF;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-btn .menu-icon .line1 {
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
}

.menu-btn .menu-icon .line2 {
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

.menu-btn.open .menu-icon .line1 {
    transform: translateY(-50%) rotate(45deg);
}

.menu-btn.open .menu-icon .line2 {
    transform: translateY(-50%) rotate(135deg);
}

.menu-btn span {
    color: white;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
}

.menu-btn .menu-text {
    visibility: visible;
    margin-left: 32px;
}

.menu-btn .close-text {
    visibility: hidden;
    opacity: 0;
    margin-left: 28px;
}

.menu-btn.open .menu-text {
    visibility: hidden;
    opacity: 0;
}

.menu-btn.open .close-text {
    visibility: visible;
    opacity: 1;
}

.mob-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    transition: height 0.5s ease;
    z-index: 999;
    height: 0;
    overflow: hidden;
}

.mob-nav.open {
    height: 100vh; /* Adjusted to use viewport height */
}

.mob-nav .nav-items,
.mob-nav .linkedin {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: left;
    padding: 0 24px;
    opacity: 1;
    display: block;
    transition: opacity 0.7s ease;
}

.mob-nav .nav-items {
    top: 50%;
    transform: translateY(-50%);
}

.mob-nav .linkedin {
    bottom: 32px;
    display: flex;
    align-items: center;
}

.mob-nav.closing .nav-items,
.mob-nav.closing .linkedin {
    opacity: 0;
}

.mob-nav .nav-items a {
    display: block;
    font-size: 28px;
    font-weight: 300;
    color: #C4C4C4;
    text-decoration: none;
    margin-bottom: 16px;
    border-top: 1px solid #333333;
    padding-top: 16px;
    padding-bottom: 6px;
    position: relative;
    transition: color 0.3s ease;
}

.mob-nav .nav-items a:first-child {
    border-top: none;
}

.mob-nav .nav-items a.active {
    color: #00FFFF;
    font-weight: 700;
}

.mob-nav .nav-items a:hover {
    color: white;
}

.mob-nav .sub-menu-wrapper {
    overflow: hidden;
    transition: height 0.3s ease;
    height: 0;
    padding-bottom: 0;
}

.mob-nav .sub-menu {
    padding-left: 24px;
    display: block;
}

.mob-nav .sub-menu a {
    font-size: 20px;
    display: block;
    list-style: none;
    color: #C4C4C4 !important;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-top: none;
    transition: color 0.3s ease;
}

.mob-nav .sub-menu a:hover {
    color: white !important;
    background-color: transparent;
}

.mob-nav .has-sub-menu {
    cursor: pointer;
}

.mob-nav .has-sub-menu .chevron {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #00FFFF;
    transition: transform 0.3s ease;
    font-size: 28px;
}

.mob-nav .has-sub-menu.open .chevron {
    transform: translateY(-50%) rotate(180deg);
}

.mob-nav .linkedin .material-icons-outlined {
    font-size: 20px;
    font-weight: 100;
    margin-right: 8px;
    color: #00FFFF;
}

.mob-nav .linkedin span {
    text-decoration: none;
}

.mob-nav .linkedin a {
    color: #00FFFF;
    text-decoration: none;
}

.mob-nav .linkedin a:hover {
    color: white;
    text-decoration: underline;
}

.mob-nav .linkedin .material-icons-outlined:hover {
    color: white;
    text-decoration: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (min-width: 769px) {
    .mob-nav, .menu-btn-container {
        display: none;
    }
}

.menu-btn-container {
    z-index: 1003;
}



/* Home Page */
:root {
    --vh: 100%;
}

.home-page-centered-h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.home-page-centered-h1 span {
    margin-right: 5px;
}

.home-page-centered-h1 img {
    margin: 0 5px;
    vertical-align: middle;
    position: relative;
    top: 3px;
    width: 300px;
    height: auto;
}

@media (max-width: 768px) {
    .home-page-centered-h1 img {
        width: 220px;
    }
}

.home-page-assist-text {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
    opacity: 0;
}

.home-page-custom-button {
    display: flex;
    align-items: center;
    color: white;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 16px 10px 16px 20px;
    font-family: 'Raleway', sans-serif;
    width: 100%;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    margin-top: 15px;
    max-width: 640px;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(20px);
}

.home-page-custom-button strong {
    color: #00FFFF;
}

.home-page-custom-button:hover {
    border-color: #00FFFF;
}

.home-page-custom-button:hover .home-page-button-icon {
    transform: translateX(5px);
}

.home-page-button-text {
    flex-grow: 1;
    align-self: center;
    padding-right: 4px;
    color: #C4C4C4;
    margin-right: 20px;
}

.home-page-button-icon {
    width: 24px;
    height: auto;
    align-self: center;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .home-page-custom-button {
        border-color: #00FFFF;
    }
}

.home-page-hidden {
    visibility: hidden;
}

.home-page-fade-in {
    animation: homePageFadeIn 0.5s forwards;
}

.home-page-fade-in-up {
    animation: homePageFadeInUp 0.5s forwards;
}

.home-page-fade-in-up-quick {
    animation: homePageFadeInUpQuick 0.3s forwards;
}

@keyframes homePageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes homePageFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@keyframes homePageFadeInUpQuick {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.home-page-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(var(--vh, 1vh) * 100);
    width: 100%;
    overflow: hidden;
}

.home-page-center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    box-sizing: border-box;
    transition: height 0.5s ease-in-out;
    overflow: hidden;
    width: 100%;
    max-width: 580px;
}

.home-page-custom-heading {
    margin-bottom: 0;
}



/* Portfolio -intro section */
.intro-row-1 {
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 1px;
}

.text-subject {
    color: #B3B3B3;
    text-transform: uppercase;
}

.text-subject .highlight {
    color: white;
}

.intro-row-2 h1 {
    text-align: left;
}

.nav-container {
    position: relative;
    z-index: 1;
}

.desk-nav {
    z-index: 1001;
}

.mob-nav {
    z-index: 1002;
}

@media (max-width: 768px) {
    .container.spacing-container .intro-row-2 h1 {
        padding-bottom: 0;
    }
}



/* Portfolio - slideshow */
#kenburns-slideshow {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 60%; /* 4:3 aspect ratio */
    overflow: hidden;
    background-color: black;
    margin-top: 40px;
    margin-bottom: 68px;
}

@media (max-width: 768px) {
    #kenburns-slideshow {
        margin-top: -24px !important;

    }
    .slideshow-mobile-spacing {
        margin-top: 40px;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    #kenburns-slideshow {
        padding-bottom: 75%; /* Adjust aspect ratio for smaller screens */
        margin-top: 0;
        margin-bottom: 0;
    }
}

#kenburns-slideshow img {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 3s, 10s;
    transform-origin: center; /* Scale from center */
}

#kenburns-slideshow .kenburns-fx {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}



/* Portfolio - 01 / Discovery section */
.number-background-01 {
    background: url('/images/01-section.jpg') no-repeat bottom left;
}

.number-background-02 {
    background: url('/images/02-section.jpg') no-repeat bottom 35px right;
}

.number-background-03 {
    background: url('/images/03-section.jpg') no-repeat bottom 35px left;
}

.number-background-04 {
    background: url('/images/04-section.jpg') no-repeat bottom 35px right;
}

@media (max-width: 991px) {
    .number-background-01, .number-background-02, .number-background-03, .number-background-04 {
        background: none;
    }
}

.portfolio-border-top {
    border-top: 1px solid #333333;
    padding-top: 16px;
}

.portfolio-border-bottom {
    border-bottom: 1px solid #333333;
    padding-bottom: 30px;
}

.portfolio-skill-pill {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    background-color: #222222;
    border: 1px solid #333333;
    color: #ffffff;
    display: inline-block;
    margin: 12px 10px 0 0;
}

.big-number-container {
    position: relative;
    height: 80px;
    overflow: hidden;
    text-align: left;
    width: 120px;
}

.big-number, .big-number-lower, .big-number-deliver {
    font-size: 80px;
    line-height: 60px;
    color: #00FFFF;
    font-weight: 100;
    position: absolute;
    top: 150%;
}

.big-number.animate, .big-number-lower.animate-lower, .big-number-deliver.animate-deliver {
    animation: slide-up 0.5s forwards;
}

.big-number-text, .big-number-text-lower, .big-number-text-deliver {
    font-size: 20px;
    color: white;
    margin-top: 5px;
}

@keyframes slide-up {
    100% {
        top: 0;
    }
}

@media (max-width: 768px) {
    .big-number-container {
        height: 50px;
        width: 65px;
    }

    .big-number, .big-number-lower, .big-number-deliver {
        font-size: 44px;
        line-height: 45px;
        top: 150%;
    }

    .big-number-text, .big-number-text-lower, .big-number-text-deliver {
        font-size: 14px;
        margin-top: 4px;
    }

    .mobile-mt {
        margin-top: 60px;
    }
}

.number-groups, .lower-number-groups, .deliver-number-groups {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}


.fade-in-up-new {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-up-new-active {
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-responsibilities {
    margin-top: 0;
}

@media (max-width: 991px) {
    .portfolio-responsibilities {
        margin-top: 40px;
    }
}

.border-row {
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

.persona-box {
    background-color: #171717;
    padding: 16px;
    padding-bottom: 4px;
    border: 1px solid #333333;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 100%;
}

.persona-box img {
    width: 40px;
    height: auto;
    margin-right: 12px;
}

.persona-box strong {
    font-weight: bold;
    color: white;
    display: block;
    margin-bottom: 4px;
}

.persona-box div {
    color: #999999;
}

/* Mobile and Tablet Styles */
@media (max-width: 768px) {
    .persona-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .persona-container::-webkit-scrollbar {
        display: none;
    }

    .persona-container .col-md-6, 
    .persona-container .col-lg-4 {
        flex: 0 0 auto;
        flex-basis: 75%;
        max-width: 75%;
    }

    /* Adjustments for mobile and tablet layout */
    .persona-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .persona-box img {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .persona-box div {
        text-align: left;
        width: 100%;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .persona-container .col-md-6, 
    .persona-container .col-lg-4 {
        flex: 0 0 auto;
        flex-basis: 33.3333%;
        max-width: 33.3333%;
    }
}


.bordered-column {
    border-top: 2px solid #333333;
    border-bottom: 2px solid #333333;
    padding: 20px 0;
    text-align: center;
}

.process-title {
    color: #B3B3B3;
    text-transform: uppercase;
    text-align: center;
}

.bordered-column h2 {
    margin-bottom: 0;
    margin-top: 12px;
}

.low-fi-wires {
    max-width: 1400px;
    margin: 0 auto;
}

.low-fi-wires img {
    width: 100%;
    height: auto;
    display: block;
}

.results-icon-text-wrapper {
    display: flex;
    align-items: flex-start; /* Align the icon to the top */
}

.results-icon {
    width: 40px;
    height: auto;
    margin-right: 18px; /* Increased space between icon and text */
}

.results-column-content {
    padding: 20px;
}

.scroll-right {
    display: none;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .scroll-right {
        display: flex;
        align-items: center;
    }

    .scroll-right .text {
        margin-right: 8px;
    }

    .scroll-right .icon {
        width: 24px;
        height: auto;
        animation: nudge 1s ease-in-out infinite;
    }

    @keyframes nudge {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(5px);
        }
    }
}
.quote-text {
    font-size: 20px;
    padding-left: 20px;
}



/* Portfolio - scrolling phones */
.scroll {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 60px;
}

.scroll::-webkit-scrollbar {
    display: none;
}

.scroll {
    scrollbar-height: none;
    -ms-overflow-style: none;
}

.phone-size {
    width: 33%;
    height: auto;
    margin-top: 0;
}

@media (max-width: 576px) {
    .phone-size {
        width: 260px;
        margin-top: 0;
        height: auto;
    }
}

.scroll-right {
    display: none;
}

@media (max-width: 576px) {
    .scroll-right {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .scroll-right .text {
        margin-right: 8px;
    }

    .scroll-right .icon {
        width: 24px;
        height: auto;
        animation: nudge 1s ease-in-out infinite;
    }

    @keyframes nudge {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(5px);
        }
    }
}

@media (max-width: 767.98px) { /* Adjust the max-width as needed for mobile devices */
    .no-padding-mobile {
        padding: 0 !important;
        margin: 0 !important;
    }
}

.parallax-container {
    position: relative;
    width: 100%; /* Full width of the column */
    padding-top: 75%; /* 4:3 aspect ratio (height is 75% of width) */
    overflow: hidden; /* Ensure no overflow of the parallax background */
}

.parallax {
    position: absolute;
    top: -30%; /* Start slightly off-screen to accommodate movement */
    left: 0;
    right: 0;
    height: 118%; /* Oversized to ensure coverage */
    background-size: cover;
    background-position: center;
    z-index: -1; /* Ensure it stays behind the content */
}



/* Portfolio - results */
.result-section {
    display: flex;
    gap: 20px;
    padding: 0 15px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    margin-bottom:40px;
}

.result-section::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

.result-card {
    background-color: black;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    color: white;
    flex: 1 0 250px;
}

.result-card .material-icons-outlined {
    color: #00FFFF;
    margin-right: 12px;
}

@media (max-width: 1024px) {
    .result-card {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .result-section {
        gap: 10px;
        padding: 0 10px;
    }
    .result-card {
        min-width: 200px;
    }
}

.quote-section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.quote-section img {
    height: auto;
    margin-right: 20px; /* Space between the SVG and text */
}

.customer-thoughts h4 {
    padding-top: 0;
}



/* Contact me page */
.contact-container {
    margin-top: 80px;
    margin-bottom: 100px;
}

@media (max-width: 768px) {
    .contact-container {
        margin-top: 40px;
    }
}

.contact-header {
    text-align: left;
}

.contact-header h1,
.contact-header .text-subdued {
    display: block;
    text-align: left;
}

.contact-form-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    border: 1px solid #333333;
    border-radius: 8px;
    margin-bottom: 6px;
    background-color: #000000;
}

.contact-form label {
    margin-top: 10px;
    color: white;
    display: block;
    margin-bottom: 2px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 0;
    background-color: #121212 !important;
    color: white !important;
    border: 2px solid black;
    border-radius: 8px;
    margin-bottom: 10px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 2px solid #00FFFF;
}

.contact-form button {
    margin-top: 20px;
    padding: 10px 40px;
    background-color: #00FFFF;
    color: black;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #00e2e2;
}

@media (max-width: 768px) {
    .contact-form button {
        width: 100%;
    }
    .contact-form {
        margin-top: 30px;
    }
}

.invalid-feedback {
    display: none;
    color: red;
    margin-top: -5px;
    margin-bottom: 10px;
}

.invalid {
    border-color: red !important;
}


.download-btn-container {
    display: inline-flex;
    align-items: center;
}

.download-icon {
    margin-right: 10px;
    color: #00FFFF;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 0;
    height: 48px;
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.download-btn:hover {
    color: #00FFFF;
    font-weight: 500;
}

.download-btn:hover .download-text {
    text-decoration: underline;
}

.tick-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

/* Modal Custom Styles */
.modal-content {
    background-color: #121212;
    color: white;
    border: 1px solid #333333;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 10px; /* Reduced space */
}

.modal-footer {
    border-top: none;
    justify-content: flex-start;
    padding-top: 10px; /* Reduced space */
}

.close {
    color: #00FFFF;
    font-size: 1.5rem;
}

.btn-custom {
    background-color: #00FFFF;
    color: black;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.btn-custom .material-icons {
    margin-right: 8px;
}

.btn-custom:hover {
    background-color: #a3e60d;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.modal-dialog {
    max-width: 500px;
    margin: auto;
}

.modal-body {
    text-align: left;
    padding-top: 0; /* Reduced space */
    padding-bottom: 0; /* Reduced space */
}



/* about me - my career */ 
.contact-career-highlight-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-career-highlight {
    flex: 1 1 23%;
    margin: 1%;
    text-align: left;
}

.contact-career-highlight .big-number-container {
    overflow: hidden;
    width: 100%;
    text-align: left;
}

.contact-career-highlight .big-number {
    font-size: 80px;
    color: #00FFFF;
    position: relative;
    top: 150%;
    animation: none;
}

.contact-career-highlight .big-number.animate {
    animation: slideUp 0.8s ease-in-out forwards;
}

@keyframes slideUp {
    0% {
        top: 150%;
    }
    100% {
        top: 0;
    }
}

.contact-career-highlight .big-number-text {
    font-size: 16px;
    color: #6c757d;
    margin-top: 10px;
}

.contact-timeline-highlight-divider {
    height: 2px;
    background-color: #6c757d;
    width: 100%;
    margin: 10px 0;
}

@media (max-width: 992px) {
    .contact-career-highlight {
        flex: 1 1 45%;
    }
    .contact-career-highlight .big-number {
        font-size: 60px;
    }
    .contact-career-highlight .big-number-text {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .contact-career-highlight {
        flex: 1 1 45%; /* Maintain 2 columns on mobile */
    }
    .contact-career-highlight .big-number {
        font-size: 50px;
    }
    .contact-career-highlight .big-number-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .contact-career-highlight .big-number {
        font-size: 44px;
    }
    .contact-career-highlight .big-number-text {
        font-size: 12px;
    }
    .contact-career-highlight {
        flex: 1 1 45%; /* Maintain 2 columns on mobile */
    }
}



/* about me - my career - timeline */
.timeline-container {
    border-radius: 12px;
    background-color: #171717;
    border: 1px solid #333333;
    position: relative;
    overflow: hidden;
    margin: 0;
    display: flex;
    flex-direction: column;
    transition: height 0.3s ease;
}

.timeline-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    width: 100%;
}

.timeline-nav button {
    background: none;
    border: none;
    color: #c4c4c4;
    cursor: pointer;
    width: 25%;
    text-align: center;
    height: 56px;
    line-height: 56px;
    padding: 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.timeline-nav button span {
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.timeline-nav button:hover span {
    color: #ffffff;
}

.timeline-nav button:active,
.timeline-nav button:focus {
    outline: none;
}

.timeline-nav button.active {
    color: #00FFFF;
}

.timeline-nav button.active:hover span {
    color: #00FFFF;
}

.timeline-nav button:not(.active) span {
    border-bottom: 1px solid #C4C4C4;
}

.timeline-indicator-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-line-outer {
    position: relative;
    width: 100%;
    height: 2px;
    display: flex;
    transition: width 0.3s ease, height 0.3s ease;
}

.timeline-line-left {
    height: 100%;
    background: #00FFFF;
    transition: width 0.3s ease, height 0.3s ease;
}

.timeline-line-right {
    height: 100%;
    background: #333333;
    transition: width 0.3s ease, height 0.3s ease;
}

.timeline-circle {
    width: 12px;
    height: 12px;
    background: #00FFFF;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease, top 0.3s ease;
}

.timeline-content {
    display: none;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-grow: 1;
    position: relative;
}

.timeline-content.active {
    display: block;
    opacity: 1;
}

.job-description-row {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.job-description-row.fade-in {
    animation: fadeIn 0.3s forwards;
}

.mobile-gradient.fade-in {
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.job-description-row.fade-out {
    animation: fadeOut 0.3s forwards;
}

.mobile-gradient.fade-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.job-description {
    font-size: 16px;
    color: #C4C4C4;
    margin-bottom:16px;
}

.job-description h4 {
    margin-bottom: 24px;
}

.mobile-gradient {
    position: absolute;
    left: 0;
    right: 83px;
    height: 30px;
    background: linear-gradient(to top, #171717, transparent);
    pointer-events: none;
    opacity: 0;
}

.mobile-gradient.top {
    top: 0;
    background: linear-gradient(to bottom, #171717, transparent);
}

.mobile-gradient.bottom {
    bottom: 0;
}

@media (min-width: 992px) {
    .timeline-content .row > div:first-child {
        padding-right: 15px;
    }

    .timeline-content .row > div:last-child {
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .timeline-container {
        flex-direction: row;
        align-items: stretch;
        height: 420px !important;
        padding-right: 10px;
    }

    .timeline-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        width: 50px;
        flex-grow: 0;
        flex-shrink: 0;
        text-align: center;
    }

    .timeline-nav button {
        width: auto;
        min-width: 70px;
        text-align: center;
        padding-left: 10px;
        display: block;
        height: 56px;
    }

    .timeline-indicator-container {
        height: auto;
        flex-grow: 0;
        flex-shrink: 0;
        width: 2px;
        align-items: flex-start;
        margin-left: 10px;
    }

    .timeline-line-outer {
        width: 2px;
        height: 100%;
        flex-direction: column;
    }

    .timeline-line-left {
        width: 100%;
        height: 50%;
    }

    .timeline-line-right {
        width: 100%;
        height: 50%;
    }

    .timeline-circle {
        left: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
    }

    .timeline-content {
        flex-grow: 1;
        margin: 0;
        padding: 20px;
        overflow: auto;
    }

    .timeline-content::-webkit-scrollbar {
        width: 8px;
    }

    .timeline-content::-webkit-scrollbar-track {
        background: #171717;
        margin: 10px 0;
    }

    .timeline-content::-webkit-scrollbar-thumb {
        background-color: #00FFFF;
        border-radius: 10px;
    }
}



/* about me - my career - accordions */
.accordion {
    border-radius: 12px;
    border: 1px solid #333333;
    background-color: #171717;
    overflow: hidden;
}

.accordion-button {
    background-color: #171717;
    color: white;
    border: none;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333333;
}

.accordion-button:hover,
.accordion-button:focus {
    color: white;
    text-decoration: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-button::after {
    content: '\e5cf';
    font-family: 'Material Icons';
    font-size: 24px;
    color: #00FFFF;
    transition: transform 0.2s ease;
}

.accordion-icon {
    vertical-align: middle;
    margin-right: 10px;
    color: #00FFFF;
}

.accordion-body {
    background-color: #171717;
    color: #E5E5E5;
}

.accordion-card {
    border: none;
}

.accordion-button .material-icons-outlined {
    vertical-align: middle;
}

.card-header {
    background-color: #171717;
}

.card {
    border: none;
    background-color: #171717;
}

.accordion-body ul li {
    margin-bottom: 10px;
}

.accordion-collapse {
    transition: height 0.3s ease;
}


/* Result section specific accordion styles */
#resultAccordion .accordion-button {
    font-size: 18px;
    text-align: left;
    background-color: #171717;
    color: white;
    border: none;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333333;
}
#resultAccordion .accordion-button:hover,
#resultAccordion .accordion-button:focus {
    color: white;
    text-decoration: none;
    box-shadow: none;
}
#resultAccordion .accordion-body {
    background-color: #171717;
    color: #E5E5E5;
}
#resultAccordion .accordion-icon {
    margin-right: 10px;
    color: #00FFFF;
}
#resultAccordion .accordion-body {
    background-color: #171717;
    color: #E5E5E5;
    border-bottom: 1px solid #333333;
    padding-bottom: 1rem;
}
#resultAccordion .accordion-body.collapse:not(.show) {
    border-bottom: none;
}




/* about me - my career - software */
.grid-view {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.logo-box {
    background-color: #171717;
    border-radius: 12px;
    height: 150px;
    position: relative;
    text-align: center;
    color: #E5E5E5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: calc(20% - 24px);
}

.logo-box img {
    max-width: 60%;
    max-height: 60%;
}

.logo-box span {
    display: block;
    width: 100%;
    padding: 4px 0;
    position: absolute;
    bottom: 4px;
}

@media (max-width: 768px) {
    .grid-view .logo-box {
        width: calc(33.3333% - 16px);
        height: 100px;
    }
    .logo-box img {
        max-width: 40%;
        max-height: 40%;
        margin-top: -20px;
    }
    .logo-box span {
        font-size: 14px;
        padding-top: 20px;
    }
}


/* about me - my process */
.discovery-card {
    background-color: #171717;
    border: 1px solid #333333;
    border-radius: 12px;
}

.discovery-card-header {
    background-color: #00FFFF;
    color: black;
    padding: 10px;
    border-radius: 12px 12px 0 0;
    font-size: 16px;
    font-weight: 300;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.discovery-card-title {
    font-size: 20px;
    font-weight: 500;
    width: 100%;
    margin-left: 10px;
}

.discovery-card-header .material-icons-outlined {
    font-size: 24px;
    margin-right: 8px;
    margin-left: 10px;
    color: black;
}

.discovery-card-header span {
    display: flex;
    align-items: center;
}

.discovery-card-header h2 {
    color: black;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    width: 100%;
    margin-top: 5px;
    padding-left: 10px;
}

.discovery-card-body {
    padding: 0 20px 20px 20px;
    margin-top: 20px;
}

.discovery-left-col {
    font-size: 20px;
    margin-bottom: 15px;
}

.discovery-right-col {
    font-size: 16px;
}

.discovery-right-col strong {
    display: block;
}

.discovery-right-col ul {
    list-style-type: disc;
    padding-left: 20px;
}

.discovery-right-col ul li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .discovery-right-col {
        margin-top: 20px;
    }
}

#cards {
    margin-bottom: 0;
    padding-left: 0;
}

.card {
    position: sticky;
    top: 0;
    padding-top: 0.5em;
    transform-origin: 50% 0%;
    will-change: transform;
    background: none;
    padding: 0;
    height: 45rem;
}

.card:last-child {
    margin-bottom: 0;
}



/* footer */
@media (max-width: 768px) {
    .no-side-padding-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.footer-container {
    background: url('../images/tile.jpg') repeat;
    background-size: 80px;
    padding-bottom: 0;
}

.contact-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #00FFFF;
    font-size: 24px;
    font-weight: 500;
}

.contact-button:hover {
    text-decoration: none;
    color: #00FFFF;
}

.contact-button .icon {
    width: 48px;
    height: 48px;
    background-color: #00FFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #000;
    transition: transform 0.3s ease;
}

.contact-button:hover .icon {
    transform: rotate(-45deg);
}

.footer-bottom {
    border-top: 1px solid #333333;
    color: #B3B3B3;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 10px 0;
    text-align: left;
    width: 100%;
}

.footer-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#home-page-footer.footer-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: left;
    padding: 5px 0; /* Reduced padding */
}

#home-page-footer.footer-bottom p {
    margin: 0;
}