* {
    margin: 0%;
    padding: 0%;
    font-family: 'Cabin', sans-serif;
}

body {
    font-family: 'Cabin', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

@font-face {
    font-family: 'CeraPro';
    src: url("{% static 'fonts/CeraPro-Regular.woff2' %}") format("woff2"),
         url("{% static 'fonts/CeraPro-Regular.woff' %}") format("woff");
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/************************* Overall Styling **************************/

.btn {
    background-color: #7f2729;
    color: #ffffff;
    border: none;
    padding-left: 1rem;
    padding-right: 1rem;
    outline: none;
}

.btn:focus{
    outline: none;
    box-shadow: none;
}

.btn-custom:hover {
    background-color: #f1f1f1;
    color: #1c355e;
}

.btn:hover {
    background-color: #1c355e;
    color: #ffffff;
}

.custom-btn {
    background-color: #7f2729;
    color: #ffffff;
    border-radius: 5px;
    border: none;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    outline: none;
    text-decoration: none;
    font-size: 1.2rem;
}

.custom-btn:hover {
    background-color: #f1f1f1;
    color: #1c355e;
}

.signup-btn {
    color: #ffffff;
    border: 1px solid grey;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    font-size: 0.9rem;
    margin-right: 2rem;
    text-decoration: none;
}
.signup-btn:hover {
    background-color: #e1dfdf;
    color: #1c355e;
}

.login-btn {
    background-color: #7f2729;
    color: #ffffff;
    border: none;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    outline: none;
    margin-left: 2rem;
    text-decoration: none;
}
.login-btn:hover {
    background-color: #f1f1f1;
    color: #1c355e;
}

.book-consultation-btn {
    background-color: #7f2729;
    color: #ffffff;
    border-radius: 5px;
    border: none;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    outline: none;
    text-decoration: none;
    font-size: 1.2rem;
    width: 12rem;
}

.book-consultation-btn:hover {
    background-color: #f1f1f1;
    color: #1c355e;
}

.redirect-back-btn {
    color: #f1f1f1;
    font-size: 1.5rem;
}
.redirect-back-btn:hover {
    color: #ffd0f7;
}

.responsive-text {
    font-size: 40px;
}

@media (max-width: 768px) {
    .responsive-text {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .responsive-text {
        font-size: 24px;
        width: 90%;
    }
}


.test-css {
    color: #7f2729;
    font-size: 800;
}
/*********************** Header section *************************/


.section-header {
    text-align: center;
    font-weight: bolder;
    font-size: 12px;
    padding-top: 2rem;
}

.logo {
    margin: 0.5rem;
    width: 20%;
    height: auto;
}

@media (max-width: 576px) {
    .logo {
        margin: 0.5rem;
        width: 20%;
    }
}

.navbar {
    background-color: #1c355e;
    padding-top: 0%;
    color: #ffffff;
    border: none;
    position: relative;
    z-index: 9999;
}


.navbar-short {
    border: none;
}

.nav-container {
    margin-right: 2rem;
}

.navbar-light .navbar-toggler.custom-toggler {
    border: none;
}

.navbar-light .navbar-toggler.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-title {
    color: #ffffff;
    text-transform: uppercase;
}

.nav-title:hover {
    color: #ffffff;
}

.nav-title::after {
    color: #ffffff;
}

.navbar-toggler {
    border: none;
    outline: none; /* Ensure no outline on focus */
}

.navbar-toggler:focus {
    outline: none; /* Ensure no outline on focus */
    box-shadow: none; /* Remove any box-shadow on focus */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-contact {
    color: #adadad;
    font-size: 0.8rem;
    margin-right: 2rem;
    margin-top: 0.5rem;
}
.nav-contact:hover {
    color: #f1f1f1;
}

/*********************** Slider **************************/


.custom-bg-image {
    background-image: url('{% static "img/CM SME - Background.jpg" %}');
    background-size: cover;
    background-position: center;
}

@media (max-width: 1024px) {
    .custom-bg-image {
        height: 100vh;
    }
}

@media (max-width: 920px) {
    .custom-bg-image {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .custom-bg-image {
        height: 50vh;
    }
}

@media (max-width: 576px) {
    .custom-bg-image {
        height: 100vh;
    }
}


/********************* Cards ***********************/
.card {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Initial transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease-in-out;
}

.card-overlay-content {
    opacity: 0;
    color: white;
    text-align: center;
    transition: opacity 0.3s ease-in-out;
}

.card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.7); /* Darker background on hover */
}

.card:hover .card-overlay-content {
    opacity: 1;
}

.card-details h5{
    padding: 0.5em;
    font-size: 20px;
}

.card-details p {
    padding: 0.5em;
    font-size: 14px;
}

.special-title {
    color:#7f2729;
    font-weight: 800;
}

.card-text-list {
    text-align: left;
}

.card-image {
    height: 15rem;
}

.home-card-image {
    height: 14rem;
}

.inhouse-card {
    background-image: url("{% static 'img/calc.jpeg' %}");
}

/*** Inhouse Legal Support ***/

.legal_item img {
    width: 60px;
    margin-bottom: 10px;
}

.legal_item .legal-p {
    text-align: center;
    color: white;
    margin: 0.5em;
    font-size: 16px;
}

.legal .legal_item {
    width: 40%;
    background: #D6D6D6;
    margin: 11px 9px;
    padding: 25px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 300ms;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.legal .legal_item:hover {
    box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
    transform: scale(1.05);
    cursor: pointer;
}

#sme-page .insidecol {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    /* width: 54%; */
    margin-top: 81px;
}

.legal_item .legal_btn {
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid white;
    border-radius: 0.4em;
    color: #ffffff;
    margin: 0 auto;
}

.legal_item .legal_btn:hover {
    background: white;
    color: #7f2729;
    transition: all 300ms;
}

.virtual_card{
    position: relative;
    background-color: #1c355e;
    overflow: hidden;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
}

.virtual_card:hover {
    background-color: #7f2729;
}




/************************** Overlay  ******************************/



.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s;
    opacity: 1;
}

.overlay h2 {
    font-weight: bold;
}

.overlay-container:hover .overlay {
    opacity: 1;
}

.overlay-service {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    margin-left: 5rem;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s;
    opacity: 1;
}

.overlay-service h2 {
    font-weight: 800;
}





/******************* FAQ Section ************************/
.faq-btn {
    text-transform: uppercase;
}
.accordion-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}



/*************************** Newsletter ****************************/
.subscribe-card {
    width: 100%;
    max-width: 65%;
    margin-top: 2rem;
    background-color: #f1f1f1;
}

.subscribe-card .card-body {
    padding: 2rem;
}

.subscribe-card h5 {
    font-weight: bold;
}

.newsletter-section {
    margin: 3rem;
}

.email-link {
    color: #000;
}



/************************** Section Separator ****************************/
.separator-container {
    padding-top: 2rem;
    margin-top: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-content: center;
}

.separator-line {
    border-color: rgba(17, 56, 97, 0.35);
    border: none;
    width: 40%;
}

.separator-hr {
    opacity: 0.5;
}


/*************************** Footer  *************************/

.footer {
    background-color: #565653;
    color: #ffffff;
}
.footer-title {
    text-transform: uppercase;
}

.footer-links ul {
    margin-top: 2rem;
}
.footer-links ul li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
}

.footer-other-links { 
    margin-top: 2rem;
}

.footer-other-links a{
    display: flexbox;
    justify-content: space-between;
    font-size: 12px;
    padding: 1rem;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-final {
    padding-top: 3rem;
    margin-top: 2rem;
}


/********************* Pricing Section *************************/



/********************* Forms ************************/
.custom-select {
    position: relative;
    background-color: #f8f9fa;
}

.custom-select::after {
    content: '\f078'; /* Unicode for downwards arrow */
    font-family: 'FontAwesome';
    font-size: 1rem;
    color: #6c757d;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Optional: Change the appearance of the placeholder option */
.custom-select option:first-child {
    color: #6c757d;
}

/************************************ Contact Us **************************************/
.main-contact
{
    height: 100vh;
}
.contact-us-page {
    background-color: lightgray;
}
.contact-img {
    width: auto;
    height: 30rem;
}





/*********************** Refer A Friend  **************************/

.referral-container {
    background-color: #1c355e;
}
.referral-card {
    width: 100%;
    max-width: 90%;
    margin-top: 2rem;
    background-color: #f1f1f1;
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); */
}


/**************************** Documents Portal ******************************/


.documents-card {
    width: 100%;
    margin-top: 0.5rem;
    background-color: #f1f1f1;
}

.documents_btn {
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #1c355e;
    border-radius: 0.4em;
    color: #1c355e;
    margin: 0 auto;
    width: 75%;
    margin-bottom: 1rem;
}

.documents_btn:hover {
    background: white;
    color: #7f2729;
    border: 1px solid #7f2729;
    transition: all 300ms;
}

.documents_purchase_btn {
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #1c355e;
    border-radius: 0.4em;
    background: #1c355e;
    color: #ffffff;
    margin: 0 auto;
    width: 75%;
    margin-bottom: 1rem;
}

.documents_purchase_btn:hover {
    background: #7f2729;
    color: #ffffff;
    border: 1px solid #7f2729;
    transition: all 300ms;
}


/***************************** Breadcrumbs  ******************************/
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    font-weight: 600;
}
.breadcrumb a {
    color: #7f2729;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #1c355e;
    text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #ffffff;
    content: " / ";
}



/*App's colors*/
/*1c355e*/
/*7f2729*/
