/* ========== HERO SECTION ========== */
.app-hero {
    position: relative;
    background: linear-gradient(to right, #f7f9fc, #eef2f6);
    padding: 5rem 1rem;
    overflow: hidden;
    
}

.hero-slide {
    display: none;
    animation: fadeIn 0.6s ease-in-out forwards;
}

.hero-slide.is-active {
    display: block;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    color: #334e68;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: #0070f3;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 112, 243, 0.25);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #0051c3;
    transform: translateY(-2px);
}

.hero-btn.alt {
    background-color: #00b894;
}

.hero-btn.alt:hover {
    background-color: #019875;
}

/* Image styling */
.hero-media img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-media {
        margin-top: 2rem;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text p {
        font-size: 1.125rem;
    }
}

/* Animation */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* General Section */
.section {
    padding: 4rem 1rem;
}

.section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section__title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section__description {
    font-size: 1rem;
    color: #666;
}

/* Account Cards */
.account-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: #071545;
    padding: 10px;
}

.account-card {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 1rem;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.account-card:hover {
    transform: translateY(-5px);
}

.account-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.account-card__content {
    padding: 1.5rem;
}

.account-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.account-card__text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.section-features {
    padding: 4rem 1rem;
    background-color: #071545;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #1a1f36;
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #4357f1;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    color: #1a1f36;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: #55606e;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-split {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.info-split.alt-theme {
    background-color: #f1f1f1;
}

.info-split .info-image,
.info-split .info-text {
    flex: 1 1 45%;
}

.info-split .info-image img {
    width: 100%;
    max-height: 400px;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.info-split .info-text h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 1rem;
}

.info-split .info-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.info-split .info-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.info-split .info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #444;
}

.info-split .info-list li span {
    color: #4357F1;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.info-split .hero-btn {
    background-color: #4357F1;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.info-split .hero-btn:hover {
    background-color: #2c43cc;
}

.testimonial-section {
    margin-top: 10px;
}

.testimonial-section .section-title {
    text-align: center;
}

.testimonial-slider-wrapper {
    width: 90%;
    padding: 10px 15px;
}

.testimonial-slider {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-evenly;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    width: 350px;
    border-radius: 8px;
    margin: 10px;
    min-height: 150px;
    padding: 10px;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.error-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: #f8f9fc;
    padding: 4rem 1rem;
}

.error-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    color: #4357F1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

.error-message {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
}

.error-card .btn {
    background-color: #4357F1;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.error-card .btn:hover {
    background-color: #2e3abf;
}

/* Style for the general article content */
.article {
    padding-top: 3rem;
    padding-bottom: 3rem;
    line-height: 1.7;
    color: #444;
    max-width: 70%;
    background-color: #ffffff;
    border-radius: 8px;
    margin: 20px auto;
}

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.article h2 {
    font-size: 2rem;
}

.article h3 {
    font-size: 1.75rem;
}

.article p {
    margin-bottom: 1.5rem;
}

.article ul,
.article ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article li {
    margin-bottom: 0.75rem;
}

.article a {
    color: var(--primary-color, blue); /* Use your primary color variable if defined */
    text-decoration: underline;
}

.article a:hover {
    text-decoration: none;
}

.article .last-updated {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
}

.register-page {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 30px;
}

/* Style the guide section (left column) */
.register-guide {
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 30%;
}

.register-guide h2 {
    color: #071545;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.register-guide p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

#register-form {
    flex: 1;
    padding-left: 30px;
    border-left: 1px solid #dcdcde;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#register-form h2 {
    color: #071545;
    font-size: 1.5em;
    margin-bottom: 25px;
    text-align: left;
    font-weight: 500;
}

.register-form-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-evenly;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px;
}

.register-form-body .form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.register-form-body label {
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
    display: block; /* Ensure label takes full width */
}

.app-countries-list,
.app-states-list,
.app-currency-list {
    position: relative;
}

.app-countries-list .app-countries-list-ul,
.app-states-list .app-states-list-ul,
.app-currency-list .app-currency-list-ul {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 70px;
    list-style: none;
    overflow-y: auto;
    max-height: 200px;
    z-index: 1000;
    background-color: #ffffff;
    border-radius: 8px;
    width: 200px;
    padding: 10px;
    display: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.app-countries-list .app-countries-list-ul.show,
.app-states-list .app-states-list-ul.show,
.app-currency-list .app-currency-list-ul.show {
    display: block;
}

.app-countries-list-ul .app-countries-list-li,
.app-states-list-ul .app-states-list-li,
.app-currency-list .app-currency-list-li {
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.app-countries-list-ul .app-countries-list-li:hover,
.app-states-list-ul .app-states-list-li:hover,
.app-currency-list .app-currency-list-li:hover {
    background-color: #f5ecec;
    border-radius: 8px;
    transform: translateX(2px);
    transition: all 0.6s ease-out;
}

.register-form-body input[type="text"],
.register-form-body input[type="email"],
.register-form-body input[type="number"],
.register-form-body input[type="password"],
.register-form-body input[type="file"],
.register-form-body button[type="button"],
.register-form-body select {
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    width: 100%;
    outline: none;
}

.register-form-body input[type="text"]:focus,
.register-form-body input[type="email"]:focus,
.register-form-body input[type="number"]:focus,
.register-form-body input[type="password"]:focus,
.register-form-body button[type="button"]:focus,
.register-form-body input[type="file"]:focus,
.register-form-body select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.preview-passport {
    position: relative;
    border: solid 1px #dcdcde;
    background-color: #f1f1f1;
    width: 120px;
    padding: 10px;
}
.preview-passport img {
    margin: 0 auto;
}

.preview-passport span.ti {
    position: absolute;
    top: 80%;
    left: 50%;
    background-color: #ffffff;
    border-radius: 20px;
    color: #333333;
    font-weight: 700;
    cursor: pointer;
    
}

.register-form-body select,
.register-form-body button[type="button"]{
    cursor: pointer;
    background-color: transparent;
    min-width: 220px;

}

/* Style the "Continue" button */
#login-btn, .login-button {
    background-color: #071545;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%; /* Full width button */
    margin-top: 20px; /* Add some space above the button */
    outline: none;
}

#login-btn:hover, .login-button:hover {
    background-color: #050e2e;
}

/* Style the "Have an account?" paragraph */
#register-form p {
    text-align: center;
    color: #777;
    font-size: 0.9em;
    margin-top: 15px;
}

#register-form p a {
    color: #007bff;
    text-decoration: none;
}

#register-form p a:hover {
    text-decoration: underline;
}

/* Style the linear loader */
.app-linear-loader {
    height: 4px;
    background-color: #007bff;
    width: 0%;
    transition: width 0.3s ease-in-out;
    margin-bottom: 20px;
    border-radius: 2px;
}

/* Responsive */
@media ( max-width: 780px ) {
    .register-page {
        flex-wrap: wrap;
    }
    .register-guide {
        width: 100%;
    }
    #register-form {
        border-left: none;
        border-top: 1px solid #dcdcde;
        width: 100%;
        padding-left: unset;
        padding: 10px;

    }

    @media ( max-width: 710px ) {
        .preview-passport {
           margin: 0 auto;
        }
        .register-form-body .form-row {
            width: 100%;
        }
    }
   
    @media ( max-width: 552px ) {
        .register-page,
        .register-form-body {
            padding: 10px;
            width: 100%;
        }
        .register-form-body .form-row {
            width: 100%;
        }
    }
}
@media (max-width: 768px) {

    .article {
        max-width: 90%;
    }
    .account-cards {
        flex-direction: column;
        align-items: center;
    }

    .account-card {
        max-width: 500px;
        width: 90%;
    }
    .info-split {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .info-split .info-image,
    .info-split .info-text {
        flex: 1 1 100%;
    }
}