:root {
    --primary-color: #4380B5;
    --primary-dark: #2c5d8f;
    --secondary-color: #E0A929;
    --secondary-dark: #b38620;
    --text-color: #112333;
    --text-light: #353A3F;
    --text-support: #8E8E8E;
    --bg-light: #FAFAFA;
    --bg-white: #FAFAFA;
    --bg-dark: #112333;
    --success-color: #0CA313;
    --danger-color: #DF0000;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

h2 {
    font-size: 1.95rem;
    color: var(--bg-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.tb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tb-section-padding {
    padding: 80px 0;
}

.tb-text-center {
    text-align: center;
}

.tb-flex-center {
    display: flex;
    justify-content: center;
}

.tb-mt-30 {
    margin-top: 30px;
}

.tb-text-primary {
    color: var(--primary-color);
}



.tb-bg-light {
    background-color: var(--bg-light);
}

.tb-bg-dark {
    background-color: var(--bg-dark);
}

.tb-text-white {
    color: white;
}

.tb-text-white p {
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.tb-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tb-btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.tb-btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tb-btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tb-btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.tb-btn-white {
    background-color: white;
    color: var(--primary-color);
}

.tb-btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tb-btn-outline-white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.tb-btn-outline-white:hover {
    background-color: white;
    color: var(--primary-color);
}



.tb-btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.tb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.tb-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tb-logo {
    display: flex;
    align-items: center;
}

.tb-logo img {
    height: 45px;
    width: auto;
}

.tb-nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.tb-nav-links a:not(.tb-btn) {
    font-weight: 500;
    color: var(--text-color);
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.tb-nav-links a:not(.tb-btn):hover,
.tb-nav-links a:not(.tb-btn):focus {
    background-color: rgba(17, 35, 51, 0.08);
    /* light-blue fill */
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.tb-nav-links a:not(.tb-btn):hover {
    color: var(--primary-color);
}

.tb-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.tb-section-hero {
    padding-top: 110px;
    padding-bottom: 120px;
    background: linear-gradient(rgba(17, 35, 51, 0.75), rgba(17, 35, 51, 0.75)), url('../img/hero_bg.png') center center / cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.tb-section-hero .tb-container {
    display: block;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tb-hero-content {
    color: #FFFFFF;
}

.tb-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tb-hero-content h1 .tb-text-highlight {
    color: var(--secondary-color);
}

.tb-hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tb-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}



/* About Section */
.tb-section-about {
    padding: 80px 0;
}

.tb-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(10, 108, 241, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tb-section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.tb-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tb-about-card {
    padding: 30px;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tb-about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.tb-about-card:hover h3,
.tb-about-card:hover p {
    color: white;
}

.tb-about-card:hover .tb-icon-box {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.tb-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(10, 108, 241, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

/* Features Section */
.tb-section-features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.tb-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tb-feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tb-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--secondary-color);
}

.tb-feature-card:hover h3,
.tb-feature-card:hover p {
    color: white;
}

.tb-feature-card:hover .tb-feature-icon {
    color: white;
}

.tb-feature-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

/* Benefits Section */
.tb-section-benefits {
    padding: 80px 0;
}

.tb-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.tb-col-half {
    width: 50%;
    padding: 0 15px;
}

.tb-align-items-center {
    align-items: center;
}

.tb-benefits-list {
    margin-top: 30px;
}

.tb-benefits-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.tb-benefits-list i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.tb-benefit-image-placeholder {
    position: relative;
    height: 450px;
    background-color: var(--bg-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tb-benefit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.tb-floating-card {
    position: absolute;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 18px 28px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.tb-card-1 {
    top: 20%;
    right: 10%;
    background: rgba(67, 128, 181, 0.9);
}

.tb-card-2 {
    bottom: 20%;
    left: 10%;
    background: rgba(224, 169, 41, 0.9);
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* How it Works */
.tb-section-how-it-works {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: white;
}

.tb-badge-light {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tb-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.tb-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.tb-timeline-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.tb-step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    border: 4px solid var(--bg-dark);
}



/* Contact Section */
.tb-section-contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.tb-contact-wrapper {
    display: flex;
    gap: 40px;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.tb-contact-info {
    flex: 1;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.tb-contact-form-container {
    flex: 1;
    padding: 30px;
}

.tb-contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.tb-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.tb-info-item .tb-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(67, 128, 181, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.tb-info-item .tb-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.tb-info-item .tb-details p {
    margin-bottom: 0;
    color: var(--text-light);
}

.tb-contact-form .tb-form-group {
    margin-bottom: 20px;
}

.tb-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-color);
}

.tb-contact-form input[type="text"],
.tb-contact-form input[type="email"],
.tb-contact-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.tb-contact-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 128, 181, 0.2);
}

.tb-btn-block {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer */
.tb-footer {
    background-color: var(--bg-dark);
    color: #FFFFFF;
    padding: 60px 0;
}

.tb-footer a {
    transition: var(--transition);
}

.tb-footer a:hover {
    color: var(--primary-color);
}

.tb-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.tb-social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.tb-footer .tb-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.tb-footer-col .tb-logo-footer {
    display: inline-block;
    margin-bottom: 15px;
}

.tb-footer-col .tb-logo-footer img {
    height: 50px;
    width: auto;
}

.tb-footer-col p {
    color: var(--secondary-color);
    font-weight: 500;
}

.tb-footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.tb-footer-col ul li {
    margin-bottom: 10px;
}

.tb-footer-col ul li a {
    color: rgba(255, 255, 255, 0.9);
}

.tb-footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.tb-contact-list li {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.tb-contact-list i {
    color: var(--primary-color);
    margin-top: 5px;
}

.tb-footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Modal */
.tb-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tb-modal.show {
    opacity: 1;
}

.tb-modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.tb-modal.show .tb-modal-content {
    transform: translateY(0);
}

.tb-close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-support);
    transition: var(--transition);
}

.tb-close-modal:hover {
    color: var(--danger-color);
}

.tb-success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.tb-modal-body h3 {
    color: var(--bg-dark);
    margin-bottom: 10px;
}

.tb-modal-body p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 992px) {
    .tb-section-hero .tb-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tb-hero-content p {
        margin: 0 auto 2rem;
    }

    .tb-hero-buttons {
        justify-content: center;
    }

    .tb-about-grid,
    .tb-features-grid,
    .tb-footer .tb-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tb-contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .tb-header {
        padding: 5px 0;
    }

    .tb-logo img {
        height: 45px;
    }

    .tb-nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .tb-nav-links.active {
        transform: translateY(0);
    }

    .tb-nav-links a.tb-btn {
        width: 100%;
        text-align: center;
    }

    .tb-mobile-menu-btn {
        display: block;
    }

    .tb-section-hero {
        padding-top: 100px;
        padding-bottom: 80px;
        min-height: 0;
    }

    .tb-hero-content h1 {
        font-size: 2.2rem;
    }

    .tb-hero-content p {
        font-size: 1.1rem;
    }

    .tb-hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .tb-section-padding {
        padding: 50px 0;
    }

    .tb-about-grid,
    .tb-features-grid,
    .tb-footer .tb-footer-grid {
        grid-template-columns: 1fr;
    }

    .tb-footer-col .tb-logo-footer img {
        height: 80px;
    }

    .tb-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .tb-timeline::before {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .tb-row {
        flex-direction: column;
    }

    .tb-col-half {
        width: 100%;
    }

    .tb-benefit-image-placeholder {
        margin-top: 40px;
        height: 250px;
    }

    .tb-floating-card {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Page Header */
.tb-page-header {
    margin-top: 65px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a3a5a 100%);
    padding: 60px 0 40px;
}

/* Service Detail Layout */
.tb-service-detail-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.tb-service-detail-row.reverse {
    flex-direction: row-reverse;
}

.tb-service-text {
    flex: 1;
}

.tb-service-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.tb-service-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.tb-service-text ul li i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.tb-service-icon-box {
    flex: 1;
    height: 400px;
    background: var(--bg-light);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.tb-service-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.tb-service-icon-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.tb-service-icon-box:hover img {
    transform: scale(1.1);
}

.tb-service-icon-box i {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    z-index: 0;
}

.tb-nav-links a.active {
    color: var(--primary-color) !important;
    background-color: rgba(67, 128, 181, 0.1);
}

@media (max-width: 768px) {

    .tb-service-detail-row,
    .tb-service-detail-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }

    .tb-service-text h2 {
        font-size: 1.8rem;
        text-align: center;
        color: var(--primary-color);
    }

    .tb-service-icon-box {
        height: 180px;
        order: -1;
        font-size: 5rem;
    }

    .tb-contact-wrapper {
        padding: 20px;
    }

    .tb-contact-info,
    .tb-contact-form-container {
        padding: 20px 10px;
    }

    .tb-page-header {
        padding: 40px 0;
    }
}

/* Legal Pages */
.tb-legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.tb-legal-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.tb-legal-content h2:first-child {
    margin-top: 0;
}

.tb-legal-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.tb-legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.tb-legal-content ul li {
    list-style-type: disc;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .tb-legal-content {
        padding: 30px 20px;
    }
}