/* Dark theme styling to match React component */
@import url("css/font-awesome.min.css");

body {
    background-color: #000;
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(24, 24, 27, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #27272a;
    padding: 0rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 767px) {
    .navbar {
        padding: 1rem 1rem;
        /* mobile padding */
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff9e15;
}

.logo img {
    height: 50px;
    width: 218px;
    margin-top: 5px;
}

.logo-tm {
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff9e15;
}

.nav-links a.active {
    color: #ff9e15;
}


.login-btn:hover {
    background: #ea580c !important;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    text-align: center;
    padding: 6rem 1.5rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 48rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-highlight {
    color: #ff9e15;
    font-weight: 600;
}

.cta-button {
    background: #ff9e15;
    color: #000;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: #ea580c;
}

/* Features Section */
.features-section {
    background: #09090b;
    padding: 6rem 1.5rem;
}

.features-container {
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover,
.core-system-card:hover,
.timeline-card:hover {
    border-color: #ff9e15 !important;
}

.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card-link:hover .feature-card {
    border-color: #ff9e15;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 146, 60, 0.15);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-description {
    color: #9ca3af;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: #000;
    border-top: 1px solid #27272a;
    padding: 6rem 1.5rem;
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.cta-description {
    color: #9ca3af;
    font-size: 1.125rem;
    max-width: 32rem;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Footer */
.layout-footer {
    background: #09090b;
    border-top: 1px solid #27272a;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-content {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff9e15;
}

/* Process Section with Timeline */
.process-section {
    background: #09090b;
    padding: 6rem 1.5rem;
    min-height: 100vh;
    position: relative;
}

/* Mobile Timeline Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .logo img {
        height: 40px;
        width: auto;
        max-width: 180px;
    }

    .process-section {
        padding: 3rem 1rem;
    }

    .process-container {
        max-width: 100% !important;
    }

    .heading-group h2 {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .heading-group .subtitle {
        font-size: 1rem !important;
    }

    /* Timeline grid becomes single column on mobile */
    .timeline-steps {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .timeline-step {
        margin-bottom: 2rem !important;
    }

    .timeline-step>div:first-child {
        width: 80px !important;
        height: 80px !important;
        font-size: 2rem !important;
    }

    .timeline-card {
        min-height: auto !important;
        padding: 1.5rem !important;
    }

    .timeline-card h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    .timeline-card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    /* Hide timeline line on mobile */
    .timeline-line {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
        max-width: 150px;
    }

    .process-section {
        padding: 2rem 0.75rem;
    }

    .heading-group {
        margin-bottom: 2rem !important;
    }

    .heading-group h2 {
        font-size: 1.75rem !important;
    }

    .timeline-step>div:first-child {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }

    .timeline-card {
        padding: 1rem !important;
    }

    .timeline-card h3 {
        font-size: 1.125rem !important;
    }

    .timeline-card p {
        font-size: 0.85rem !important;
    }
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.heading-group {
    margin: 0 0 3em 0;
    text-align: center;
}

.heading-group h2 {
    color: #fff;
    font-size: 2.5em;
    line-height: 1;
    letter-spacing: 0.02em;
    margin: 1em 0 0 0;
}

.subtitle {
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    font-size: 1em;
    margin: 0.5em 0;
    color: #ff9e15;
}

.timeline-list {
    padding-bottom: 1em;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
}

.timeline-list:before {
    content: "";
    border-left: 5px solid #ff9e15;
    left: -0.25em;
    top: 1.5rem;
    height: var(--timeline-height, 0%);
    position: absolute;
    bottom: 0;
    transform-origin: 0 0;
    transition: height 0.3s ease;
}

.timeline-list:after {
    content: "";
    clear: both;
    position: absolute;
    bottom: 0px;
    left: -1em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff9e15;
    border: 5px solid #09090b;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.timeline-list li {
    margin: 0 0 3em 0;
    padding: 0 2em 0em 2em;
    position: relative;
    opacity: 0;
    transform: translateX(-1em);
    transition: all 0.5s ease;
}

.timeline-list li.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-list li:before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: -1.45em;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ff9e15;
    border: 5px solid #09090b;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.timeline-list li.animate:before {
    opacity: 1;
    transform: scale(1);
}

.timeline-list li .content {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.timeline-list li .content:hover {
    border-color: #ff9e15;
    transform: translateY(-2px);
}

.timeline-list li .content h3 {
    font-size: 1.2em;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #fff;
    margin: 0 0 1rem 0;
}

.timeline-list li .content p {
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

/* ================ Timeline Media Queries ================ */

@media screen and (max-width: 660px) {
    .timeline {
        width: 100%;
        padding: 4em 0 1em 0;
    }

    .timeline li {
        padding: 2em 0;
    }

    .direction-l,
    .direction-r {
        float: none;
        width: 100%;
        text-align: center;
    }

    .flag-wrapper {
        text-align: center;
    }

    .flag {
        background: #18181b;
        z-index: 15;
    }

    .direction-l .flag:before,
    .direction-r .flag:before {
        position: absolute;
        top: -30px;
        left: 50%;
        content: ' ';
        display: block;
        width: 16px;
        height: 16px;
        margin-left: -9px;
        background: #18181b;
        border-radius: 50%;
        border: 4px solid #ff9e15;
        z-index: 10;
        box-shadow: 0 0 0 4px #09090b;
    }

    .direction-l .flag:after,
    .direction-r .flag:after {
        content: "";
        position: absolute;
        left: 50%;
        top: -8px;
        height: 0;
        width: 0;
        margin-left: -8px;
        border: solid transparent;
        border-bottom-color: #18181b;
        border-width: 8px;
        pointer-events: none;
    }

    .time-wrapper {
        display: block;
        position: relative;
        margin: 4px 0 0 0;
        z-index: 14;
    }

    .direction-l .time-wrapper {
        float: none;
    }

    .direction-r .time-wrapper {
        float: none;
    }

    .desc {
        position: relative;
        margin: 1em 0 0 0;
        padding: 1em;
        background: #18181b;
        border-radius: 8px;
        box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
        z-index: 15;
    }

    .direction-l .desc,
    .direction-r .desc {
        position: relative;
        margin: 1em 1em 0 1em;
        padding: 1em;
        z-index: 15;
    }
}

@media screen and (min-width: 400px) and (max-width: 660px) {

    .direction-l .desc,
    .direction-r .desc {
        margin: 1em 4em 0 4em;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-description {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.toggle-holder {
    display: none;
    right: 30px;
    z-index: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#toggle:hover {
    cursor: pointer;
}

#toggle div {
    height: 3px;
    margin-bottom: 6px;
    background-color: #fff;
    width: 22px;
}

#toggle .second-menu-line {
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
}

#toggle:hover .second-menu-line {
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
}

#toggle.on .second-menu-line {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
}

#toggle .third-menu-line {
    margin-bottom: 5px;
}

#header-main-menu {
    display: inline-block;
}

.sm-clean .has-submenu {
    padding-right: 35px !important;
}

.sm-clean li a.menu-item-link {
    cursor: pointer;
    color: #ffffff;
}

.sm-clean a span.sub-arrow {
    right: 3px;
}

.sm-clean a.highlighted {
    padding: 15px;
}

.sm-clean a,
.sm-clean a:hover,
.sm-clean a:focus,
.sm-clean a:active {
    font-size: 14px;
    font-weight: 500;
    transition: color .3s ease,
        background-color .3s ease;
    padding: 12px;
    letter-spacing: 0.5px;
    color: #fff;
}

.sm-clean ul a,
.sm-clean ul a:hover,
.sm-clean ul a:focus,
.sm-clean ul a:active {
    font-size: 13px;
    line-height: 15px;
    padding: 10px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.sm-clean {
    background-color: transparent;
    padding: 8px 0;
}

body .sm-clean a:hover,
body .main-menu.sm-clean .sub-menu li a:hover,
body .sm-clean li.active a,
body .sm-clean li.current-page-ancestor>a,
body .sm-clean li.current_page_ancestor>a,
body .sm-clean li.current_page_item>a {
    color: #F99F20;
}

.sm-clean li {
    margin-right: 10px;
}

.sm-clean li:last-child {
    margin-right: 0;
}

.sm-clean ul {
    background-color: #000;
}

.sm-clean a.has-submenu {
    padding-right: 24px;
}

.sub-menu a,
.children a {
    padding-left: 15px !important;
}

.sub-menu .sub-menu,
.children .children {
    padding-top: 8px;
}

.sub-menu .sub-menu a,
.children .children a,
.sub-menu .sub-menu a:hover,
.children .children a:hover {
    padding-top: 10px !important;
}

@media (min-width: 925px) {

    .sm-clean ul a span.sub-arrow {
        margin-top: 0;
    }

    .sm-clean ul {
        padding: 8px 0;
    }

    .sm-clean a {
        border-radius: 0.375rem !important;
        /* override the 0 */
    }
}

@media (max-width: 925px) {

    .sm-clean ul {
        background-color: #fff;
    }

}

.sm-clean>li:last-child>a,
.sm-clean>li:last-child>*:not(ul) a,
.sm-clean>li:last-child>ul,
.sm-clean>li:last-child>ul>li:last-child>a,
.sm-clean>li:last-child>ul>li:last-child>*:not(ul) a,
.sm-clean>li:last-child>ul>li:last-child>ul,
.sm-clean>li:last-child>ul>li:last-child>ul>li:last-child>a,
.sm-clean>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,
.sm-clean>li:last-child>ul>li:last-child>ul>li:last-child>ul,
.sm-clean>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,
.sm-clean>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,
.sm-clean>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,
.sm-clean>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,
.sm-clean>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,
.sm-clean>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul {
    border-radius: 5px;
}

.menu-holder {
    float: right;
    max-width: 85%;
}


@media screen and (max-width: 1020px) {

    #header-main-menu {
        padding-bottom: 0px;
    }

    .menu-wrapper {
        width: 95%;
    }

    .main-menu ul {
        width: 12em;
    }

    .toggle-holder {
        display: block;
    }

    .sm-clean li {
        margin: 0 auto !important;
        border: 0;
    }

    .sm-clean a.has-submenu {
        display: inline-block;
    }

    .menu-holder {
        position: fixed;
        text-align: center;
        background-color: #2a2731;
        right: -100%;
        top: 62px;
        transition: right .3s ease;
        height: auto;
        width: 300px;
        overflow: auto;
        max-width: 100%;
    }

    .header-holder {
        -webkit-transform: none;
        transform: none;
    }

    .menu-holder.show {
        right: 0;
        height: calc(100vh - 62px);
        min-height: calc(100vh - 62px);
    }

    .sm-clean ul ul a,
    .sm-clean ul ul a:hover,
    .sm-clean ul ul a:focus,
    .sm-clean ul ul a:active {
        border: none;
    }

    .sm-clean a span.sub-arrow {
        background: transparent;
    }

    .sm-clean a,
    .sm-clean a:hover,
    .sm-clean a:focus,
    .sm-clean a:active,
    .sm-clean a.highlighted {
        padding: 10px 18px 10px 18px;
        padding-left: 10px !important;
    }

    h1.big-text {
        text-align: center;
        font-size: 60px;
    }

    .section-wrapper {
        padding-bottom: 70px;
    }

    .single article {
        padding-top: 35px;
    }

    .single h1.entry-title {
        font-size: 38px;
        line-height: 44px;
    }

    .single-post-header-content {
        margin-bottom: 35px;
    }

    .single-post .right-content-wrapper {
        float: none;
        width: 100%;
    }

    .tipper {
        display: none !important;
    }

    .blog-item-holder {
        width: 100%;
        padding: 5px 0;
        float: none;
    }

    .blog-item-wrapper {
        display: block;
    }

    .blog-item-holder:first-of-type {
        margin-top: 30px;
    }

    .blog-item-holder h2.entry-title {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-item-holder.has-post-thumbnail .excerpt {
        max-width: 700px;
        margin-bottom: 30px;
    }

    .blog-item-holder .post-thumbnail {
        float: none !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 30px;
        width: 95%;
        margin-top: 0;
    }

    .blog-item-holder.has-post-thumbnail .entry-holder {
        float: none !important;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .blog-item-holder .cat-links ul {
        margin: 0;
    }

    .blog-item-holder a.button {
        margin-bottom: 30px;
    }

    .footer {
        padding: 10px 10px;
    }

    .form-submit {
        padding-bottom: 20px;
    }

    .one_half,
    .one_third,
    .one_fourth,
    .two_third,
    .three_fourth {
        width: 100% !important;
        float: none;
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: center;
    }

    .margin-0 img {
        width: 100% !important;
    }

    .grid-item,
    .grid-sizer {
        width: 100% !important;
    }

    .button-holder {
        text-align: center !important;
    }

    .service-holder {
        text-align: center;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    [data-jarallax-element] {
        transform: none !important;
    }

    .no-page-title .section-wrapper {
        padding: 65px 0 35px 0;
    }

    .text-slider-wrapper {
        padding: 10%;
    }

    .blog-item-holder-scode {
        display: block;
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto !important;
        max-width: 400px;
    }

    .medium-text {
        font-size: 40px;
        line-height: 105%;
        padding-top: 10px;
    }

    .portfolio-load-content-holder {
        max-width: 90%;
    }

    .close-icon {
        top: 120px;
        right: -10px;
        left: auto;
    }

    .pricing-table {
        margin-bottom: 100px;
    }

    .member {
        margin: 35px auto;
        max-width: 80%;
    }

    .member img {
        display: block;
        margin: 0 auto;
        width: 100% !important;
    }

    .member-info {
        display: block;
        margin: 0 auto !important;
        width: 80%;
        padding: 10%;
    }

    .member-social-holder {
        right: 0 !important;
        left: 0 !important;
        width: 100%;
        text-align: center;
        padding: 25px 0;
    }

    .skill-percent {
        display: block;
        width: 100%;
        font-size: 40px;
    }

    .skill-text {
        display: block;
        width: 100%;
    }

    .skill-text span {
        margin-bottom: 10px;
        display: block;
    }

    li.milestone {
        width: 100%;
        margin-bottom: 60px;
        display: block;
        max-width: 350px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    li.milestone:last-child {
        margin-bottom: 0;
    }

    li.milestone>div {
        width: 100% !important;
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    p.milestone-num {
        font-size: 65px;
    }

    li.milestone h5 {
        max-width: 100%;
        margin-top: 20px;
    }

    .portfolio-item-wrapper {
        margin-top: 50px;
    }

    .single .nav-links {
        transform: none;
        margin-top: 50px;
        text-align: center;
    }

}

.login-btn {
    background: #ff9e15;
    color: #000 !important;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}



/* icon alignment */
.login-btn i {
    font-size: 1.1rem;
}


/* Always remove bullets and spacing */
.main-menu {
    list-style: none !important;
    margin: 0 !important;
}

/* Desktop (default) */
.main-menu li {
    display: inline-block;
    /* margin: 0 1rem; */
}

.main-menu a {
    color: #ffffff;
    text-decoration: none;
    /* font-weight: 600;
    font-size: 1rem; */
    transition: all 0.3s ease;
}

.main-menu a:hover,
.main-menu a.active {
    color: #ff9900;
    /* orange highlight */
}

/* Mobile + tablet only */
@media (max-width: 992px) {
    .main-menu li {
        display: block;
        margin-bottom: 1rem;
        text-align: center;
    }

    .main-menu a {
        display: block;
        padding: 0.75rem 0;
        border-radius: 6px;
    }

    #user_login {
        background: #ff9900;
        color: #000;
        border-radius: 8px;
        padding: 0.6rem 1rem;
        display: inline-block;
    }

    .main-menu {
        padding: 0 !important;
    }
}