/* =========================================
       CSS CUSTOM PROPERTIES (Brand Tokens)
       ========================================= */
:root {
    --tbm-navy: #06102b;
    --tbm-navy2: #0b1e4a;
    --tbm-blue: #1a3a8f;
    --tbm-accent: #f5a800;
    --tbm-gold: #e09000;
    --tbm-cyan: #00c8e8;
    --tbm-white: #ffffff;
    --tbm-light: #f4f7ff;
    --tbm-grey: #8a96b0;
    --tbm-radius: 12px;
    --tbm-radius-lg: 24px;
    --tbm-shadow: 0 8px 40px rgba(6, 16, 43, 0.18);
    --tbm-shadow-sm: 0 4px 16px rgba(6, 16, 43, 0.1);
    --font-head: "Rajdhani", sans-serif;
    --font-body: "Nunito", sans-serif;
    --navbar-h: 72px;
}

/* =========================================
       BASE
       ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--tbm-white);
    color: #2c3a5a;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    letter-spacing: 0.02em;
}

img {
    max-width: 100%;
}

/* =========================================
       OVERRIDE / EXTEND BOOTSTRAP COMPONENTS
       ========================================= */

/* ---- btn-tbm-primary  (overrides .btn-primary) ---- */
.btn-tbm-primary {
    --bs-btn-bg: var(--tbm-accent);
    --bs-btn-border-color: var(--tbm-accent);
    --bs-btn-color: var(--tbm-navy);
    --bs-btn-hover-bg: var(--tbm-gold);
    --bs-btn-hover-border-color: var(--tbm-gold);
    --bs-btn-hover-color: var(--tbm-navy);
    --bs-btn-active-bg: var(--tbm-gold);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    box-shadow: 0 4px 18px rgba(245, 168, 0, 0.35);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-tbm-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 168, 0, 0.45);
}

/* ---- btn-tbm-outline (overrides .btn-outline-primary) ---- */
.btn-tbm-outline {
    --bs-btn-color: var(--tbm-white);
    --bs-btn-border-color: var(--tbm-white);
    --bs-btn-hover-bg: var(--tbm-white);
    --bs-btn-hover-color: var(--tbm-navy);
    --bs-btn-hover-border-color: var(--tbm-white);
    --bs-btn-active-bg: var(--tbm-white);
    --bs-btn-active-color: var(--tbm-navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-tbm-outline:hover {
    transform: translateY(-2px);
}

/* ---- badge-tbm (overrides .badge) ---- */
.badge-tbm {
    --bs-badge-color: var(--tbm-navy);
    background: var(--tbm-accent);
    font-family: var(--font-head);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding: 0.35em 0.9em;
    border-radius: 50px;
}

/* ---- card-tbm (overrides .card) ---- */
.card-tbm {
    --bs-card-bg: var(--tbm-white);
    --bs-card-border-color: transparent;
    --bs-card-border-radius: var(--tbm-radius-lg);
    --bs-card-box-shadow: var(--tbm-shadow-sm);
    border-radius: var(--tbm-radius-lg);
    border: none;
    box-shadow: var(--tbm-shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}
.card-tbm:hover {
    transform: translateY(-6px);
    box-shadow: var(--tbm-shadow);
}

/* ---- section-title helper ---- */
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tbm-accent);
    margin-bottom: 0.5rem;
}
.section-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--tbm-navy);
    line-height: 1.15;
}
.section-title span {
    color: var(--tbm-blue);
}
.section-divider {
    width: 52px;
    height: 4px;
    background: linear-gradient(90deg, var(--tbm-accent), var(--tbm-cyan));
    border-radius: 4px;
    margin: 0.9rem 0 1.4rem;
}
.section-divider.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
       NAVBAR
       ========================================= */
.navbar-tbm {
    height: var(--navbar-h);
    background: rgba(6, 16, 43, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245, 168, 0, 0.12);
    padding: 0 0;
}
.navbar-tbm .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.navbar-tbm .brand-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tbm-white);
    line-height: 1.1;
}
.navbar-tbm .brand-sub {
    font-size: 0.62rem;
    color: var(--tbm-accent);
    letter-spacing: 0.08em;
    font-weight: 600;
}
.navbar-tbm .nav-link {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.78) !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    position: relative;
}
.navbar-tbm .nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--tbm-accent);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.navbar-tbm .nav-link:hover,
.navbar-tbm .nav-link.active {
    color: var(--tbm-white) !important;
}
.navbar-tbm .nav-link:hover::after,
.navbar-tbm .nav-link.active::after {
    width: 60%;
}

.navbar-tbm .btn-login {
    background: linear-gradient(135deg, var(--tbm-accent), var(--tbm-gold));
    color: var(--tbm-navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding: 0.38rem 1.1rem;
    border-radius: 50px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.navbar-tbm .btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 168, 0, 0.4);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25) !important;
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* =========================================
       HERO – CAROUSEL
       ========================================= */
.hero-carousel {
    margin-top: var(--navbar-h);
}

.hero-slide {
    position: relative;
    min-height: calc(100vh - var(--navbar-h));
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 8s ease;
    z-index: 0;
}
.carousel-item.active .hero-bg {
    transform: scale(1);
}

.hero-slide .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(6, 16, 43, 0.92) 40%,
        rgba(26, 58, 143, 0.5) 100%
    );
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-slide .hero-eyebrow {
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: var(--tbm-accent);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.hero-slide .hero-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2rem, 5.5vw, 4rem);
    line-height: 1.1;
    color: var(--tbm-white);
    margin-bottom: 1.2rem;
}
.hero-slide .hero-title em {
    font-style: normal;
    color: var(--tbm-accent);
}

.hero-slide .hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Floating shape on hero */
.hero-shape {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    z-index: 1;
    pointer-events: none;
}
.hero-shape svg {
    width: 100%;
    height: 100%;
}

/* Stats row on hero */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}
.hero-stat-item {
    text-align: left;
}
.hero-stat-num {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--tbm-accent);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.06em;
    font-weight: 600;
    text-transform: uppercase;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(245, 168, 0, 0.18);
    border: 1.5px solid rgba(245, 168, 0, 0.4);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}
.carousel-control-prev {
    left: 1.5rem;
}
.carousel-control-next {
    right: 1.5rem;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(245, 168, 0, 0.38);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(245, 168, 0, 0.5);
    border: none;
    transition: background 0.2s, transform 0.2s;
}
.carousel-indicators .active {
    background-color: var(--tbm-accent);
    transform: scale(1.3);
}

/* =========================================
       TICKER / MARQUEE BAR
       ========================================= */
.ticker-bar {
    background: var(--tbm-accent);
    overflow: hidden;
    padding: 0.55rem 0;
}
.ticker-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: tickerMove 28s linear infinite;
}
.ticker-item {
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tbm-navy);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ticker-item i {
    font-size: 0.85rem;
}
@keyframes tickerMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =========================================
       ABOUT SECTION
       ========================================= */
#about {
    background: var(--tbm-light);
}

.about-img-wrap {
    position: relative;
    padding: 1.5rem 1.5rem 0 0;
}
.about-img-wrap img {
    border-radius: var(--tbm-radius-lg);
    box-shadow: var(--tbm-shadow);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}
.about-img-badge {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background: var(--tbm-accent);
    color: var(--tbm-navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.9rem 1.3rem;
    border-radius: var(--tbm-radius);
    box-shadow: 0 6px 20px rgba(245, 168, 0, 0.4);
    text-align: center;
    line-height: 1.2;
}
.about-img-badge span {
    font-size: 2rem;
    display: block;
    line-height: 1;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.3rem;
}
.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--tbm-blue), var(--tbm-cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(26, 58, 143, 0.25);
}
.about-feature h6 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--tbm-navy);
    margin-bottom: 0.2rem;
}
.about-feature p {
    font-size: 0.88rem;
    color: var(--tbm-grey);
    margin: 0;
    line-height: 1.5;
}

/* =========================================
       SERVICES SECTION
       ========================================= */
#services {
    background: var(--tbm-white);
}

.service-card {
    background: var(--tbm-white);
    border-radius: var(--tbm-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1.5px solid #e8eef8;
    transition: all 0.3s ease;
    height: 100%;
}
.service-card:hover {
    border-color: var(--tbm-accent);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 58, 143, 0.12);
}
.service-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.7rem;
    color: var(--tbm-white);
    position: relative;
    overflow: hidden;
}
.service-card-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--tbm-blue), var(--tbm-cyan));
    z-index: 0;
}
.service-card-icon i {
    position: relative;
    z-index: 1;
}
.service-card:hover .service-card-icon::before {
    background: linear-gradient(135deg, var(--tbm-accent), var(--tbm-gold));
}
.service-card h5 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--tbm-navy);
    margin-bottom: 0.5rem;
}
.service-card p {
    font-size: 0.86rem;
    color: var(--tbm-grey);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
       PROGRAMS SECTION
       ========================================= */
#programs {
    background: var(--tbm-navy);
}
#programs .section-title {
    color: var(--tbm-white);
}
#programs .section-eyebrow {
    color: var(--tbm-cyan);
}

.program-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--tbm-radius-lg);
    padding: 1.8rem;
    transition: all 0.3s;
    height: 100%;
}
.program-card:hover {
    background: rgba(245, 168, 0, 0.08);
    border-color: rgba(245, 168, 0, 0.35);
    transform: translateY(-4px);
}
.program-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28em 0.8em;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}
.tag-k3 {
    background: rgba(255, 100, 100, 0.15);
    color: #ff8080;
}
.tag-biz {
    background: rgba(0, 200, 232, 0.15);
    color: #00c8e8;
}
.tag-iso {
    background: rgba(245, 168, 0, 0.15);
    color: #f5a800;
}
.tag-ind {
    background: rgba(130, 100, 255, 0.15);
    color: #a07fff;
}
.tag-dig {
    background: rgba(80, 200, 120, 0.15);
    color: #50c878;
}
.tag-char {
    background: rgba(255, 160, 80, 0.15);
    color: #ffa050;
}
.tag-sal {
    background: rgba(255, 80, 120, 0.15);
    color: #ff5080;
}
.tag-con {
    background: rgba(100, 180, 255, 0.15);
    color: #64b4ff;
}

.program-card h5 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tbm-white);
    margin-bottom: 0.5rem;
}
.program-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}
.program-card .program-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.9rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: var(--tbm-accent);
    text-decoration: none;
    transition: gap 0.2s;
}
.program-card .program-more:hover {
    gap: 0.6rem;
}

/* =========================================
       WHY CHOOSE US
       ========================================= */
#why {
    background: var(--tbm-light);
}

.why-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.2rem;
    border-radius: var(--tbm-radius);
    background: white;
    box-shadow: var(--tbm-shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}
.why-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--tbm-shadow);
}
.why-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(26, 58, 143, 0.12);
    min-width: 2.5rem;
    line-height: 1;
}
.why-item h6 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--tbm-navy);
    margin-bottom: 0.25rem;
}
.why-item p {
    font-size: 0.85rem;
    color: var(--tbm-grey);
    margin: 0;
    line-height: 1.5;
}

/* =========================================
       GALLERY / DOKUMENTASI
       ========================================= */
#gallery {
    background: var(--tbm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--tbm-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 16, 43, 0.7) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay span {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.04em;
}

/* =========================================
       TESTIMONIAL CAROUSEL
       ========================================= */
#testimonials {
    background: linear-gradient(135deg, var(--tbm-navy2), var(--tbm-navy));
}

.testi-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--tbm-radius-lg);
    padding: 2.2rem 2rem;
    margin: 0 0.5rem;
    position: relative;
}
.testi-quote {
    font-size: 4rem;
    line-height: 0.8;
    color: var(--tbm-accent);
    font-family: Georgia, serif;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}
.testi-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.2rem;
}
.testi-stars {
    color: var(--tbm-accent);
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tbm-blue), var(--tbm-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}
.testi-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}
.testi-role {
    font-size: 0.75rem;
    color: var(--tbm-accent);
    letter-spacing: 0.06em;
}

/* Testi carousel custom arrows */
.testi-prev,
.testi-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 168, 0, 0.15);
    border: 1.5px solid rgba(245, 168, 0, 0.3);
    color: var(--tbm-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.testi-prev:hover,
.testi-next:hover {
    background: var(--tbm-accent);
    color: var(--tbm-navy);
}

/* =========================================
       CTA SECTION
       ========================================= */
#cta {
    background: linear-gradient(
        135deg,
        var(--tbm-blue) 0%,
        var(--tbm-navy) 100%
    );
    position: relative;
    overflow: hidden;
}
#cta::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(245, 168, 0, 0.07);
    pointer-events: none;
}
#cta::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 200, 232, 0.06);
    pointer-events: none;
}

/* =========================================
       CONTACT SECTION
       ========================================= */
#contact {
    background: var(--tbm-light);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: linear-gradient(135deg, var(--tbm-blue), var(--tbm-cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}
.contact-info-item h6 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--tbm-navy);
    margin: 0 0 0.2rem;
}
.contact-info-item p,
.contact-info-item a {
    font-size: 0.88rem;
    color: var(--tbm-grey);
    margin: 0;
    text-decoration: none;
    line-height: 1.5;
}
.contact-info-item a:hover {
    color: var(--tbm-blue);
}

.contact-form-wrap {
    background: white;
    border-radius: var(--tbm-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--tbm-shadow-sm);
}
.form-control,
.form-select {
    border: 1.5px solid #e0e8f5;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--tbm-blue);
    box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.12);
}
.form-label {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--tbm-navy);
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}

/* Social badges */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(26, 58, 143, 0.08);
    color: var(--tbm-blue);
    font-size: 1.1rem;
    transition: all 0.2s;
    text-decoration: none;
}
.social-link:hover {
    background: var(--tbm-accent);
    color: var(--tbm-navy);
    transform: translateY(-2px);
}

/* =========================================
       FOOTER
       ========================================= */
footer {
    background: var(--tbm-navy);
    padding: 4rem 0 0;
}
.footer-brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}
.footer-brand-sub {
    font-size: 0.72rem;
    color: var(--tbm-accent);
    letter-spacing: 0.08em;
    font-weight: 600;
}
footer p,
footer li,
footer a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}
footer a:hover {
    color: var(--tbm-accent);
}
footer h6 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: white;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer ul li {
    margin-bottom: 0.5rem;
}
footer ul li a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
footer ul li a::before {
    content: "›";
    color: var(--tbm-accent);
    font-size: 1.1rem;
}
.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 2.5rem 0 0;
}
.footer-bottom {
    padding: 1.2rem 0;
    background: rgba(0, 0, 0, 0.2);
}
.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* =========================================
       LOGIN MODAL
       ========================================= */
.modal-tbm .modal-content {
    border-radius: var(--tbm-radius-lg);
    border: none;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}
.modal-tbm .modal-header {
    background: linear-gradient(135deg, var(--tbm-navy2), var(--tbm-blue));
    border: none;
    padding: 1.8rem 2rem 1.4rem;
}
.modal-tbm .modal-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
}
.modal-tbm .modal-body {
    padding: 2rem;
}
.modal-tbm .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

/* =========================================
       SCROLL TO TOP
       ========================================= */
#scrollTop {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tbm-accent);
    color: var(--tbm-navy);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(245, 168, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1040;
}
#scrollTop.visible {
    opacity: 1;
    pointer-events: auto;
}
#scrollTop:hover {
    transform: translateY(-3px);
}

/* =========================================
       ANIMATIONS
       ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger.visible > *:nth-child(1) {
    transition-delay: 0.05s;
}
.stagger.visible > *:nth-child(2) {
    transition-delay: 0.12s;
}
.stagger.visible > *:nth-child(3) {
    transition-delay: 0.19s;
}
.stagger.visible > *:nth-child(4) {
    transition-delay: 0.26s;
}
.stagger.visible > *:nth-child(5) {
    transition-delay: 0.33s;
}
.stagger.visible > *:nth-child(6) {
    transition-delay: 0.4s;
}
.stagger.visible > *:nth-child(7) {
    transition-delay: 0.47s;
}
.stagger.visible > *:nth-child(8) {
    transition-delay: 0.54s;
}
.stagger.visible > * {
    opacity: 1;
    transform: none;
}

/* =========================================
       RESPONSIVE TWEAKS
       ========================================= */
@media (max-width: 991px) {
    .navbar-tbm .collapse {
        background: rgba(6, 16, 43, 0.98);
        padding: 1rem;
        border-radius: 0 0 16px 16px;
    }
    .hero-shape {
        display: none;
    }
}
@media (max-width: 767px) {
    .hero-stats {
        gap: 1.5rem;
    }
    .hero-stat-num {
        font-size: 1.8rem;
    }
    .about-img-badge {
        right: 0;
        bottom: 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--tbm-navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    transition: opacity 0.5s ease;
}
#preloader .pre-logo {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.1em;
}
#preloader .pre-logo span {
    color: var(--tbm-accent);
}
#preloader .pre-bar {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}
#preloader .pre-fill {
    height: 100%;
    width: 0;
    background: var(--tbm-accent);
    border-radius: 3px;
    animation: preload 1.4s ease forwards;
}
@keyframes preload {
    to {
        width: 100%;
    }
}

/* wavy section divider */
.wave-divider {
    display: block;
    margin-bottom: -2px;
}
