.tb-mx-auto{
    margin-inline: auto;
}

/* Hero */
.tb-hero-subtitle{
    font-size: 32px;
    text-align: center;
    margin-inline: auto;
    line-height: 1.2;
    padding: 0;
    margin-bottom: 10px;
}

.tb-hero-description{
    font-size: 16px;
    text-align: center;
    margin-inline: auto;
    max-width: 600px;
}

.tb-hero-contact{
    background: white;
    border-radius: 6px;
    color: #0F1729;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    padding-inline: 15px;
    padding-block: 8px;
}

.tb-hero-contact:hover{
     color: #0F1729;
     filter: brightness(90%);
}

@media (max-width: 768px) {

    .tb-hero-subtitle {
        font-size: 24px; /* Reduce large text for mobile */
        padding-inline: 20px; /* Safety padding from screen edges */
    }

    .tb-hero-description {
        font-size: 15px;
        padding-inline: 20px; /* Safety padding from screen edges */
        width: 100%; /* Ensure it doesn't get squished */
    }

    /* Optional: Make the button slightly wider on mobile for easier tapping */
    .tb-hero-contact {
        min-width: 140px; 
    }
}
/*end Hero*/

/*Main content*/
/*Quotes*/
.tb-quotes-container{
    background: #FBFBFB;
    padding-block: 60px;
}

.tb-quotes-container p{
    padding: 0;
}

.tb-quotes-icon{
    width: 56.73px;
    margin-inline: auto;
    display: block;
}

.tb-quotes-title{
    font-size: 36px;
    line-height: 1.2;
    font-weight: 300 !important;
    font-style: italic;
    text-align: center;
    margin-top: 40px;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 30px;
}

.tb-quotes-subtitle{
    color: #64748B;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 30px;
}

.tb-quotes-description{
    color: #0F1729;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
}

@media (max-width: 768px) {

    .tb-quotes-container {
        padding-block: 40px; /* Reduce vertical spacing */
    }

    .tb-quotes-title {
        font-size: 24px; /* Smaller title */
        margin-top: 20px; /* Reduce gap between icon and title */
        margin-bottom: 20px;
    }

    /* Reduce the large 22px body text to standard readable mobile size */
    .tb-quotes-subtitle,
    .tb-quotes-description {
        font-size: 16px; 
        line-height: 1.6; /* Improve readability for multi-line text */
    }
    
    .tb-quotes-subtitle {
        margin-bottom: 20px;
    }
}
/*end Quotes*/

/*Descriptive*/
.tb-descriptive-content p{
    padding: 0;    
}

.tb-descriptive-content{
    display: flex;
    gap: 20px;
    align-items: center;
    padding-block: 60px;
    max-width: 1178px;
    margin-inline: auto;
}

.tb-descriptive-left-title{
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #102C49;
}

.tb-descriptive-left-description{
    font-size: 16px;
    color: #64748B;
    margin-bottom: 20px;
}

.tb-descriptive-left-quotes{
    background: #FEFCF7;
    font-size: 22px;
    max-width: 325px;
    color: #0F1729;
    padding: 15px 20px;
    border: 1px solid #FAF1DA;
    border-radius: 20px;
    margin-bottom: 20px;
}

.tb-descriptive-left-link{
    background: #152F4E;
    border-radius: 6px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 15px;
    padding-block: 8px;
    width: fit-content;
}

.tb-descriptive-left-link:hover{
    filter: brightness(140%);
    color: white;
}

.tb-descriptive-right{
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 15px 20px;
    width: 60%;
    min-width: 60%;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

@media (max-width: 991px) {
    
    .tb-descriptive-content {
        flex-direction: column; /* Stacks Left and Right sections vertically */
        padding-block: 40px;
        align-items: flex-start; /* Aligns content to the left */
    }

    /* Reset the fixed widths for the Right column */
    .tb-descriptive-right {
        width: 100%;
        min-width: 100%;
        margin-top: 20px; /* Adds space between the top text and this box */
    }

    /* Allow the quote box to be wider on mobile if needed */
    .tb-descriptive-left-quotes {
        max-width: 100%;
        font-size: 18px; /* Slightly smaller font for mobile quotes */
    }

    /* Adjust Title Size */
    .tb-descriptive-left-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
}
/*end Descriptive*/

/*Grid Content*/
.tb-grid-content{
    padding-block: 60px;
}
.tb-grid-content-title{
    font-size: 48px;
    font-weight: bold;
    margin-inline: auto;
    text-align: center;
    padding: 0;
    line-height: 1.2;
}
.tb-grid-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Space between cards */
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px;
}

.tb-grid-items p{
    padding: 0;
}

.tb-grid-item {
    background: #ffffff;
    border: 1px solid #E2E8F0; /* Light border */
    border-radius: 12px;       /* Rounded corners */
    padding: 30px;
    width: calc((100% - 90px) / 4); 
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Optional hover effect */
.tb-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tb-grid-item-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background-color: #F3F3F4; /* The light yellow background */
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 25px; /* Space between icon and title */
    display: block;
}

.tb-grid-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F1729; /* Dark Navy Color */
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.3;
}

.tb-grid-item-text {
    font-size: 15px;
    color: #64748B; /* Slate Gray Color */
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .tb-grid-item {
        /* Logic for 2 columns: (100% - 1 gap) / 2 items */
        width: calc((100% - 30px) / 2); 
    }
}

/* Mobile (1 column) */
@media (max-width: 768px) {
    .tb-grid-item {
        width: 100%; /* Full width */
    }
    
    .tb-grid-items {
        padding-block: 40px;
        gap: 20px;
    }
}
/*end Grid Content*/


/*FAQ Content*/
.tb-faq-container{
    padding-block: 60px;
}

.tb-faq-container p{
    padding: 0;
}

.tb-faq-items {
    display: flex;
    flex-direction: column;
    gap: 12px; 
    max-width: 1120px; 
    margin: 0 auto;
    margin-block: 50px;
}

.tb-faq-items .container{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tb-faq-item {
    background-color: #F5F5F5; 
    border: 1px solid #D9D9D9;
    border-radius: 8px;        
    overflow: hidden;         
    transition: all 0.3s ease;
}

.tb-faq-item:hover {
    border-color: #CBD5E1;
}

.tb-faq-item-btn {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px; 
    cursor: pointer;
    text-align: left;
    outline: none;
}

.tb-faq-item-title {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    color: #0F1729; 
    line-height: 1.4;
}

.tb-faq-item-btn::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #334155; 
    border-bottom: 2px solid #334155;
    transform: rotate(45deg); 
    transition: transform 0.3s ease;
    margin-left: 20px; 
    flex-shrink: 0;    
}

.tb-faq-item.active .tb-faq-item-btn::after {
    transform: rotate(-135deg);
}

.tb-faq-item.active {
    background-color: #FFFFFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.tb-faq-item-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; 
    padding: 0 20px; 
    color: #475569;  
    font-size: 15px;
    line-height: 1.6;
}

.tb-faq-item.active .tb-faq-item-text {
    padding-bottom: 20px;
}
/*end FAQ Content*/


/*end Main content*/

/*Contact*/
.tb-contact{
    padding-block: 80px;
    text-align: center;
}

.tb-contact p{
    padding: 0;
}

.tb-contact .container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tb-contact-title{
    font-size: 48px;
    line-height: 1;
    color: #0F1729;
    font-weight: bold;
}

.tb-contact-subtitle{
    color: #64748B;
    font-size: 16px;
}

.tb-contact-buttons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

.tb-contact-button{
    background: #152F4E;
    border-radius: 6px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 15px;
    padding-block: 8px;
    width: fit-content;
}

.tb-contact-button.outline{
    background: unset;
    border: 1px solid #152F4E;
    border-radius: 6px;
    color: #152F4E;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 15px;
    padding-block: 8px;
    width: fit-content;
}

@media (max-width: 768px) {
    
    .tb-contact {
        padding-block: 40px; /* Reduce padding by half */
    }

    .tb-contact-title {
        font-size: 32px; /* Smaller title for mobile */
    }

    .tb-contact-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
        width: 100%;
    }

    /* Make buttons full width (but not too wide) for better tapping */
    .tb-contact-button, 
    .tb-contact-button.outline {
        width: 100%;
        max-width: 300px; 
    }
}
/*end Contact*/

/*Testimonials Carousel*/
        .testimonial-container {
            width: 100%;
            padding-inline: 20px;
            padding-block: 60px;
            background: #0F1729;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .testimonial-title{
            color: white;
            font-size: 48px;
            font-weight: bold;
            margin-bottom: 30px;
        }
        
        .testimonial-subtitle{
            color: #F8FAFC !important;
            font-size: 16px;
            margin-bottom: 40px;
        }
        
        .testimonial-stars{
            margin-bottom: 10px;
        }
        
        .testimonial-trustpilot{
            background: #1B2334;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 15px;
            border-radius: 100px;
            border: 1px solid #323948;
            margin-top: 30px;
        }
        
        .testimonial-trustpilot-star{
            display: flex;
            gap: 5px;
        }
        
         .testimonial-container .container{
            display: flex;
            align-items: center;
            justify-content: center;
         }
        
        .testimonial-container p{
            padding: 0;
        }

        /* Card Styling */
        .testimonial-card {
            background-color: #272E3E; /* Card dark grey */
            border-radius: 12px;
            padding: 20px;
            margin: 10px;
            height: 100%;
            border: 1px solid #3D4250;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s ease;
        }

        /* Quote Icon (SVG) */
        .quote-icon {
            color: #475569;
            width: 40px;
            height: 40px;
            margin-bottom: 24px;
        }

        /* Testimonial Text */
        .testimonial-text {
            font-size: 16px;
            line-height: 1.6;
            color: #F8FAFC;
            font-style: italic;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        /* Divider */
        .divider {
            height: 1px !important;
            background-color: rgba(255, 255, 255, 0.1);
            margin-bottom: 15px;
        }

        /* Author Section */
        .author-name {
            font-weight: 600;
            font-size: 1.1rem;
            color: #f8fafc;
            margin-bottom: 4px;
        }

        .author-role {
            font-size: 0.9rem;
            color: #94a3b8;
        }

        /* Owl Carousel Custom Pagination Dots */
        .owl-theme .owl-dots .owl-dot span {
            background: #475569;
        }
        .owl-carousel .owl-item img{
            width: 32px !important;
            margin-bottom: 20px;
        }
        .owl-theme .owl-dots .owl-dot.active span {
            background: #38bdf8;
        }
        .owl-dots{
            display: none !important;
        }
/*end Testimonials Carousel*/