/**
 * GetBiz.Credit Custom Styles
 * Brand overrides and site-specific components
 * 
 * @version 1.1.0 - Phase 1.5 Visual Pass
 */

/* ==========================================================================
   Brand Colors (BAE Standard Compliant)
   Ref: BAE_UI_STANDARD_GBC.md Section 2.2
   ========================================================================== */
:root {
    /* Primary: Indigo (brand) */
    --gbc-primary: #303E8B;
    --gbc-primary-dark: #252f6b;
    /* Secondary: Teal */
    --gbc-secondary: #156888;
    /* Accent: Green (success/verified) - mapped to theme base */
    --gbc-accent: #2CC207;
    --gbc-accent-dark: #239c06;
    /* Neutrals */
    --gbc-dark: #1a202c;
    --gbc-light: #f7fafc;
    --gbc-text: #4a5568;
    --gbc-heading: #2d3748;
    /* Semantic: Orange for upgrade locks only */
    --gbc-upgrade: #FF8A00;
    
    /* Override Pylon theme colors to use GBC brand */
    --thm-base: #2CC207; /* Green accent for buttons/highlights */
    --thm-base-rgb: 44, 194, 7;
    --thm-primary: #303E8B; /* Indigo for primary elements */
    --thm-primary-rgb: 48, 62, 139;
    
    /* Consistent spacing */
    --section-padding: 100px;
    --section-padding-sm: 60px;
    --container-max: 1200px;
    --card-radius: 12px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   PHASE 1.5 - CTA/Footer Overlap Fix (CRITICAL)
   ========================================================================== */
   
/* Remove the negative margin that causes overlap */
.cta-one {
    margin-bottom: 0 !important;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* Ensure CTA section has proper background */
.cta-one__content {
    background: linear-gradient(135deg, var(--gbc-secondary) 0%, var(--gbc-dark) 100%);
    border-radius: var(--card-radius);
    padding: 60px 40px;
    text-align: center;
}

.cta-one__content .block-title__tagline,
.cta-one__content .block-title p {
    color: var(--gbc-primary);
}

.cta-one__content .block-title__title,
.cta-one__content .block-title h2 {
    color: #fff;
}

.cta-one__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-one__btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer proper separation */
.site-footer {
    position: relative;
    z-index: 0;
    margin-top: 0;
}

/* Ensure no z-index fighting */
.page-wrapper {
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   PHASE 1.5 - Visual Consistency System
   ========================================================================== */

/* Standard section spacing */
.gbc-section {
    padding: var(--section-padding) 0;
}

.gbc-section--sm {
    padding: var(--section-padding-sm) 0;
}

.gbc-section--alt {
    background-color: var(--gbc-light);
}

.gbc-section--dark {
    background-color: var(--gbc-secondary);
    color: #fff;
}

.gbc-section--dark h1,
.gbc-section--dark h2,
.gbc-section--dark h3,
.gbc-section--dark h4,
.gbc-section--dark p {
    color: #fff;
}

.gbc-section--dark .block-title p {
    color: var(--gbc-primary);
}

/* Section transitions - clean borders */
.gbc-section-border-top {
    border-top: 1px solid #e2e8f0;
}

.gbc-section-border-bottom {
    border-bottom: 1px solid #e2e8f0;
}

/* ==========================================================================
   Typography Enhancements
   ========================================================================== */
.block-title__tagline {
    color: var(--gbc-primary);
}

/* ==========================================================================
   Button Variants
   ========================================================================== */
.thm-btn.thm-btn--dark {
    background-color: var(--gbc-secondary);
}

.thm-btn.thm-btn--dark:hover {
    background-color: var(--gbc-dark);
}

.thm-btn.thm-btn--outline {
    background-color: transparent;
    border: 2px solid var(--gbc-primary);
    color: var(--gbc-primary);
}

.thm-btn.thm-btn--outline:hover {
    background-color: var(--gbc-primary);
    color: #fff;
}

/* ==========================================================================
   Pricing Cards
   ========================================================================== */
.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card--featured {
    border: 3px solid var(--gbc-primary);
}

.pricing-card--featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gbc-primary);
    color: #fff;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.pricing-card__name {
    font-size: 24px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 10px;
}

.pricing-card__price {
    font-size: 48px;
    font-weight: 800;
    color: var(--gbc-primary);
    line-height: 1;
}

.pricing-card__price span {
    font-size: 20px;
    font-weight: 400;
    color: var(--gbc-text);
}

.pricing-card__period {
    font-size: 14px;
    color: var(--gbc-text);
    margin-bottom: 25px;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.pricing-card__features li {
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    position: relative;
    padding-left: 30px;
}

.pricing-card__features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gbc-accent);
}

/* ==========================================================================
   Phase Cards (How It Works)
   ========================================================================== */
.phase-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
}

.phase-card:hover {
    border-left-color: var(--gbc-primary);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.phase-card__number {
    width: 60px;
    height: 60px;
    background: var(--gbc-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.phase-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gbc-secondary) 0%, var(--gbc-dark) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.phase-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 15px;
}

.phase-card__desc {
    color: var(--gbc-text);
    margin-bottom: 0;
    flex-grow: 1;
    line-height: 1.6;
}

/* CTA variant phase cards */
.phase-card--cta {
    border-left-color: var(--gbc-secondary);
    text-align: center;
}

.phase-card--cta .phase-card__icon {
    margin-left: auto;
    margin-right: auto;
}

.phase-card--cta .phase-card__desc {
    margin-bottom: 20px;
}

.phase-card--cta .thm-btn {
    margin-top: auto;
}

.phase-card--featured {
    border-left-color: var(--gbc-primary);
    background: linear-gradient(180deg, #fff 0%, #fff7f5 100%);
}

.phase-card--featured .phase-card__icon {
    background: linear-gradient(135deg, var(--gbc-primary) 0%, var(--gbc-primary-dark) 100%);
}

/* Small button variant */
.thm-btn--sm {
    padding: 12px 25px;
    font-size: 14px;
}

/* Phases grid proper spacing */
.gbc-phases-grid {
    margin-top: 40px;
}

.gbc-phases-grid > [class*="col-"] {
    margin-bottom: 0;
}

/* ==========================================================================
   FAQ Accordion Enhancements
   ========================================================================== */
.faq-one__single {
    margin-bottom: 15px;
}

.faq-one__btn {
    font-weight: 600;
}

/* Fix accordion contrast and styling */
.accrodion-grp .accrodion {
    background: #fff;
    border-radius: var(--card-radius);
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.accrodion-grp .accrodion-title {
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
}

.accrodion-grp .accrodion-title h4 {
    color: var(--gbc-heading);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding-right: 30px;
}

.accrodion-grp .accrodion-title::after {
    content: '\f067';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gbc-primary);
    transition: transform 0.3s ease;
}

.accrodion-grp .accrodion.active .accrodion-title::after {
    content: '\f068';
}

.accrodion-grp .accrodion-content {
    padding: 0 25px 20px;
}

.accrodion-grp .accrodion-content .inner p {
    color: var(--gbc-text);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   PHASE 1.5 - How It Works Phase Images Fix
   ========================================================================== */

/* Fix blurry hero images used in phase sections */
.phase-image-wrapper {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: var(--gbc-light);
}

.phase-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Remove any blur filter that might be applied */
    -webkit-filter: none !important;
    filter: none !important;
}

/* For hero images used in phase sections, constrain max height */
.phase-image-wrapper img[src*="heroes/"] {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    max-height: 400px;
}

/* Phase section layout consistency */
.phase-section {
    padding: 80px 0;
}

.phase-section .phase-content {
    padding-right: 30px;
}

.phase-section .col-lg-6:last-child .phase-content,
.phase-section .flex-row-reverse .phase-content {
    padding-right: 0;
    padding-left: 30px;
}

@media (max-width: 991px) {
    .phase-section .phase-content {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 40px;
    }
    
    .phase-image-wrapper img[src*="heroes/"] {
        max-height: 300px;
    }
}

/* ==========================================================================
   Contact Form Enhancements
   ========================================================================== */
.contact-form .form-control {
    height: 55px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--gbc-primary);
    box-shadow: 0 0 0 3px rgba(48, 62, 139, 0.1);
}

.contact-form textarea.form-control {
    height: 150px;
    resize: none;
}

/* Honeypot field (hidden from real users) */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   Feature Boxes
   ========================================================================== */
.feature-box {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-box__icon {
    width: 80px;
    height: 80px;
    background: rgba(48, 62, 139, 0.1);
    color: var(--gbc-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
}

.feature-box__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 15px;
}

.feature-box__text {
    color: var(--gbc-text);
    margin-bottom: 0;
}

/* ==========================================================================
   Testimonial Cards
   ========================================================================== */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    font-size: 40px;
    color: rgba(48, 62, 139, 0.15);
    position: absolute;
    top: 20px;
    right: 20px;
}

/* ==========================================================================
   Stat Counters
   ========================================================================== */
.stat-counter {
    text-align: center;
    padding: 30px;
}

.stat-counter__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--gbc-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-counter__text {
    font-size: 16px;
    color: var(--gbc-text);
}

/* ==========================================================================
   Blog Cards
   ========================================================================== */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card__content {
    padding: 25px;
}

.blog-card__meta {
    font-size: 13px;
    color: var(--gbc-text);
    margin-bottom: 10px;
}

.blog-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-card__title a {
    color: var(--gbc-heading);
    transition: color 0.3s ease;
}

.blog-card__title a:hover {
    color: var(--gbc-primary);
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gbc-heading);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    color: var(--gbc-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
    color: var(--gbc-text);
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* ==========================================================================
   Bottom Footer Enhancement
   ========================================================================== */
.bottom-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-footer__links {
    display: flex;
    gap: 20px;
}

.bottom-footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.bottom-footer__links a:hover {
    color: #fff;
}

/* ==========================================================================
   Guarantee Badge
   ========================================================================== */
.guarantee-badge {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.guarantee-badge__icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.guarantee-badge__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.guarantee-badge__text {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 991px) {
    .bottom-footer__inner {
        justify-content: center;
        text-align: center;
    }
    
    .pricing-card__price {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .bottom-footer__links {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-counter__number {
        font-size: 36px;
    }
}

/* ==========================================================================
   BAE Visual Refresh - Image Components
   ========================================================================== */

/* Reusable Media Block Pattern */
.gbc-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--gbc-light);
}

.gbc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gbc-media:hover img {
    transform: scale(1.03);
}

.gbc-media--rounded {
    border-radius: 16px;
}

.gbc-media--shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.gbc-media--aspect-hero {
    aspect-ratio: 1920 / 900;
}

.gbc-media--aspect-card {
    aspect-ratio: 570 / 500;
}

.gbc-media--aspect-blog {
    aspect-ratio: 370 / 250;
}

.gbc-media--aspect-square {
    aspect-ratio: 1 / 1;
}

.gbc-media--aspect-portrait {
    aspect-ratio: 570 / 600;
}

/* Hero Section with Background Image */
.gbc-hero-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gbc-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(26, 32, 44, 0.75) 100%);
    z-index: 1;
}

.gbc-hero-bg > * {
    position: relative;
    z-index: 2;
}

/* Section with Background Image */
.gbc-section-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gbc-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(247, 250, 252, 0.95) 0%, rgba(247, 250, 252, 0.9) 100%);
    z-index: 1;
}

.gbc-section-bg > * {
    position: relative;
    z-index: 2;
}

.gbc-section-bg--dark::before {
    background: linear-gradient(180deg, rgba(26, 54, 93, 0.92) 0%, rgba(26, 32, 44, 0.88) 100%);
}

.gbc-section-bg--dark {
    color: #fff;
}

.gbc-section-bg--dark .block-title h2,
.gbc-section-bg--dark .block-title p,
.gbc-section-bg--dark h2,
.gbc-section-bg--dark h3,
.gbc-section-bg--dark p {
    color: #fff;
}

.gbc-section-bg--dark .block-title p {
    color: var(--gbc-primary);
}

/* Phase Section Images */
.phase-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.phase-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Split Content Layout */
.gbc-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.gbc-split--reverse {
    flex-direction: row-reverse;
}

.gbc-split__content {
    flex: 1;
}

.gbc-split__media {
    flex: 1;
    max-width: 500px;
}

@media (max-width: 991px) {
    .gbc-split {
        flex-direction: column;
        gap: 40px;
    }
    
    .gbc-split--reverse {
        flex-direction: column;
    }
    
    .gbc-split__media {
        max-width: 100%;
        order: -1;
    }
}

/* Feature/Trust Section Visual */
.gbc-visual-accent {
    position: relative;
}

.gbc-visual-accent::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--gbc-primary);
    opacity: 0.1;
    border-radius: 50%;
    bottom: -30px;
    right: -30px;
    z-index: -1;
}

/* Consistent Section Spacing */
.gbc-section {
    padding: 100px 0;
}

.gbc-section--sm {
    padding: 60px 0;
}

.gbc-section--lg {
    padding: 120px 0;
}

.gbc-section--alt {
    background-color: var(--gbc-light);
}

/* Card Image Treatment */
.gbc-card-image {
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.gbc-card-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* Page Header Enhancement */
.page-header--enhanced {
    min-height: 300px;
    display: flex;
    align-items: center;
}

.page-header--enhanced .page-header__bg {
    background-size: cover;
    background-position: center;
}

/* CTA Section with Image */
.gbc-cta-image {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--gbc-secondary);
    border-radius: 16px;
    padding: 60px;
    color: #fff;
}

.gbc-cta-image__content {
    flex: 1;
}

.gbc-cta-image__media {
    flex: 0 0 300px;
}

.gbc-cta-image__media img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
    .gbc-cta-image {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }
    
    .gbc-cta-image__media {
        flex: none;
        max-width: 280px;
    }
}

/* Contact Section Enhancement */
.contact-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: var(--card-radius);
    overflow: hidden;
}

.contact-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .contact-image-wrapper {
        min-height: 300px;
        margin-bottom: 40px;
    }
}

/* ==========================================================================
   PHASE 1.5 - Quick Links Cards (Contact Page)
   ========================================================================== */
.gbc-quick-links-grid {
    margin-top: 30px;
}

.gbc-quick-link-card {
    display: block;
    background: #fff;
    border-radius: var(--card-radius);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-decoration: none;
    height: calc(100% - 20px);
}

.gbc-quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    text-decoration: none;
}

.gbc-quick-link-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(48, 62, 139, 0.1);
    color: var(--gbc-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.gbc-quick-link-card:hover .gbc-quick-link-card__icon {
    background: var(--gbc-primary);
    color: #fff;
}

.gbc-quick-link-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 8px;
}

.gbc-quick-link-card__text {
    color: var(--gbc-text);
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.5;
}

.gbc-quick-link-card--cta {
    background: var(--gbc-secondary);
}

.gbc-quick-link-card--cta .gbc-quick-link-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.gbc-quick-link-card--cta:hover .gbc-quick-link-card__icon {
    background: var(--gbc-primary);
}

.gbc-quick-link-card--cta .gbc-quick-link-card__title,
.gbc-quick-link-card--cta .gbc-quick-link-card__text {
    color: #fff;
}

.gbc-quick-link-card--cta .gbc-quick-link-card__text {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   PHASE 2.0 - Homepage BAE Polish Fixes
   ========================================================================== */

/* Fix horizontal overflow on all pages - use careful approach */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
}

.page-wrapper {
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   Calculator Card Overlap Effect (Homepage) - Demo-Grade Layout
   The card "floats" above the section boundary like the demo loan calculator
   Uses stable positioning approach (no fragile negative margin hacks)
   ========================================================================== */

/* The about-one section container for layered layout */
.about-one {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Calculator card wrapper - positioned to create layered overlap effect */
.gbc-calc-card-wrapper {
    position: relative;
    z-index: 10;
    max-width: 420px;
    margin: 0 auto;
}

/* On desktop, pull the card up to create overlap with hero feature boxes */
@media (min-width: 1200px) {
    .gbc-calc-card-wrapper {
        margin-top: -80px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .gbc-calc-card-wrapper {
        margin-top: -40px;
    }
}

/* On tablet/mobile, stack normally without overlap */
@media (max-width: 991px) {
    .about-one {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .gbc-calc-card-wrapper {
        margin-top: 40px;
        max-width: 100%;
    }
}

/* The next section (7 phases) should NOT need extra padding since overlap goes UP */
.about-one + .service-one {
    padding-top: 80px;
}

/* ==========================================================================
   "Why Entrepreneurs Choose Us" Section Fix
   ========================================================================== */
.feature-one.gbc-section.gbc-section-bg {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
}

/* Dark overlay for text readability */
.feature-one.gbc-section.gbc-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.9) 0%, rgba(48, 62, 139, 0.85) 100%);
    z-index: 0;
}

.feature-one.gbc-section.gbc-section-bg .container {
    position: relative;
    z-index: 2;
}

/* Ensure text is visible on dark overlay */
.feature-one.gbc-section.gbc-section-bg .block-title p {
    color: var(--gbc-accent);
}

.feature-one.gbc-section.gbc-section-bg .block-title h2,
.feature-one.gbc-section.gbc-section-bg .block-text,
.feature-one.gbc-section.gbc-section-bg p {
    color: #fff;
}

/* Feature boxes styling for this section - White cards with dark text */
.feature-one.gbc-section.gbc-section-bg .feature-one__box {
    background: #fff;
    border: none;
    border-radius: var(--card-radius);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-one.gbc-section.gbc-section-bg .feature-one__box:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-one.gbc-section.gbc-section-bg .feature-one__box i {
    font-size: 48px;
    color: var(--gbc-accent);
    margin-bottom: 15px;
    display: block;
}

.feature-one.gbc-section.gbc-section-bg .feature-one__box p {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

/* Feature box row spacing */
.feature-one.gbc-section.gbc-section-bg .row:last-child {
    margin-top: 40px;
}

.feature-one.gbc-section.gbc-section-bg .row:last-child [class*="col-"] {
    margin-bottom: 20px;
}

/* ==========================================================================
   7 Phases Section - Grid Fix
   ========================================================================== */
.gbc-phases-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 40px -15px 0;
}

.gbc-phases-grid > [class*="col-"] {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* Fix phase card number using semantic tokens */
.phase-card__number {
    background: var(--gbc-primary, #303E8B);
}

/* ==========================================================================
   Complete System Section - Numbered Circles Fix
   Change bright green to BAE blue token (--gbc-primary)
   ========================================================================== */
.trusted-company__box > span {
    background-color: var(--gbc-primary, #303E8B);
}

.trusted-company__box:hover {
    background-color: var(--gbc-primary, #303E8B);
}

.trusted-company__box:hover > span {
    background-color: #fff;
    color: var(--gbc-primary, #303E8B);
}

/* Fix the blue background behind the numbered boxes */
.trusted-company__box-wrap:before {
    background-color: var(--gbc-primary, #303E8B);
}

/* Trusted company list check icons */
.trusted-company__list-item i {
    color: var(--gbc-accent, #2CC207);
}

/* ==========================================================================
   FAQ Section Fixes
   ========================================================================== */

/* FAQ header contrast fix */
.faq-one .block-title h2 {
    color: var(--gbc-heading, #2d3748);
}

.faq-one .block-title p {
    color: var(--gbc-primary, #303E8B);
}

/* FAQ accordion icon fix - ensure icons render */
.accrodion-grp .accrodion-title::after {
    content: '\f067';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    color: var(--gbc-primary, #303E8B);
}

.accrodion-grp .accrodion.active .accrodion-title::after {
    content: '\f068';
}

/* FAQ card styling */
.faq-one .accrodion {
    background: #fff;
    border-radius: var(--card-radius, 12px);
    margin-bottom: 15px;
    box-shadow: var(--card-shadow, 0 4px 20px rgba(0, 0, 0, 0.08));
    border: none;
}

.faq-one .accrodion-title h4 {
    color: var(--gbc-heading, #2d3748);
    font-size: 18px;
    font-weight: 600;
}

/* ==========================================================================
   Complete System Section - Image Fixes
   ========================================================================== */

/* Image resilience - prevent layout collapse */
.trusted-company__image img,
.gbc-media img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Graceful fallback for missing images */
.trusted-company__image img,
.gbc-media img {
    background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
    min-height: 100px;
}

/* Prevent CLS with aspect ratio */
.gbc-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius, 12px);
}

.gbc-media img {
    aspect-ratio: 740 / 500;
    object-fit: cover;
    width: 100%;
}

/* ==========================================================================
   Feature Box Icon Fixes + Global Font Awesome Enforcement
   ========================================================================== */

/* Global Font Awesome classes - ensure proper font-family is used */
.fa, .fas, .far, .fal, .fab {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fas {
    font-family: 'Font Awesome 5 Pro' !important;
    font-weight: 900 !important;
}

.far {
    font-family: 'Font Awesome 5 Pro' !important;
    font-weight: 400 !important;
}

.fal {
    font-family: 'Font Awesome 5 Pro' !important;
    font-weight: 300 !important;
}

.fab {
    font-family: 'Font Awesome 5 Brands' !important;
    font-weight: 400 !important;
}

/* Ensure feature icons use correct FontAwesome */
.feature-four__box-icon i,
.feature-one__box i,
.feature-two__box i {
    font-family: 'Font Awesome 5 Pro', 'pylon-icons' !important;
}

/* Fix feature box icons that show boxes */
.feature-four__box-icon i.flaticon::before,
.feature-one__box i.flaticon::before {
    font-family: 'flaticon' !important;
}

/* ==========================================================================
   Guarantee Badge Styling
   ========================================================================== */
.guarantee-badge {
    background: #fff;
    border-radius: var(--card-radius, 12px);
    padding: 40px;
    text-align: center;
    box-shadow: var(--card-shadow-hover, 0 12px 40px rgba(0, 0, 0, 0.12));
    border: 3px solid var(--gbc-accent, #2CC207);
}

.guarantee-badge__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gbc-accent, #2CC207) 0%, var(--gbc-accent-dark, #239c06) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 36px;
}

.guarantee-badge__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gbc-heading, #2d3748);
    margin-bottom: 12px;
}

.guarantee-badge__text {
    color: var(--gbc-text, #4a5568);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Trust Section Background Fix
   ========================================================================== */
.trusted-company {
    position: relative;
    overflow: hidden;
}

.trusted-company__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.trusted-company .container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Section Background with Image
   ========================================================================== */
.gbc-section-bg {
    position: relative;
    background-size: cover;
    background-position: center;
}

.gbc-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 54, 93, 0.9);
    z-index: 0;
}

.gbc-section-bg .container {
    position: relative;
    z-index: 1;
}

.gbc-section-bg,
.gbc-section-bg h1,
.gbc-section-bg h2,
.gbc-section-bg h3,
.gbc-section-bg p {
    color: #fff;
}

.gbc-section-bg .block-title p {
    color: var(--gbc-accent);
}

/* ==========================================================================
   Reduced Motion Support
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .wow {
        animation: none !important;
        visibility: visible !important;
    }
    
    .phase-card,
    .feature-one__box,
    .feature-two__box,
    .pricing-card,
    .thm-btn {
        transition: none !important;
    }
}

/* ==========================================================================
   PRICING PAGE - BAE Spec v2026.01.05
   ========================================================================== */

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.billing-toggle__label {
    font-size: 16px;
    font-weight: 600;
    color: var(--gbc-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.billing-toggle__label.is-active {
    color: var(--gbc-primary);
}

.billing-toggle__switch {
    position: relative;
    width: 56px;
    height: 30px;
    background: #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.billing-toggle__switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.billing-toggle__switch.is-annual {
    background: var(--gbc-primary);
}

.billing-toggle__switch.is-annual::after {
    transform: translateX(26px);
}

/* Savings Badge */
.savings-badge {
    display: inline-block;
    background: var(--gbc-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.savings-badge--pricing {
    display: none;
    margin-top: 8px;
    font-size: 14px;
    padding: 6px 14px;
}

.savings-badge--pricing.is-visible {
    display: inline-block;
}

/* Partner Benefits Callout (Option A) */
.partner-callout {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #e2e8f0;
    border-radius: var(--card-radius);
    padding: 24px 28px;
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.partner-callout__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 8px;
}

.partner-callout__body {
    font-size: 15px;
    color: var(--gbc-text);
    margin-bottom: 14px;
}

.partner-callout__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.partner-callout__list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--gbc-text);
    margin-bottom: 6px;
}

.partner-callout__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gbc-accent);
    font-weight: 700;
}

.partner-callout__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.partner-callout__btn {
    display: inline-block;
    background: var(--gbc-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.partner-callout__btn:hover {
    background: var(--gbc-primary-dark);
    color: #fff;
}

.partner-callout__link {
    font-size: 14px;
    color: var(--gbc-primary);
    text-decoration: underline;
}

.partner-callout__link:hover {
    color: var(--gbc-primary-dark);
}

.partner-callout__note {
    font-size: 13px;
    color: #718096;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Pricing Tier Cards - BAE Update */
.pricing-tier-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .pricing-tier-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

.pricing-tier-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 32px 28px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

.pricing-tier-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.pricing-tier-card--featured {
    border: 2px solid var(--gbc-primary);
}

.pricing-tier-card--featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gbc-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-tier-card--vip {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: #fff;
}

.pricing-tier-card--vip .pricing-tier-card__name,
.pricing-tier-card--vip .pricing-tier-card__features li {
    color: rgba(255,255,255,0.95);
}

.pricing-tier-card--vip .pricing-tier-card__price {
    color: #ff5a1f;
}

.pricing-tier-card--vip .pricing-tier-card__period {
    color: rgba(255,255,255,0.7);
}

.pricing-tier-card__name {
    font-size: 22px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 8px;
}

.pricing-tier-card__price {
    font-size: 48px;
    font-weight: 800;
    color: var(--gbc-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-tier-card__price sup {
    font-size: 24px;
    font-weight: 600;
    vertical-align: super;
}

.pricing-tier-card__period {
    font-size: 14px;
    color: var(--gbc-text);
    margin-bottom: 20px;
}

.pricing-tier-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.pricing-tier-card__features li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 14px;
    color: var(--gbc-text);
    border-bottom: 1px solid #f0f0f0;
}

.pricing-tier-card--vip .pricing-tier-card__features li {
    border-bottom-color: rgba(255,255,255,0.15);
}

.pricing-tier-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gbc-accent);
    font-weight: 700;
}

.pricing-tier-card__cta {
    width: 100%;
}

.pricing-tier-card__microcopy {
    font-size: 13px;
    color: #718096;
    margin-top: 10px;
    margin-bottom: 0;
}

.pricing-tier-card--vip .pricing-tier-card__microcopy {
    color: rgba(255,255,255,0.6);
}

/* Advanced Options Band */
.advanced-options-band {
    background: var(--gbc-light);
    border-radius: var(--card-radius);
    padding: 40px;
    margin-bottom: 40px;
}

.advanced-options-band__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gbc-heading);
    text-align: center;
    margin-bottom: 30px;
}

.advanced-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .advanced-options-grid {
        grid-template-columns: 1fr;
    }
}

.advanced-option-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.advanced-option-card__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 8px;
}

.advanced-option-card__desc {
    font-size: 14px;
    color: var(--gbc-text);
    margin-bottom: 16px;
}

.advanced-option-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.advanced-option-card__features li {
    font-size: 13px;
    color: var(--gbc-text);
    padding: 4px 0;
}

.advanced-option-card__badge {
    display: inline-block;
    background: #edf2f7;
    color: #718096;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* BPAP Band */
.bpap-band {
    background: linear-gradient(135deg, var(--gbc-secondary) 0%, var(--gbc-dark) 100%);
    border-radius: var(--card-radius);
    padding: 48px 40px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.bpap-band__icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.bpap-band__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bpap-band__desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 24px;
}

.bpap-band__cta {
    background: #ff5a1f;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease;
}

.bpap-band__cta:hover {
    background: #e04e17;
    color: #fff;
}

/* Partner Benefits Page */
.partner-benefits-section {
    max-width: 600px;
    margin: 0 auto;
}

.partner-code-form {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 32px;
    margin-bottom: 32px;
}

.partner-code-form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gbc-heading);
    margin-bottom: 8px;
}

.partner-code-form__input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: border-color 0.2s ease;
}

.partner-code-form__input:focus {
    outline: none;
    border-color: var(--gbc-primary);
}

.partner-code-form__helper {
    font-size: 13px;
    color: #718096;
    margin-bottom: 16px;
}

.partner-code-form__btn {
    width: 100%;
}

.partner-code-success {
    display: none;
    background: #f0fff4;
    border: 2px solid var(--gbc-accent);
    border-radius: var(--card-radius);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.partner-code-success.is-visible {
    display: block;
}

.partner-code-success__icon {
    width: 56px;
    height: 56px;
    background: var(--gbc-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 24px;
}

.partner-code-success__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 8px;
}

.partner-code-success__text {
    font-size: 14px;
    color: var(--gbc-text);
    margin-bottom: 20px;
}

.partner-code-success__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.partner-request-section {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 32px;
    text-align: center;
}

.partner-request-section__text {
    font-size: 15px;
    color: var(--gbc-text);
    margin-bottom: 16px;
}

/* Partner Code Helper (Inline under toggle) */
.partner-code-helper {
    text-align: center;
    font-size: 14px;
    color: #718096;
    margin-bottom: 32px;
}

.partner-code-helper i {
    margin-right: 4px;
    color: var(--gbc-primary);
}

.partner-code-helper a {
    color: var(--gbc-primary);
    text-decoration: underline;
    font-weight: 500;
}

.partner-code-helper a:hover {
    color: var(--gbc-primary-dark);
}

/* Partner Code Error Banner */
.partner-code-error {
    display: none;
    background: #fff5f5;
    border: 2px solid #fc8181;
    border-radius: var(--card-radius);
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.partner-code-error.is-visible {
    display: block;
}

.partner-code-error__icon {
    width: 48px;
    height: 48px;
    background: #fc8181;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #fff;
    font-size: 20px;
}

.partner-code-error__title {
    font-size: 16px;
    font-weight: 700;
    color: #c53030;
    margin-bottom: 6px;
}

.partner-code-error__text {
    font-size: 14px;
    color: var(--gbc-text);
    margin-bottom: 0;
}

/* Special Programs Section */
.special-programs-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

.special-programs-section__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gbc-heading);
    text-align: center;
    margin-bottom: 30px;
}

.special-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .special-programs-grid {
        grid-template-columns: 1fr;
    }
}

.special-program-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 32px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.special-program-card--bpap {
    background: linear-gradient(135deg, var(--gbc-secondary) 0%, var(--gbc-dark) 100%);
    color: #fff;
}

.special-program-card--bpap .special-program-card__name,
.special-program-card--bpap .special-program-card__desc {
    color: #fff;
}

.special-program-card--bpap .special-program-card__desc {
    color: rgba(255,255,255,0.85);
}

.special-program-card--bpap .special-program-card__note {
    color: rgba(255,255,255,0.6);
}

.special-program-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--gbc-primary);
}

.special-program-card--bpap .special-program-card__icon {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.special-program-card__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 12px;
}

.special-program-card__desc {
    font-size: 14px;
    color: var(--gbc-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.special-program-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.special-program-card__list li {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    color: var(--gbc-text);
    margin-bottom: 6px;
}

.special-program-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gbc-accent);
    font-weight: 700;
}

.special-program-card__cta {
    width: 100%;
    margin-bottom: 8px;
}

.special-program-card__note {
    font-size: 13px;
    color: #718096;
    margin: 0;
}

.special-program-card__note a {
    color: var(--gbc-primary);
    text-decoration: underline;
}

.special-program-card__note a:hover {
    color: var(--gbc-primary-dark);
}

/* ==========================================================================
   HOMEPAGE POLISH PASS - v2026.01.05
   BAE UI Polish: Hero overlay, 3-box layout, calculator spacing, programs band
   ========================================================================== */

/* A1. Full-Hero Overlay - Covers entire hero section for text legibility */
.main-slider {
    position: relative;
}

.main-slider .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
    pointer-events: none;
}

.main-slider .swiper-slide .container {
    position: relative;
    z-index: 2;
}

/* Hero text content - no background (overlay is on full slide), keep layout */
.hero-text-content {
    background: transparent;
    padding: 0;
}

/* Subtle text shadow for extra legibility on hero headings */
.main-slider h2,
.main-slider .main-slider__text {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* A2. Hero Value Boxes - Support 3-column layout */
.feature-two .col-lg-10 .row {
    display: flex;
    flex-wrap: wrap;
}

.feature-two__box-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 10px;
}

@media (max-width: 991px) {
    .feature-two__box-col {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 15px;
    }
}

@media (max-width: 575px) {
    .feature-two__box-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* A3. Calculator Spacing Fix - Remove bleed effect, sit in section naturally */
@media (min-width: 1200px) {
    .gbc-calc-card-wrapper {
        margin-top: 0;
        padding-top: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .gbc-calc-card-wrapper {
        margin-top: 0;
        padding-top: 15px;
    }
}

/* A4. 6-Tile Phases Grid - Shorter, scannable layout */
.gbc-phases-grid--compact {
    margin-top: 40px;
}

.gbc-phases-grid--compact > [class*="col-"] {
    margin-bottom: 30px;
}

/* Combined phase tile (Phase 6-7) */
.phase-card--combined {
    background: linear-gradient(135deg, var(--gbc-secondary) 0%, var(--gbc-dark) 100%);
    color: #fff;
}

.phase-card--combined .phase-card__number {
    background: rgba(255, 255, 255, 0.2);
    font-size: 16px;
}

.phase-card--combined .phase-card__title,
.phase-card--combined .phase-card__desc {
    color: #fff;
}

.phase-card--combined .phase-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

.phase-card--combined:hover {
    border-left-color: var(--gbc-accent);
}

/* CTA row below phases grid */
.gbc-phases-cta-row {
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* A5. Programs Band Styles */
.gbc-programs-band {
    padding: 80px 0;
    background: var(--gbc-light);
}

.gbc-programs-band .block-title {
    margin-bottom: 40px;
}

.program-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.program-card__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gbc-secondary) 0%, var(--gbc-dark) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.program-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gbc-heading);
    margin-bottom: 15px;
}

.program-card p {
    color: var(--gbc-text);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.program-card .thm-btn {
    margin-top: auto;
}

.program-card--featured {
    border: 2px solid var(--gbc-primary);
}

.program-card--featured .program-card__icon {
    background: linear-gradient(135deg, var(--gbc-primary) 0%, var(--gbc-primary-dark) 100%);
}

/* Programs band responsive */
@media (max-width: 767px) {
    .gbc-programs-band {
        padding: 60px 0;
    }
    
    .program-card {
        padding: 30px 25px;
        margin-bottom: 20px;
    }
}

/* A6. Feature Tiles Legibility - Dark text on white cards (Phase 2.1 fix) */
.feature-one.gbc-section.gbc-section-bg .feature-one__box p {
    color: #1f2937 !important;
}
