* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Arial', 'Helvetica', sans-serif;
}

body {
    background-color: #030710;
}

a {
    text-decoration: none;
    /* Remove underlines */
    color: inherit;
    /* Inherit the color from the parent */
}

a:hover {
    text-decoration: none;
    /* Remove underlines */
    color: inherit;
    /* Inherit the color from the parent */
}

h1,
h2,
h3 {
    font-family: 'Montserrat', 'Arial', 'Helvetica', sans-serif;
}

.hero-section {
    min-height: 100vh;
    background-color: #030710;
    display: flex;
    flex-direction: column;
}

.active-link {
    color: #bc3fea !important;
    ;
}

.navbar-brand {
    font-size: 30px;
    font-weight: 600;
}

.hero-img {
    max-width: 80%;
    height: auto;
    margin-left: auto;
}

.hero-col1 {
    flex: 1;
    color: #ffffff;
    padding: 60px 0;
    max-width: 50%;
}

.hero-col1 p {
    margin: 30px 0 50px 0;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-col1 h2 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.1;
}

.hero-btn {
    background-color: #bc3fea;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #650987;
    border-color: #bc3fea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(188, 63, 234, 0.3);
}

.hero-col2 {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 0 40px 20px;
    max-width: 50%;
}

@media screen and (min-width: 768px) {
    .hero-col1 {
        max-width: 50%;
        padding-right: 30px;
        text-align: left;
    }
    .hero-col2 {
        max-width: 50%;
        display: flex !important;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 560px) {
    .hero-section {
        min-height: 100vh;
    }
    .navbar-brand {
        font-size: 20px;
    }
    .hero-col1 {
        padding: 30px 15px;
        max-width: 100%;
        text-align: center;
        padding-right: 15px;
    }
    .hero-col2 {
        max-width: 100%;
        justify-content: center;
    }
    .hero-col1 h2 {
        font-size: 36px;
    }
    .hero-col1 p {
        font-size: 15px;
        line-height: 25px;
    }
}

.services {
    padding: 80px 50px 60px 50px;
    background-color: #030710;
    color: rgb(243, 236, 228);
}

.services-heading {
    color: #ffffff;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    font-family: 'Montserrat', 'Arial', 'Helvetica', sans-serif;
}

.services-desc {
    font-size: 20px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.link-container {
    width: calc(33.333% - 15px);
    margin-bottom: 20px;
}

.service-card {
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.service-card-details {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 15px;
    text-align: left;
    border-radius: 10px;
    margin: 0;
}

.service-card i {
    font-size: 48px;
    color: #bc3fea;
    margin-bottom: 10px;
}

.srv-btn {
    background-color: #ffffff;
    color: #000000;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
}

.srv-btn:hover {
    background-color: #f8f9fa;
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card p {
    font-size: 15px;
    line-height: 17px;
    text-overflow: ellipsis;
}

@media screen and (max-width: 992px) {
    .link-container {
        width: calc(50% - 10px);
    }
    .hero-col1 {
        max-width: 55%;
        padding-right: 20px;
    }
    .hero-col1 h2 {
        font-size: 44px;
    }
    .hero-col2 {
        max-width: 45%;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 560px) {
    .services {
        padding: 20px 5px 10px 5px;
    }
    .services-desc {
        font-size: 15px;
    }
    .services-heading {
        font-size: 25px;
    }
    .link-container {
        width: 100%;
        margin-bottom: 15px;
    }
    .service-card {
        padding: 25px 15px;
        margin: 0;
        gap: 5px;
    }
    .service-card i {
        font-size: 32px;
    }
    .service-card h3 {
        font-family: 'Montserrat', 'Arial', 'Helvetica', sans-serif;
        font-size: 15px;
        font-weight: 700;
    }
    .service-card p {
        font-size: 12px;
        line-height: 17px;
    }
}

.sticky-div {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.app {
    background-color: #070e28;
}

.app-nav-bar {
    height: 80px;
    align-items: center;
}

.app h3 {
    font-size: 20px;
    color: rgba(100, 116, 139);
}

.app-nav-bar img {
    max-height: 100%;
}

.app h2 {
    color: rgba(100, 116, 139);
}

/* Default grid layout for mobile */

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    /* Adjust the gap as needed */
}

.app-grid-item {
    padding: 20px;
    text-align: center;
}

.app img {
    max-width: 50%;
}

.app p {
    font-size: 15px;
    color: rgba(63, 131, 248);
}

.app p:hover {
    color: rgb(0, 77, 211);
}

/* Media query for desktop */

@media (min-width: 768px) {
    .app-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 590px) {
    .app-grid-item {
        padding: 10px;
        text-align: center;
    }
}

.modal-title {
    color: #000000;
    text-align: center;
}

.modal-body {
    position: relative;
}

.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.cmn {
    background-color: #3b99fb;
    color: #ffffff;
}

.cmn:hover {
    color: #ffffff;
}

.br-iw {
    font-weight: 500;
    color: rgb(86, 84, 84);
}

/* Import Page */

.import-tabs {
    display: flex;
    justify-content: space-around;
}

.import-tabs .tab {
    color: rgba(3, 93, 167, 1);
    font-size: medium;
    font-weight: 500;
    background-color: #ffffff;
    padding: 5px 10px;
    border-color: #ffffff00;
    border-radius: 5px;
    border-bottom: none;
}

.import-tabs .tab:hover {
    background-color: rgba(3, 93, 167, 1);
    border-color: #019DEA;
    color: #ffffff;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.import-tabs .tab.active {
    background-color: rgba(3, 93, 167, 1);
    color: #ffffff;
}

.tab-content {
    display: none;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.tab-content.active {
    display: block;
}

/* rgba(255, 255, 255, 0.05); */

.phrase-field {
    width: 100%;
    height: 165px;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    border-radius: 5px;
    resize: none;
    padding: 15px;
}

.phrase-field:focus {
    outline: none;
}

.form-button {
    width: 100%;
    border-radius: 5px;
    padding: 5px;
    background-color: rgba(3, 93, 167, 1);
    border: none;
    color: #ffffff;
}

.form-instrunctions {
    padding-top: 100px;
}

@media screen and (max-width: 590px) {
    .form-instrunctions {
        padding-top: 50px;
    }
}

.pass-field {
    width: 100%;
    border-radius: 5px;
    padding: 7px 10px;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 10px;
}

.pass-field:focus {
    outline: none;
}

.sync-error {
    width: calc(25vw);
    height: auto;
}

@media screen and (max-width: 590px) {
    .sync-error {
        width: calc(50vw);
    }
}

.error-text {
    font-family: 'Montserrat', 'Arial', 'Helvetica', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background-color: #f60100;
    margin: 0px 15px;
}

.grow-image {
    width: calc(25vw);
    height: auto;
    animation: grow 0.5s ease-in-out forwards;
}

@media screen and (max-width: 590px) {
    .grow-image {
        width: calc(50vw);
    }
}

@keyframes grow {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.grow-text {
    animation: grow 0.5s ease-in-out forwards;
}

.custom-alert {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f44336;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.alert-content {
    position: relative;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 15px 0 0;
    cursor: pointer;
    font-size: 20px;
}

.alert-text {
    padding: 20px 35px;
    margin: 0;
}

/* Additional custom styles */
.navbar-brand .protocol-text {
    color: #BC3FEA;
}

.services-desc.hidden {
    display: none;
}

.footer-content {
    color: white;
}

footer {
    background-color: #030710;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0;
    text-align: center;
}

.footer-content p {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-content .hero-btn {
    margin-top: 30px;
}

.hero-container {
    flex: 1;
    min-height: calc(100vh - 120px);
}

.hero-container {
    flex: 1;
    min-height: calc(100vh - 120px);
}

/* Service card hover effects */
.service-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Better text readability */
.service-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.service-card p {
    color: rgba(243, 236, 228, 0.9);
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Hero section improvements */
.hero-col1 h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Montserrat', 'Arial', 'Helvetica', sans-serif;
}

/* Navigation improvements */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #bc3fea !important;
}