:root {
    --primary-color: #1f6fe3;
    --secondary-color: #031d44;
    --red-color: #dc3545;
    --green-color: #1b8d67;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #f5f7fb;
    color: var(--dark-color);
}

main {
    overflow-y: hidden;
}

.landing-container {
    max-width: 1200px !important;
    flex-direction: column;
    justify-content: center !important;
}

.container,
.landing-container {
    width: 100%;
    height: 100%;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 15px;
    gap: 10px;
}

.nav-bar {
    position: sticky;
    top: 0;
    background-color: rgba(245, 247, 251, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 65px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-bar .landing-container {
    flex-direction: row;
    justify-content: space-between !important;
}

.nav-bar img {
    width: 60px;
}

.form-nav-links,
.nav-links {
    display: none;
    gap: 10px;
    align-items: center;
    justify-content: end;
}

.form-nav-links {
    display: flex;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--red-color);
}

.btn-blue {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    padding: 6px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    /* transition: transform 0.3s, box-shadow 0.3s; */
}

.btn-blue:hover {
    /* transform: translateY(-2px); */
    background-color: var(--secondary-color);
}

.btn-blue a {
    color: white;
}

/* Hero Section */
.hero {
    background-image: url(../assets/hero-bkg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* height: 768px; */
}

.hero .landing-container {
    padding: 50px 15px 0;
    gap: 60px;
}

.hero-logos {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-logos .logo-1,
.hero-logos .logo-2 {
    height: 30px;
}

.hero-logos .logo-1 {
    display: none;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}

.hero-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    align-items: center;
    padding-bottom: 40px;
}

.hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--secondary-color);
}

.hero p {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    max-width: 700px;
}

.hero a {
    width: fit-content;
}

.hero-image img {
    width: 100%;
}

.hero-footer {
    background-color: white;
    padding: 40px 20px;
    overflow: hidden;
    position: relative;
}

.logo-scroller {
    width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.logo-track img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero-footer .landing-container {
    flex-direction: row;
    padding: 0;
    gap: 40px;
}

.hero-footer img {
    height: 30px;
}

.form-container {
    overflow-y: auto;
    width: 100%;
    height: 100%;
    position: relative;
}

.form-container .container {
    flex-direction: column;
}

.hero-img-contain {
    display: flex;
    justify-content: end;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1412px;
    /* margin: -30px auto 0; */
    margin: 0 auto;
    overflow-x: hidden;
}

.hero-img {
    width: 350px;
    height: 350px;
    margin-right: -120px;
}

/* Details Section */
.details,
.timeline-section {
    padding: 20px 0;
    position: relative;
}
.details {
    background-color: white;
    background-image: none;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}

.timeline-section {
    content: "";
    background-image: url(../assets/mag-icon-big.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
    background-color: white;
}

.landing-section-title {
    text-align: center;
}

.landing-section-title h2,
.cta h2 {
    font-size: 24px;
    color: var(--red-color);
    margin-bottom: 15px;
}

.landing-section-title p {
    color: var(--dark-color);
    max-width: 600px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(1, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 8px rgba(243, 113, 113, 0.164);
}

.feature-icon {
    font-size: 40px;
    color: var(--red-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Timeline */
.timeline {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 60px 0;
    white-space: nowrap;
    display: block;
    -webkit-overflow-scrolling: touch;
    &::-webkit-scrollbar {
        display: none;
    }
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.timeline::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 1604px;
    background-color: var(--primary-color);
    top: 50%;
    left: 60%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-container {
    display: inline-flex;
    min-width: 100%;
    height: 312px;
    position: relative;
    padding: 0 50px;
}

.timeline-item {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 400px;
    padding: 0 20px;
    vertical-align: top;
    white-space: normal;
    z-index: 2;
    scroll-snap-align: start;
}

.timeline-nav-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc;
}

/* Alternate items above and below the line */
.timeline-item:nth-child(odd) {
    align-self: flex-start;
    top: -40px;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    top: 40px;
}

.timeline-content {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 0px 10px rgba(243, 113, 113, 0.164);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 20px;
}

.timeline-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.timeline-nav-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.timeline-nav-button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.timeline-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.timeline-nav-button i {
    font-size: 20px;
}

/* Hide buttons on mobile */
@media (max-width: 768px) {
    .timeline-nav-button {
        display: none;
    }

    .timeline-wrapper {
        gap: 0;
    }
}
/* CTA Section */
.cta {
    background-image: url(../assets/header-menu-bg.svg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
    color: white;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer .landing-container {
    gap: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.6;
    font-size: 14px;
    margin-bottom: 0;
}

.welcome-section,
.error-alert,
.errors-alert,
.success-alert {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: -330px auto 20px;
    border-radius: 12px;
    color: white;
    padding: 50px 20px;
    width: 100%;
}

.welcome-section {
    background-image: url(../assets/header-menu-bg.svg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
}

.error-alert,
.errors-alert,
.success-alert {
    padding: 20px;
    margin: 0 auto 20px;
    background-color: #dc354634;
    border: 2px solid var(--red-color);
    color: var(--red-color);
    display: none;
}

.errors-alert {
    display: flex;
}

.success-alert {
    display: flex;
    background-color: #1b8d673f;
    border: 2px solid var(--green-color);
    color: var(--green-color);
}

.success-alert .alert-title {
    color: var(--green-color);
}

.error-alert .alert-title,
.errors-alert .alert-title {
    color: var(--red-color);
}

.error-alert p,
.errors-alert p,
.success-alert p {
    margin-bottom: 0;
}

.stepper-container {
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    /* z-index: 5; */
}

.stepper-header {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 1.5rem;
    background-color: var(--secondary-color);
    color: white;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    border: 3px solid white;
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background-color: white;
    color: var(--secondary-color);
}

.step-title {
    font-size: 0.9rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.step.active .step-title {
    color: white;
    font-weight: bold;
}

.step.completed .step-title {
    color: white;
}

.progress-bar {
    position: absolute;
    top: 30%;
    left: 17%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    width: 65%;
    z-index: 1;
}

.progress {
    height: 100%;
    background-color: white;
    transition: width 0.3s ease;
    width: 0%;
}

.form-section {
    padding: 2rem;
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: var(--light-color);
    border-top: 1px solid #dee2e6;
}

.btn-next,
.btn-prev {
    min-width: 120px;
}

.btn-next {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-next:hover {
    background-color: var(--secondary-color);
}

.btn-submit {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    min-width: 120px;
}

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

.btn-next:disabled,
.btn-prev:disabled,
.btn-submit:disabled {
    cursor: not-allowed !important;
}

.team-members-container {
    margin-top: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 1rem;
    background-color: #f8f9fa;
    display: none;
}

.team-member {
    margin-bottom: 1rem;
}

.section-title,
.alert-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.alert-title {
    margin-bottom: 0;
}

.section-title i,
.alert-title i {
    margin-right: 1rem;
    font-size: 2.2rem;
}

.tech-tag {
    display: inline-block;
    background-color: #0d6efd1f;
    backdrop-filter: blur(8px);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.tech-input-container {
    display: flex;
    margin-bottom: 1rem;
}

#techInput {
    margin-right: 0.5rem;
}

#techTags {
    display: flex;
    flex-wrap: wrap;
}

.remove-tech {
    margin-left: 0.3rem;
    cursor: pointer;
    color: var(--primary-color);
}

.remove-tech:hover {
    color: var(--red-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

@media screen and (min-width: 321px) {
    .progress-bar {
        top: 35%;
        left: 17%;
        width: 70%;
    }
}

@media screen and (min-width: 430px) {
    p {
        font-size: 16px;
    }

    .nav-bar img {
        width: 80px;
    }

    .nav-links {
        display: flex;
    }

    .hero-logos {
        justify-content: space-between;
    }

    .hero-logos .logo-1 {
        display: flex;
    }

    .hero-content {
        flex-direction: row;
        gap: 40px;
    }

    .hero-left {
        width: 60%;
        align-items: flex-start;
        text-align: start;
    }

    .hero-image {
        width: 40%;
    }

    .hero-image img {
        width: 100%;
    }

    .section-title h2,
    .cta h2 {
        font-size: 36px;
    }

    .timeline::before {
        left: 33%;
    }

    /*
    .timeline-item {
      padding: 20px 40px;
      width: 50%;
    }

    .timeline-item:nth-child(even) {
      left: 50%;
    } */

    .features {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }

    .container {
        padding: 20px;
    }

    .hero-img-contain {
        /* margin: -60px auto 0; */
        margin: 0 auto;
    }

    .hero-img {
        width: 400px;
        height: 400px;
        margin-right: -120px;
    }

    .welcome-section {
        margin: -350px auto 20px;
        padding: 50px;
    }

    .progress-bar {
        /* top: 35%; */
        left: 8%;
        width: 85%;
    }
}

.form-terms {
    margin-top: 1rem;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    animation: fadeIn 0.3s ease-out;
}

.form-terms p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #212529;
}

.form-terms strong {
    color: var(--primary-color);
}

.form-terms ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-terms li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.form-terms li strong {
    color: var(--dark-color);
}
@media screen and (min-width: 770px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-logos .logo-1,
    .hero-logos .logo-2 {
        height: 50px;
    }

    .hero-footer img {
        height: 40px;
    }

    .hero-footer {
        padding: 60px 20px;
    }

    .details,
    .timeline-section {
        padding: 40px 0;
    }

    .timeline::before {
        left: 25%;
    }

    /* .timeline-section {
      background-size: contain;
    } */

    .timeline-content h3 {
        font-size: 22px;
    }

    .landing-section-title h2,
    .cta h2 {
        font-size: 30px;
    }

    .features {
        grid-template-columns: repeat(3, minmax(300px, 1fr));
    }

    .feature h3 {
        font-size: 22px;
    }
}

@media screen and (min-width: 1030px) {
    .container {
        max-width: 1024px;
    }

    .hero h1 {
        font-size: 68px;
    }

    .hero p {
        font-size: 20px;
    }

    .hero-img {
        margin-right: 0;
    }

    .timeline::before {
        left: 20%;
    }

    .details {
        background-image: url(../assets/rings-component.png);
    }
}

/* Email Styles */
.email-container {
    background-color: #ffffff;
    padding: 0;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
}
.email-header {
    width: 100%;
    height: 216px;
    display: flex;
    justify-content: center;
    align-items: end;
    background-image: url(../assets/footer3.jpg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    padding-bottom: 40px;
}
.email-header-image {
    width: 120px;
}
.email-content {
    background-image: url(../assets/mag-icon-big.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    padding: 25px;
}
.email-content h1 {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 0;
}
.email-content p {
    margin-bottom: 20px;
}
.email-details-box {
    /* background-color: white; */
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
}
.email-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin: 15px 0;
}
.email-footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: white;
    background-image: url(../assets/header-menu-bg.svg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
}
