/* ===================================================================
   tc-package-details.css
   Package Details — layout overrides & modern component styles
   Adventra theme — TripCabinet
   =================================================================== */

/* --- Section Padding (reduce from 120px global default) --- */
.tour-details-section.section-padding {
    padding: 24px 0 60px;
}

/* --- Breadcrumb Responsive --- */
@media (max-width: 767.98px) {
    .tc-breadcrumb {
        padding: 10px 0;
    }
    .tc-breadcrumb__list {
        flex-wrap: wrap;
        gap: 5px 8px;
    }
    .tc-breadcrumb__item a,
    .tc-breadcrumb__item--active {
        font-size: 12px;
    }
    .tc-breadcrumb__separator {
        font-size: 8px;
    }
    .tc-breadcrumb__item--active {
        display: inline-block;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* --- Gallery Carousel --- */
#packageCarousel {
    border-radius: 16px;
    overflow: hidden;
}
#packageCarousel .carousel-item img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    cursor: pointer;
}
@media (max-width: 575px) {
    #packageCarousel {
        border-radius: 10px;
    }
    #packageCarousel .carousel-item img {
        aspect-ratio: 4 / 3;
    }
}

/* --- Content Spacing --- */
.tour-details-wrapper .tour-details-items .details-content {
    margin-top: 24px;
}
.tc-secnav + .tour-details-items .details-content {
    margin-top: 0;
}

/* --- Location --- */
.tour-details-wrapper .tour-details-items .details-content .location-icon {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
}

/* --- Title (override main.css 48px) --- */
.tour-details-wrapper .tour-details-items .details-content h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 16px;
}
@media (max-width: 991px) {
    .tour-details-wrapper .tour-details-items .details-content h2 {
        font-size: 24px;
    }
}
@media (max-width: 575px) {
    .tour-details-wrapper .tour-details-items .details-content h2 {
        font-size: 20px;
        line-height: 1.4;
    }
}

/* --- Share Bar --- */
.tc-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 8px;
    flex-wrap: wrap;
}
.tc-share__label {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tc-share__icons {
    display: flex;
    gap: 6px;
}
.tc-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f2f8;
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.tc-share__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.tc-share__btn--fb:hover { background: #1877F2; color: #fff; }
.tc-share__btn--tw:hover { background: #000; color: #fff; }
.tc-share__btn--pin:hover { background: #E60023; color: #fff; }
.tc-share__btn--wa:hover { background: #25D366; color: #fff; }
.tc-share__btn--email:hover { background: #6b7280; color: #fff; }
.tc-share__btn--link:hover { background: var(--theme-color, #4D40CA); color: #fff; }

/* --- Highlights (Included / Excluded) --- */
.tc-highlights {
    margin-top: 32px;
    margin-bottom: 8px;
}
.tc-highlights__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--header, #151415);
    margin-bottom: 20px;
}
.tc-highlights__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.tc-highlights__card {
    border-radius: 14px;
    padding: 22px;
    border: 1px solid;
}
.tc-highlights__card--included {
    background: rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.15);
}
.tc-highlights__card--excluded {
    background: rgba(239, 68, 68, 0.03);
    border-color: rgba(239, 68, 68, 0.12);
}
.tc-highlights__card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.tc-highlights__card--included .tc-highlights__card-head {
    color: #059669;
}
.tc-highlights__card--excluded .tc-highlights__card-head {
    color: #dc2626;
}
.tc-highlights__card-head i {
    font-size: 14px;
}
.tc-highlights__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tc-highlights__list li {
    position: relative;
    padding: 7px 0 7px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text, #455151);
    line-height: 1.55;
}
.tc-highlights__list li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.tc-highlights__list li i {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 11px;
}
.tc-highlights__card--included .tc-highlights__list li i {
    color: #10b981;
}
.tc-highlights__card--excluded .tc-highlights__list li i {
    color: #ef4444;
}

/* --- Sidebar Quantity Selectors --- */
.quantity-selector button {
    width: 32px;
    height: 32px;
    font-size: 18px;
    border: 1.5px solid var(--border, #E6EFFF);
    border-radius: 8px;
    background: #fff;
    color: var(--header, #151415);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.2s ease;
}
.quantity-selector button:hover {
    border-color: var(--theme-color, #4D40CA);
    color: var(--theme-color, #4D40CA);
}
.quantity-selector input {
    width: 40px;
    height: 32px;
    border: 1.5px solid var(--border, #E6EFFF);
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    background: #fafafa;
}

/* --- Sidebar: reduce heavy 45px padding when inside tab layout --- */
.tc-booking-tabs + .tab-content .tour-sidebar-items {
    padding: 24px 28px 28px;
}

/* --- Sidebar: tighten total-list for stacked price display --- */
.tour-details-wrapper .tour-details-sidebar .tour-sidebar-items .total-list {
    flex-wrap: wrap;
    padding-top: 18px;
    margin-bottom: 20px;
}
.tour-details-wrapper .tour-details-sidebar .tour-sidebar-items .total-list li:first-child {
    font-size: 16px;
    font-weight: 700;
    color: #6b7280;
}

/* --- Sidebar Sticky --- */
@media (min-width: 992px) {
    .tour-details-sidebar.sticky-style {
        position: sticky;
        top: 100px;
    }
}

/* --- Trust Signals --- */
.tc-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}
.tc-trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8f8fc;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    font-family: "Nunito", sans-serif;
}
.tc-trust__icon {
    font-size: 16px;
    color: var(--theme-color, #4d40ca);
    flex-shrink: 0;
}
@media (max-width: 575px) {
    .tc-trust {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 16px;
    }
}

/* --- Photo Count Badge --- */
.tc-gallery-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: "Nunito", sans-serif;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 5;
    pointer-events: none;
    backdrop-filter: blur(4px);
}
.tc-gallery-badge i {
    margin-right: 5px;
}

/* --- Price Badge (Overview) --- */
.tc-price-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 6px;
    margin-bottom: 4px;
}
.tc-price-badge__current {
    font-size: 26px;
    font-weight: 800;
    color: var(--header, #151415);
    font-family: "Nunito", sans-serif;
    line-height: 1;
}
.tc-price-badge__original {
    font-size: 15px;
    font-weight: 600;
    text-decoration: line-through;
    color: #9ca3af;
}
.tc-price-badge__discount {
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 3px 10px;
    border-radius: 6px;
}
.tc-price-badge__per {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}
@media (max-width: 575px) {
    .tc-price-badge__current {
        font-size: 22px;
    }
}

/* --- Related Packages --- */
/* ===================================================================
   Related Packages — premium card carousel
   =================================================================== */
.tc-rp {
    padding: 48px 0 60px;
    background: #fff;
}

/* Header row */
.tc-rp__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.tc-rp__heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--header, #151415);
    margin: 0;
}
.tc-rp__viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--theme-color, #4D40CA);
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.25s ease;
}
.tc-rp__viewall:hover {
    gap: 10px;
    color: var(--theme-color, #4D40CA);
    text-decoration: none;
}

/* Scrollable track */
.tc-rp__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}
.tc-rp__track::-webkit-scrollbar {
    display: none;
}

/* Card */
.tc-rp__card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f0f0f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(.22,.68,0,1), box-shadow 0.35s ease;
}
.tc-rp__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(77, 64, 202, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
    color: inherit;
    text-decoration: none;
}

/* Image container */
.tc-rp__visual {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}
.tc-rp__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.22,.68,0,1);
}
.tc-rp__card:hover .tc-rp__visual img {
    transform: scale(1.08);
}
.tc-rp__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

/* Discount badge */
.tc-rp__save {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: 8px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    z-index: 2;
}

/* Duration chip */
.tc-rp__dur {
    position: absolute;
    bottom: 12px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    z-index: 2;
}
.tc-rp__dur i {
    font-size: 11px;
    color: #6b7280;
}

/* Body */
.tc-rp__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
}

/* Title */
.tc-rp__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--header, #151415);
    margin: 0 0 8px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta row — location + rating */
.tc-rp__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.tc-rp__loc {
    font-size: 12.5px;
    font-weight: 600;
    color: #6b7280;
}
.tc-rp__loc i {
    margin-right: 3px;
    color: var(--theme-color, #4D40CA);
    font-size: 11px;
}
.tc-rp__rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
}
.tc-rp__rating i {
    color: #f59e0b;
    font-size: 11px;
}
.tc-rp__rating small {
    font-weight: 500;
    color: #9ca3af;
}

/* Footer — price */
.tc-rp__foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}
.tc-rp__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.tc-rp__price-was {
    font-size: 13px;
    font-weight: 600;
    text-decoration: line-through;
    color: #c4c4cc;
    order: 1;
}
.tc-rp__price-now {
    font-size: 20px;
    font-weight: 800;
    color: var(--header, #151415);
    letter-spacing: -0.3px;
    order: 2;
}
.tc-rp__price-per {
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    order: 3;
}

/* ── Desktop: 4-up grid ── */
@media (min-width: 1200px) {
    .tc-rp__track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        overflow-x: visible;
        margin: 0;
        padding: 0 0 8px;
    }
    .tc-rp__card {
        flex: none;
    }
}

/* ── Tablet ── */
@media (max-width: 1199.98px) and (min-width: 768px) {
    .tc-rp__card {
        flex: 0 0 260px;
    }
}

/* ── Mobile ── */
@media (max-width: 767.98px) {
    .tc-rp {
        padding: 36px 0 44px;
    }
    .tc-rp__heading {
        font-size: 20px;
    }
    .tc-rp__viewall {
        font-size: 13px;
    }
    .tc-rp__track {
        gap: 14px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .tc-rp__card {
        flex: 0 0 240px;
        border-radius: 16px;
    }
    .tc-rp__visual {
        aspect-ratio: 16 / 10;
    }
    .tc-rp__save {
        top: 10px;
        left: 10px;
        font-size: 10px;
        padding: 4px 9px;
        border-radius: 6px;
    }
    .tc-rp__dur {
        bottom: 10px;
        left: 10px;
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 6px;
    }
    .tc-rp__body {
        padding: 12px 14px 14px;
    }
    .tc-rp__name {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .tc-rp__meta {
        gap: 10px;
        margin-bottom: 10px;
    }
    .tc-rp__loc, .tc-rp__rating {
        font-size: 12px;
    }
    .tc-rp__price-now {
        font-size: 18px;
    }
    .tc-rp__price-per {
        font-size: 11px;
    }
}

/* ── Small mobile ── */
@media (max-width: 374px) {
    .tc-rp__card {
        flex: 0 0 210px;
    }
}

/* --- Review Login Gate --- */
.tc-review-login {
    text-align: center;
    padding: 32px 24px;
    background: #f8f8fc;
    border-radius: 14px;
    margin-top: 20px;
}
.tc-review-login__icon {
    font-size: 32px;
    color: var(--ratting, #F8BC26);
    margin-bottom: 10px;
}
.tc-review-login__text {
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 16px;
}
.tc-review-login__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 50px;
    background: var(--theme-color, #4D40CA);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.tc-review-login__btn:hover {
    background: var(--header, #151415);
    color: #fff;
}

/* --- Mobile --- */
@media (max-width: 991.98px) {
    /* Vertical gap between stacked columns (no gy-* on row) */
    .tour-details-wrapper .col-xl-4 {
        margin-top: 32px;
    }
}
/* gx-5 negative margins exceed container padding on small screens — clip overflow
   Use 'clip' (not 'hidden') so it doesn't create a scroll container that would break
   position: sticky on .tc-secnav inside this wrapper */
@media (max-width: 767.98px) {
    .tour-details-wrapper {
        overflow-x: clip;
    }
}
@media (max-width: 767.98px) {
    .tour-details-section.section-padding {
        padding: 20px 0 36px;
    }
    .tour-details-wrapper .tour-details-items .details-content {
        margin-top: 16px;
    }
    .tc-highlights {
        margin-top: 24px;
    }
    .tc-highlights__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tc-highlights__card {
        padding: 18px;
    }
    .tc-share__btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .tc-review-login {
        padding: 24px 16px;
    }
    .tc-booking-tabs + .tab-content .tour-sidebar-items {
        padding: 20px 18px 24px;
    }
}

@media (max-width: 575px) {
    .tour-details-section.section-padding {
        padding: 16px 0 28px;
    }
}

/* ===================================================================
   Sticky Section Navigation
   =================================================================== */
.tc-secnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px;
    display: flex;
    align-items: center;
}
.tc-secnav__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    color: var(--header, #151415);
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 8px;
    transition: background 0.2s ease;
    padding: 0;
    margin-right: 4px;
}
.tc-secnav__burger:hover {
    background: #f3f4f6;
}
@media (max-width: 1199.98px) {
    .tc-secnav__burger {
        display: inline-flex;
    }
}
.tc-secnav__track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.tc-secnav__track::-webkit-scrollbar {
    display: none;
}
.tc-secnav__tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
    font-family: "Nunito", sans-serif;
}
.tc-secnav__tab:hover {
    color: var(--theme-color, #4D40CA);
    text-decoration: none;
}
.tc-secnav__tab.is-active {
    color: var(--theme-color, #4D40CA);
    border-bottom-color: var(--theme-color, #4D40CA);
}

/* Disable main header sticky on package details — section nav replaces it */
.no-sticky-header #header-sticky.sticky {
    position: relative !important;
    animation: none !important;
}

/* Scroll margin for section anchors */
#sectionOverview,
#sectionIncluded,
#sectionItinerary,
#sectionMap,
#sectionReviews {
    scroll-margin-top: 70px;
}

@media (max-width: 767.98px) {
    .tc-secnav__tab {
        padding: 12px 14px;
        font-size: 13px;
    }
    .tc-secnav {
        margin-left: -12px;
        margin-right: -12px;
        padding: 0 12px;
    }
}

/* ===================================================================
   Highlight Badges
   =================================================================== */
.tc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.tc-badges__pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: "Nunito", sans-serif;
    white-space: nowrap;
    line-height: 1.4;
    border: 1px solid;
}
.tc-badges__pill i {
    font-size: 11px;
}

/* Badge color variants */
.tc-badges__pill--featured {
    color: #b45309;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
}
.tc-badges__pill--bestseller {
    color: #c2410c;
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.25);
}
.tc-badges__pill--toprated {
    color: #92400e;
    background: rgba(217, 119, 6, 0.1);
    border-color: rgba(217, 119, 6, 0.25);
}
.tc-badges__pill--family {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
}
.tc-badges__pill--honeymoon {
    color: #be185d;
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.25);
}
.tc-badges__pill--adventure {
    color: #047857;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
}
.tc-badges__pill--luxury {
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.25);
}
.tc-badges__pill--new {
    color: #0f766e;
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.25);
}
.tc-badges__pill--smallgroup {
    color: #4338ca;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
}
.tc-badges__pill--instant {
    color: #047857;
    background: rgba(5, 150, 105, 0.08);
    border-color: rgba(5, 150, 105, 0.2);
}
.tc-badges__pill--mobile {
    color: #475569;
    background: rgba(100, 116, 139, 0.08);
    border-color: rgba(100, 116, 139, 0.2);
}

@media (max-width: 575px) {
    .tc-badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-left: -12px;
        margin-right: -12px;
        padding: 0 12px;
    }
    .tc-badges::-webkit-scrollbar {
        display: none;
    }
    .tc-badges__pill {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* ===================================================================
   Why Book With Us — premium dark trust section
   =================================================================== */
.tc-whybook {
    position: relative;
    padding: 56px 0 64px;
    background: linear-gradient(135deg, #0f0a2a 0%, #1a1145 40%, #0d1f3c 100%);
    overflow: hidden;
}

/* Decorative gradient orbs */
.tc-whybook__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}
.tc-whybook__orb--1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    top: -80px;
    right: -60px;
}
.tc-whybook__orb--2 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #2563eb 0%, transparent 70%);
    bottom: -60px;
    left: -40px;
}

/* Head */
.tc-whybook__head {
    position: relative;
    z-index: 1;
    margin-bottom: 36px;
    text-align: center;
}
.tc-whybook__badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.tc-whybook__title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}
.tc-whybook__sub {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Grid layout */
.tc-whybook__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Card */
.tc-whybook__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.tc-whybook__card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

/* Icon */
.tc-whybook__icon-wrap {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}
.tc-whybook__icon-wrap--blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}
.tc-whybook__icon-wrap--green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}
.tc-whybook__icon-wrap--purple {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}
.tc-whybook__icon-wrap--amber {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
}
.tc-whybook__icon-wrap--teal {
    background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}
.tc-whybook__icon-wrap--rose {
    background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.3);
}

/* Card body text */
.tc-whybook__card-body {
    flex: 1;
    min-width: 0;
}
.tc-whybook__card-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 5px;
    font-family: "Nunito", sans-serif;
}
.tc-whybook__card-desc {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.55;
    margin: 0;
}

/* ── Tablet ── */
@media (max-width: 1199.98px) and (min-width: 768px) {
    .tc-whybook__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Mobile ── */
@media (max-width: 767.98px) {
    .tc-whybook {
        padding: 40px 0 44px;
    }
    .tc-whybook__orb--1 {
        width: 200px;
        height: 200px;
        top: -40px;
        right: -30px;
    }
    .tc-whybook__orb--2 {
        width: 160px;
        height: 160px;
        bottom: -30px;
        left: -20px;
    }
    .tc-whybook__head {
        margin-bottom: 24px;
    }
    .tc-whybook__badge {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 10px;
    }
    .tc-whybook__title {
        font-size: 21px;
    }
    .tc-whybook__sub {
        font-size: 13px;
    }
    .tc-whybook__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .tc-whybook__card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 18px 14px;
        border-radius: 14px;
    }
    .tc-whybook__icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 11px;
    }
    .tc-whybook__card-title {
        font-size: 13px;
        margin-bottom: 3px;
    }
    .tc-whybook__card-desc {
        font-size: 11px;
        line-height: 1.45;
    }
}

/* ── Small mobile ── */
@media (max-width: 374px) {
    .tc-whybook__grid {
        gap: 8px;
    }
    .tc-whybook__card {
        padding: 14px 10px;
    }
    .tc-whybook__card-title {
        font-size: 12px;
    }
}
