/* Custom CSS for Legal, About, and Contact Pages */
.bbt-page-wrapper {
    background-color: var(--bbt-bg-dark, #050505);
    color: var(--bbt-text-light, #ffffff);
    min-height: 80vh;
    padding: 4rem 2rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.bbt-page-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Background Animated Glows */
.bbt-page-glow-1, .bbt-page-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.6;
    animation: bbt-float-pages 8s ease-in-out infinite alternate;
}

.bbt-page-glow-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #d32f2f, #f44336);
    top: -100px;
    left: -100px;
}

.bbt-page-glow-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #b71c1c, #ff9800);
    bottom: -50px;
    right: -50px;
    animation-delay: -4s;
}

@keyframes bbt-float-pages {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.05); }
}

/* Glassmorphism Card Wrapper */
.bbt-glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.bbt-page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.bbt-page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Legal Pages Specific */
.bbt-legal-meta {
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bbt-legal-meta span {
    background: rgba(255,255,255,0.05);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.bbt-clause {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255,255,255,0.015);
    border-left: 3px solid var(--bbt-primary, #d32f2f);
    border-radius: 0 12px 12px 0;
    transition: background 0.3s ease;
}

.bbt-clause:hover {
    background: rgba(255,255,255,0.03);
}

.bbt-clause h2 {
    font-size: 1.4rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bbt-clause h2 span {
    color: var(--bbt-primary, #d32f2f);
    font-size: 1.2rem;
}

.bbt-clause p {
    font-size: 1.05rem;
    color: #a0a0a0;
    line-height: 1.8;
    margin: 0;
}

/* About Us Layout */
.bbt-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.bbt-about-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: left;
}

.bbt-about-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.bbt-about-card p {
    color: #aaa;
    line-height: 1.7;
    font-size: 1.05rem;
}

.bbt-about-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bbt-about-card li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #bbb;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bbt-about-card li:last-child {
    border-bottom: none;
}

/* Contact Form Grid */
.bbt-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.bbt-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bbt-contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.bbt-contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(211, 47, 47, 0.3);
}

.bbt-contact-icon {
    width: 48px;
    height: 48px;
    color: var(--bbt-primary, #d32f2f);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.bbt-contact-item h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
}

.bbt-contact-item p {
    margin: 0;
    color: #999;
    font-size: 0.95rem;
}

.bbt-form-wrapper {
    background: rgba(0,0,0,0.2);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.bbt-form-group {
    margin-bottom: 1.5rem;
}

.bbt-form-label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bbt-form-control {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 14px 18px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.bbt-form-control:focus {
    outline: none;
    border-color: var(--bbt-primary, #d32f2f);
    background: rgba(255,255,255,0.05);
}

textarea.bbt-form-control {
    min-height: 150px;
    resize: vertical;
}

.bbt-btn-submit {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.bbt-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

@media (max-width: 768px) {
    .bbt-about-grid, .bbt-contact-grid {
        grid-template-columns: 1fr;
    }
    .bbt-glass-card {
        padding: 2rem;
    }
    .bbt-page-title {
        font-size: 2.2rem;
    }
    .bbt-clause {
        padding: 1.5rem;
    }
}
