body {
    color: #5464B0;
}

body.nurbliLogo{
    background-color: #e5faff;
    background-image: url(/static/images/Nurbli-Transparent.png);
    background-position-x: right;
    background-repeat: repeat;
    background-blend-mode: multiply;
    background-size: 550px;
    position: relative;
    min-height: 100vh; 
    margin: 0; 
    padding: 0; 

}

.bold {
    background-color: #e5faff;
    font-weight: bold; 
    color: black;
    
}

.faqContainer{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:center;
    padding:20px;
    width:100%;
    height:100%;
    margin: 0 auto;
    z-index:1;
}

.faqContainer .col {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    height: 250px; 
    padding: 15px;
    
}
.faqCard {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height:100%;
    max-height:none;
    max-width: 800px;
    margin:0;
    border: 2px solid transparent;
    border-radius: 15px;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(to bottom right, #cdffd8, #94b9ff) border-box;
    padding: 30px;
    box-sizing: border-box;
    position: relative;
    z-index:2;
}

.faqCard h1 {
    font-size:15px;
    font-weight: bold;
    color:black;
    margin-bottom: 10px;
    flex-shrink:0;
    line-height:1;
    overflow: hidden;
}

.faqCard p {
    font-size:14px;
    color:black;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    max-height:4.5em;
    line-height:1.5;
    position:relative;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    line-clamp:3;
    -webkit-box-orient: vertical;
    flex-grow:1;
    margin-bottom:5px;
    
}

.fullCard {
    display: flex;
    flex-direction:column;
    align-items:stretch;
    box-sizing:border-box;
    border: 2px solid transparent;
    border-radius: 15px;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(to bottom right, #cdffd8, #94b9ff) border-box;
    padding: 30px;
    position: relative;
    color: black;
    margin:auto;
    aspect-ratio: auto;
}

.fullCard h2 {
    font-size: 24px; /* Default size for desktop */
    margin-bottom: 10px;
}

.fullCard p {
    font-size: 16px; /* Default size for desktop */
    line-height: 1.5; /* Good for readability */
}

.view-more-link { 
    align-self:flex-end;
    margin-top: auto;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    color: darkslategrey;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease; 
    display: inline-block;
    text-decoration: none;
    flex-shrink:0;
}

.view-more-link:hover{
    color:#5464B0;
}

.search-wrapper {
    background-color: white;
    border: 2px solid #0f4652;
    border-radius: 30px;
}

/* Input field */
.search-input {
    background-color: white;
    color: #76766e;
    font-weight: bold;
    font-style: italic;
    border: none;
    border-radius: 30px;
    height: 100%;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 9999s ease-in-out 0s;
    font-weight: bold;
    font-style: italic;
}

/* Circle button for paper plane */
.search-btn-circle {
    background-color: #30b0cf;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    margin: 5px 10px;
    transition: none; /* Disable transition animation */
}

/* Override any hover effect */
.search-btn-circle:hover {
    background-color: #30b0cf;
    color: white;
}

.search-btn-circle:focus,
.search-btn-circle:active,
.search-btn-circle:focus:active {
    background-color: #30b0cf !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.partner-btn {
    background-color: #0f4652;
    color: white;

}

.partner-btn:hover,
.partner-btn:focus,
.partner-btn:active {
  background-color: #0f4652 !important;
  color: white !important;
  text-decoration: none;
  box-shadow: none;
  outline: none;
}

.backBtn {
    background-color: #30b0cf;
    color: white;
    font-weight: bold;
    border: none;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
}

.backBtn:hover,
.backBtn:focus,
.backBtn:active,
.backBtn:focus-visible {
    background-color: #30b0cf !important;
    color: white !important;
    border: none;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .faqContainer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }

    .faqContainer .col {
        flex: 1 1 45%;
        max-width: 48%;
        height: auto;
        padding: 10px;
        box-sizing: border-box;
    }

    .faqCard {
        width: 100%;
        max-width: none;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .faqCard h1 {
        font-size: 14px;
    }

    .faqCard p {
        font-size: 13px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .view-more-link {
        white-space: nowrap;
        right:auto;
        bottom: 10px;   
        font-size:12px;
    }

    .partner-btn {
        bottom: 15px;
        right: 15px;
        padding: 8px 15px;
        font-size: 12px;
    }


    .search-wrapper {
        width: 100%;
        margin:10px auto;
        
    }
    
    .fullCard {
        width: 90%;
        margin: 20px auto;
        padding: 20px;
        aspect-ratio: 1/1; 
        
        align-items: stretch;

    }

     .fullCard h2 {
        font-size: 20px; 
        margin-bottom: 8px; 
    }

    .fullCard p {
        font-size: 14px; 
        line-height: 1.4; 
    }
}

