/* Start custom CSS */.tdb-group-container {
    max-width: 1280px;
    margin: 80px auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    color: #0f172a;
    padding: 0 24px;
    line-height: 1.6;
}

/* Enhanced Header with Trust Badge */
.tdb-group-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.tdb-badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid #fcd34d;
    animation: pulse 2s infinite;
}

.trust-icon {
    font-size: 1.2em;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.tdb-group-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead-text {
    font-size: 1.25rem;
    color: #475569;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 400;
}

.lead-text strong {
    color: #0f172a;
    font-weight: 600;
}

/* Stats Bar */
.tdb-stats-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #0284c7;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Improved Grid with Better Spacing */
.tdb-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

/* Enhanced Cards with Visual Headers */
.tdb-loc-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-visual {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
}

/* Placeholder gradients for different locations */
.resort-visual { background: linear-gradient(135deg, #86efac 0%, #22c55e 100%); }
.dive-visual { background: linear-gradient(135deg, #7dd3fc 0%, #0284c7 100%); }
.beach-visual { background: linear-gradient(135deg, #fde047 0%, #eab308 100%); }
.tenggol-visual { background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%); }
.paka-visual { background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%); }
.shop-visual { background: linear-gradient(135deg, #94a3b8 0%, #475569 100%); }
.semporna-visual { background: linear-gradient(135deg, #f472b6 0%, #db2777 100%); }

.tdb-loc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    border-color: #bae6fd;
}

.tdb-loc-card > *:not(.card-visual) {
    padding: 0 28px;
}

.tdb-tag {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 0 16px 28px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tag-resort { background: #dcfce7; color: #166534; }
.tag-dive { background: #e0f2fe; color: #0369a1; }
.tag-shop { background: #fef3c7; color: #92400e; }
.tag-new { background: #fee2e2; color: #991b1b; }

.tdb-loc-card h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin: 0 0 12px 0;
    font-weight: 800;
    line-height: 1.3;
}

.tdb-loc-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.tdb-loc-card p strong {
    color: #334155;
    font-weight: 600;
}

/* Feature Tags */
.card-features {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.feature {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Special Card Variants */
.tdb-card-featured {
    border: 2px solid #0ea5e9;
    position: relative;
}

.tdb-card-featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 12px;
    right: -28px;
    background: #0ea5e9;
    color: white;
    padding: 4px 30px;
    font-size: 0.7rem;
    font-weight: 800;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tdb-card-premium {
    background: linear-gradient(to bottom, #faf5ff, #ffffff);
    border-color: #e9d5ff;
}

.tdb-card-soon {
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
    border: 2px dashed #fda4af;
    opacity: 0.95;
}

/* Improved Buttons */
.tdb-loc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    color: #0f172a;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    margin: 0 28px 28px;
    position: relative;
    overflow: hidden;
}

.tdb-loc-btn::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.tdb-loc-btn:hover {
    background-color: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateX(2px);
}

.tdb-loc-btn:hover::after {
    transform: translateX(4px);
}

.tdb-btn-primary {
    background-color: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.tdb-btn-primary:hover {
    background-color: #0369a1;
    border-color: #0369a1;
}

.tdb-btn-outline {
    background-color: #fff1f2;
    color: #be123c;
    border-color: #fda4af;
}

.tdb-btn-outline:hover {
    background-color: #be123c;
    color: #ffffff;
    border-color: #be123c;
}

/* Enhanced Loyalty Banner */
.tdb-loyalty-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.banner-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-badge {
    display: inline-block;
    background: #38bdf8;
    color: #0f172a;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tdb-loyalty-banner h2 {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tdb-loyalty-banner h2 span {
    color: #38bdf8;
    position: relative;
}

.tdb-loyalty-banner p {
    color: #94a3b8;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.tdb-cta-main {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(2,132,199,0.3);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}
.tdb-cta-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(2,132,199,0.4);
}

.tdb-cta-main:active {
    transform: translateY(0);
}

.cta-subtext {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 16px;
    font-style: italic;
}

/* SEO Footer */
.tdb-seo-footer {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    margin-top: 40px;
}

.tdb-seo-footer h4 {
    color: #0f172a;
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.tdb-seo-footer p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.tdb-seo-footer strong {
    color: #475569;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .tdb-group-container {
        margin: 40px auto;
        padding: 0 16px;
    }
    
    .tdb-stats-bar {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tdb-location-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .tdb-loc-card {
        padding-bottom: 0;
    }
    
    .tdb-loyalty-banner {
        padding: 40px 24px;
    }
    
    .tdb-seo-footer {
        padding: 24px;
    }
}

/* Accessibility: Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.tdb-loc-btn:focus-visible,
.tdb-cta-main:focus-visible {
    outline: 3px solid #38bdf8;
	outline-offset: 2px;}/* End custom CSS */