/* ==========================================================================
   Al Iman Quran Academy - Match With Scholar CTA CSS
   ========================================================================== */

.sbw-tcta-section * {
    font-family: 'Philosopher', sans-serif;
    box-sizing: border-box;
}

.sbw-tcta-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--sbw-dark, #091D17);
    color: #ffffff;
    overflow: hidden;
}

.sbw-tcta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(5, 131, 73, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.sbw-tcta-container {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.sbw-tcta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(5, 131, 73, 0.25) 100%);
    border: 2px solid var(--sbw-secondary, #FFB606);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 182, 6, 0.25);
}

.sbw-tcta-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sbw-secondary, #FFB606);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.sbw-tcta-main-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 18px 0;
}

.sbw-tcta-main-title span {
    color: var(--sbw-secondary, #FFB606);
}

.sbw-tcta-desc {
    font-size: 17.5px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    margin: 0 auto 36px auto;
    line-height: 1.65;
}

/* Action Buttons Bar */
.sbw-tcta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sbw-tcta-btn-primary,
.sbw-tcta-btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 32px;
    border-radius: 50px;
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.sbw-tcta-btn-primary {
    background-color: var(--sbw-secondary, #FFB606);
    color: #091D17;
}

.sbw-tcta-btn-primary::before,
.sbw-tcta-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 51%;
    background-color: var(--sbw-primary, #058349);
    z-index: -1;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.sbw-tcta-btn-primary::before {
    left: 0;
    transform: translateX(-100%);
}

.sbw-tcta-btn-primary::after {
    right: 0;
    transform: translateX(100%);
}

.sbw-tcta-btn-primary:hover::before,
.sbw-tcta-btn-primary:hover::after {
    transform: translateX(0);
}

.sbw-tcta-btn-primary:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 131, 73, 0.45);
}

.sbw-tcta-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid var(--sbw-secondary, #FFB606);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.sbw-tcta-btn-secondary::before,
.sbw-tcta-btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 51%;
    background-color: var(--sbw-secondary, #FFB606);
    z-index: -1;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.sbw-tcta-btn-secondary::before {
    left: 0;
    transform: translateX(-100%);
}

.sbw-tcta-btn-secondary::after {
    right: 0;
    transform: translateX(100%);
}

.sbw-tcta-btn-secondary:hover::before,
.sbw-tcta-btn-secondary:hover::after {
    transform: translateX(0);
}

.sbw-tcta-btn-secondary:hover {
    color: #091D17 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 182, 6, 0.45);
}

.sbw-btn-anim .sbw-btn-text {
    position: relative;
    z-index: 2;
}

/* Responsive Queries */
@media (max-width: 767px) {
    .sbw-tcta-card {
        padding: 40px 20px;
    }
    .sbw-tcta-main-title {
        font-size: 30px;
    }
    .sbw-tcta-btns {
        flex-direction: column;
        width: 100%;
    }
    .sbw-tcta-btn-primary,
    .sbw-tcta-btn-secondary {
        width: 100%;
    }
}
