/* --- Base Variables & Dark Mode Setup --- */
.tb-dl-section {
    /* Deep navy with a subtle radial gradient for depth */
   
    color: #ffffff;
    /* Smooth transition for all properties when toggling modes */
    transition: background 0.5s ease, color 0.4s ease;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* --- The Glass/Premium Card --- */
.tb-dl-card {
    padding: 2rem 2rem; /* Generous internal padding */
    border-radius: 50px;  /* Smooth rounded corners */
    
    /* Glossy dark overlay effect (Subtle Glassmorphism) */
    background: rgba(255, 255, 255, 0.04); 
    backdrop-filter: blur(2px);
    
    /* Soft ambient shadow */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Position relative for the hover lift effect */
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Hover Effect --- */
.tb-dl-card:hover {
    transform: translateY(-6px); /* Lifts up slightly */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

/* --- Typography --- */
.tb-dl-header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tb-dl-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: color 0.4s ease;
    font-family: 'Poppins', sans-serif;
    line-height: 2.5rem;
}

/* Accent line under the title */
.tb-dl-accent-line {
    width: 80px;
    height: 3px;
    background: #ffffff;
    border-radius: 10px;
    opacity: 0.4;
    transition: all 0.4s ease;
}

.tb-dl-card:hover .tb-dl-accent-line {
    width: 120px; /* Expands on hover */
    opacity: 0.8;
}

.tb-dl-desc {
    font-size: 1.1rem;
    line-height: 1.9; /* Better readability */
    font-weight: 400;
    color: #d1dbe6; /* Soft silver text on dark bg */
    margin-top: 1rem;
}

.tb-dl-desc strong {
    font-weight: 700;
    color: #ffffff; /* Pure white for emphasis */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15); /* Subtle glow effect */
    transition: all 0.3s ease;
}

/* --- LIGHT MODE OVERRIDES --- */
body.light .tb-dl-section {
    /* Soft, clean light background gradient */
    background: radial-gradient(circle at center, #ffffff 0%, #f4f7fc 100%);
    color: #0a1e2f;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

body.light .tb-dl-card {
    /* Clean white card with dark shadow for light mode */
    background: #0a1e2f;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 30, 47, 0.05);
    box-shadow: 0 15px 40px rgba(10, 30, 47, 0.06);
}

body.light .tb-dl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(10, 30, 47, 0.12);
    border-color: rgba(10, 30, 47, 0.1);
}

body.light .tb-dl-title {
    color: #fff;
    text-shadow: none;
}

body.light .tb-dl-accent-line {
    background: #fff;
    opacity: 0.2;
}

body.light .tb-dl-card:hover .tb-dl-accent-line {
    opacity: 0.8;
}

body.light .tb-dl-desc {
    color: #fff; /* Dark grey text for readability */
}

body.light .tb-dl-desc strong {
    color: #fff; /* Bold Dark Navy */
    text-shadow: none; /* Remove glow in light mode for a crisp look */
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .tb-dl-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .tb-dl-title {
        font-size: 2.2rem;
    }
    .tb-dl-desc {
        font-size: 1rem;
        text-align: left; /* Better alignment on mobile */
        line-height: 1.8;
    }
    .tb-dl-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
}

@media only screen and (max-width: 600px) {
    .tb-dl-title {
        font-size: 1.1rem;
        letter-spacing: 0px;
        line-height: 1.1rem
    }
    .tb-dl-desc {
        font-size: 0.95rem;
    }
    .tb-dl-card {
        padding: 1.5rem 1.2rem;
    }
    .tb-dl-title br{
        display : none;
    }
}


@media only screen and (min-width: 1200px) and (max-width: 1319px) {

.tb-dl-title {
  font-size: 1.8rem;
}
.tb-dl-desc {
  font-size: 15px;
}
}

