/* ========================================
   FBR PAGE SPECIFIC STYLES - SCOPED TO .fbr-page
   All styles are scoped to prevent conflicts with other pages
   ======================================== */

/* Hero Section */
.fbr-page .fbr-hero-section {
    padding-top: clamp(5rem, 10vh, 7rem);
    padding-bottom: clamp(3rem, 6vh, 4rem);
    padding-left: 0;
    padding-right: 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
    overflow: visible !important;
}

.fbr-page .fbr-hero-section .container-fluid {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    z-index: 10 !important;
}

.fbr-page .fbr-hero-section .row {
    gap: 4rem;
}

.fbr-page .fbr-hero-section .col-lg-5 {
    position: relative !important;
    z-index: 10 !important;
}

/* M Logo Background Behind Text (Left Column) - Match Home Page */
.fbr-page .fbr-hero-section .col-lg-5::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('/svg-m-logo-01.svg') !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: 500px auto !important;
    z-index: 0 !important;
    pointer-events: none !important;
    opacity: 0.12 !important;
}

.fbr-page .fbr-hero-section .col-lg-5 * {
    position: relative !important;
    z-index: 11 !important;
}

.fbr-page .fbr-hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative !important;
    z-index: 3 !important;
    background-color: transparent !important;
}

.fbr-page .fbr-hero-heading {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fbr-page .fbr-hero-heading .fbr-accent {
    color: #1E5CAA;
    font-weight: 700;
}

.fbr-page #typewriter-text {
    display: inline-block;
    min-width: 120px;
}

.fbr-page #typewriter-cursor {
    display: inline-block;
    color: #1E5CAA;
    font-weight: 700;
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.fbr-page .fbr-hero-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 32rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fbr-page .fbr-hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.fbr-page .fbr-hero-image-wrapper {
    position: relative;
    padding-right: 0 !important;
    margin-right: 0 !important;
}

.fbr-page .fbr-hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    opacity: 1;
    text-align: right;
    display: block;
    margin-left: auto;
    margin-right: 0;
    position: relative;
    z-index: 10;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.fbr-page .fbr-hero-svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Features Section */
.fbr-page .features-carousel-section {
    padding: clamp(4rem, 8vh, 6rem) 0;
    background: #ffffff;
    position: relative;
}

.fbr-page .features-carousel-section .container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.fbr-page .features-section-header {
    margin-bottom: 3rem;
}

.fbr-page .features-section-label {
    color: #1E5CAA;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.fbr-page .features-section-heading {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.fbr-page .features-section-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.fbr-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0;
}

/* Benefit Cards */
.fbr-page .benefit-card-modern {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.fbr-page .benefit-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #93c5fd 0%, #60a5fa 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.fbr-page .benefit-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #bfdbfe;
    z-index: 2;
}

.fbr-page .benefit-card-modern:hover::before {
    transform: scaleX(1);
}

.fbr-page .benefit-icon-wrapper {
    width: clamp(3.5rem, 5vw, 4rem);
    height: clamp(3.5rem, 5vw, 4rem);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Icon hover effect removed */

.fbr-page .benefit-icon {
    width: clamp(1.75rem, 2.5vw, 2rem);
    height: clamp(1.75rem, 2.5vw, 2rem);
    color: #1E5CAA;
    transition: transform 0.3s ease;
}

/* Icon hover effect removed */

.fbr-page .benefit-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.fbr-page .benefit-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Icon Background Gradients - Scoped to FBR page */
.fbr-page .icon-bg-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.fbr-page .icon-bg-green {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.fbr-page .icon-bg-yellow {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.fbr-page .icon-bg-purple {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.fbr-page .icon-bg-pink {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.fbr-page .icon-bg-emerald {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.fbr-page .icon-bg-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.fbr-page .icon-wrapper {
    width: clamp(2.75rem, 4vw, 3rem);
    height: clamp(2.75rem, 4vw, 3rem);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.fbr-page .icon-wrapper-lg {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
}

.fbr-page .icon-svg {
    width: clamp(1.25rem, 2vw, 1.5rem);
    height: clamp(1.25rem, 2vw, 1.5rem);
    transition: transform 0.3s ease;
}

/* Icon hover effect removed */

.fbr-page .icon-svg-lg {
    width: 1.5rem;
    height: 1.5rem;
}

.fbr-page .icon-color-blue {
    color: #1E5CAA;
}

.fbr-page .icon-color-green {
    color: #16a34a;
}

.fbr-page .icon-color-yellow {
    color: #f59e0b;
}

.fbr-page .icon-color-purple {
    color: #6366f1;
}

.fbr-page .icon-color-pink {
    color: #ec4899;
}

.fbr-page .icon-color-emerald {
    color: #10b981;
}

.fbr-page .icon-color-red {
    color: #dc2626;
}

/* FBR Compliance Sections - Match MTD Section Style */
.fbr-page .fbr-compliance-section {
    padding: clamp(4rem, 8vh, 6rem) clamp(1rem, 4vw, 3rem);
    background: #ffffff !important;
    overflow: visible;
    background-image: url('/lines-bg-header.svg');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto;
    position: relative;
}

.fbr-page .fbr-compliance-section .container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 3rem) !important;
    padding-right: clamp(1rem, 3vw, 3rem) !important;
}

/* Use CSS Grid like MTD section for proper layout */
/* HTML order controls positioning - first element goes to first column */
.fbr-page .fbr-compliance-section .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(2rem, 4vw, 4rem) !important;
    align-items: center !important;
    /* No fixed order - let HTML structure control layout */
}

/* Content side - Reset any order from other CSS files */
.fbr-page .fbr-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    order: unset !important; /* Let HTML order control positioning */
}

/* Image side - Reset any order from other CSS files */
.fbr-page .fbr-image {
    display: flex;
    align-items: center;
    justify-content: center;
    order: unset !important; /* Let HTML order control positioning */
}

.fbr-page .fbr-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

.fbr-page .fbr-feature-item {
    display: flex !important;
    gap: 1rem !important;
    align-items: flex-start !important;
}

.fbr-page .fbr-feature-icon {
    width: 3rem !important;
    height: 3rem !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-radius: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.fbr-page .fbr-feature-icon svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
    color: #1E5CAA !important;
}

.fbr-page .fbr-feature-content {
    flex: 1 !important;
}

.fbr-page .fbr-feature-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: clamp(1rem, 1.5vw, 1.125rem) !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
}

.fbr-page .fbr-feature-description {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(0.875rem, 1.3vw, 0.9375rem) !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.fbr-page .fbr-heading {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.fbr-page .fbr-heading .fbr-accent {
    color: #1E5CAA;
}

.fbr-page .fbr-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.fbr-page .fbr-feature-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.fbr-page .fbr-feature-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.875rem, 1.3vw, 0.9375rem);
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.fbr-page .fbr-step-number {
    width: clamp(3rem, 5vw, 3.5rem);
    height: clamp(3rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50%;
    color: #1E5CAA;
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(30, 92, 170, 0.1);
}

.fbr-page .fbr-image-wrapper {
    width: 100%;
    max-width: 600px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fbr-page .fbr-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.fbr-page .fbr-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments - Match MTD section */
/* Let HTML order control layout - no fixed order */
@media (min-width: 768px) {
    .fbr-page .fbr-compliance-section .row {
        grid-template-columns: 1fr 1fr !important;
        display: grid !important;
    }
    
    /* Override any order from pk-home-design-fix.css */
    .fbr-page .fbr-content {
        order: unset !important;
    }
    
    .fbr-page .fbr-image {
        order: unset !important;
    }
    
    /* Remove fixed order - let HTML structure control positioning */
    /* If image comes first in HTML, it will be on left */
    /* If content comes first in HTML, it will be on left */
}

@media (max-width: 992px) and (min-width: 768px) {
    /* Adjust M logo size on tablet */
    .fbr-page .fbr-hero-section .col-lg-5::before {
        background-size: 400px auto !important;
    }
    
    .fbr-page .fbr-compliance-section .row {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.5rem !important;
    }
    
    .fbr-page .fbr-compliance-section {
        padding: 4rem 30px !important;
    }
    
    .fbr-page .fbr-compliance-section .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .fbr-page .fbr-heading {
        font-size: 2rem !important;
    }
    
    .fbr-page .fbr-image-wrapper {
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .fbr-page .fbr-hero-section {
        min-height: auto !important;
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Hide or reduce M logo on mobile */
    .fbr-page .fbr-hero-section .col-lg-5::before {
        background-size: 300px auto !important;
        opacity: 0.08 !important;
    }
    
    .fbr-page .fbr-compliance-section .row {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    /* Override mobile order from pk-home-design-fix.css */
    .fbr-page .fbr-content {
        order: unset !important;
    }
    
    .fbr-page .fbr-image {
        order: unset !important;
    }
    
    .fbr-page .fbr-compliance-section {
        padding: 4rem 20px !important;
    }
    
    .fbr-page .fbr-compliance-section .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .fbr-page .fbr-heading {
        font-size: clamp(1.75rem, 5vw, 2rem) !important;
    }
    
    .fbr-page .fbr-image-wrapper {
        max-width: 100% !important;
    }
}

/* FBR Visual Section with Diagonal Lines and Logos */
.fbr-page .fbr-visual-section {
    position: relative !important;
    min-height: 500px !important;
    max-height: 600px !important;
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    background: #ffffff !important;
    width: 100% !important;
    height: auto !important;
}

/* Diagonal Lines Background */
.fbr-page .fbr-diagonal-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 15px,
        rgba(30, 92, 170, 0.12) 15px,
        rgba(30, 92, 170, 0.12) 17px
    ) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Logos Wrapper */
.fbr-page .fbr-logos-wrapper {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    gap: 1.5rem !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    padding-top: 0.5rem !important;
}

.fbr-page .fbr-logo-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 2 !important;
}

/* FBR Logo Badge */
.fbr-page .fbr-logo-badge {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    color: white !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}

.fbr-page .fbr-logo-badge::before {
    content: '★' !important;
    position: absolute !important;
    top: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    color: #fbbf24 !important;
    font-size: 1.5rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    z-index: 1 !important;
}

.fbr-page .fbr-logo-badge::after {
    content: 'PAKISTAN' !important;
    position: absolute !important;
    bottom: -24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.65rem !important;
    color: #1E5CAA !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    white-space: nowrap !important;
    z-index: 1 !important;
}

/* AARL/PARL Logo Badge */
.fbr-page .aarl-logo-badge {
    background: #1E5CAA !important;
    color: white !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 800 !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}

.fbr-page .aarl-letter {
    position: absolute;
    font-size: 0.875rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    z-index: 1;
}

.fbr-page .aarl-letter.aarl-p {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.fbr-page .aarl-letter.aarl-a {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.fbr-page .aarl-letter.aarl-r {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.fbr-page .aarl-letter.aarl-l {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.fbr-page .aarl-star {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.625rem;
    z-index: 2;
}

/* Invoice Visual Container */
.fbr-page .fbr-invoice-visual {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 350px !important;
    margin-top: 0 !important;
    flex: 1 1 auto !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
}

.fbr-page .fbr-invoice-visual .fbr-image-wrapper {
    background: white !important;
    padding: 0.75rem !important;
    border-radius: 1rem !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
}

.fbr-page .fbr-invoice-visual .fbr-image-wrapper img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transform: scale(0.85) !important;
    transform-origin: center !important;
}

/* Video Section */
.fbr-page .video-section {
    padding: clamp(4rem, 8vh, 6rem) 0;
    background: #ffffff !important;
    position: relative;
}

.fbr-page .video-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.fbr-page .video-section-heading {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.fbr-page .video-section-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.fbr-page .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #000;
}

.fbr-page .video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.fbr-page .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Enhanced Icon Wrapper Styling */
.fbr-page .icon-wrapper {
    transition: all 0.3s ease;
}

/* Icon hover effect removed */

/* Enhanced Feature Items */
.fbr-page .fbr-compliance-section .d-flex.align-items-start {
    transition: transform 0.2s ease;
}

.fbr-page .fbr-compliance-section .d-flex.align-items-start:hover {
    transform: translateX(4px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    /* Bootstrap handles layout with flexbox - don't override with grid */
    .fbr-page .fbr-compliance-section .row {
        gap: 3rem !important;
    }
    .fbr-page .fbr-compliance-section {
        padding: clamp(3rem, 6vh, 4rem) clamp(1.5rem, 3vw, 2rem) !important;
    }
    .fbr-page .fbr-compliance-section .container-fluid {
        padding-left: clamp(1.5rem, 3vw, 2rem) !important;
        padding-right: clamp(1.5rem, 3vw, 2rem) !important;
    }
    .fbr-page .features-carousel-section .container-fluid {
        padding-left: clamp(1.5rem, 3vw, 2rem) !important;
        padding-right: clamp(1.5rem, 3vw, 2rem) !important;
    }
    .fbr-page .fbr-image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .fbr-page .fbr-visual-section {
        min-height: 400px;
        padding: 1.5rem;
    }
    
    .fbr-page .fbr-logos-wrapper {
        gap: 1rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }
    
    .fbr-page .fbr-logo-badge {
        font-size: 1.5rem;
        padding: 0.75rem 1.25rem;
    }
    
    .fbr-page .fbr-logo-badge::before {
        font-size: 1.25rem;
        top: -6px;
    }
    
    .fbr-page .fbr-logo-badge::after {
        font-size: 0.55rem;
        bottom: -18px;
    }
    
    .fbr-page .aarl-logo-badge {
        width: 60px;
        height: 60px;
    }
    
    .fbr-page .aarl-letter {
        font-size: 0.75rem;
    }
    
    .fbr-page .aarl-letter.aarl-p {
        top: 6px;
    }
    
    .fbr-page .aarl-letter.aarl-a {
        right: 6px;
    }
    
    .fbr-page .aarl-letter.aarl-r {
        bottom: 6px;
    }
    
    .fbr-page .aarl-letter.aarl-l {
        left: 6px;
    }
    
    .fbr-page .aarl-star {
        font-size: 0.5rem;
    }
    
    .fbr-page .fbr-invoice-visual {
        max-width: 100%;
        margin-top: 0.5rem;
    }
    
    .fbr-page .fbr-hero-section {
        min-height: auto !important;
        padding-top: clamp(3rem, 8vh, 4rem) !important;
        padding-bottom: clamp(2rem, 4vh, 3rem) !important;
    }
    .fbr-page .fbr-hero-heading {
        font-size: clamp(1.75rem, 6vw, 2rem) !important;
        margin-bottom: 1.5rem !important;
    }
    .fbr-page .fbr-hero-text {
        font-size: clamp(0.9375rem, 3.5vw, 1rem) !important;
        margin-bottom: 1.5rem !important;
    }
    .fbr-page .fbr-hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .fbr-page .fbr-hero-buttons .btn-premium,
    .fbr-page .fbr-hero-buttons .btn-premium-outline {
        width: 100%;
        justify-content: center;
    }
    .fbr-page .fbr-compliance-section {
        padding: clamp(3rem, 6vh, 4rem) clamp(1rem, 4vw, 1.5rem) !important;
    }
    .fbr-page .fbr-compliance-section .container-fluid {
        padding-left: clamp(1rem, 4vw, 1.5rem) !important;
        padding-right: clamp(1rem, 4vw, 1.5rem) !important;
    }
    .fbr-page .fbr-heading {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        margin-bottom: 1.25rem !important;
    }
    .fbr-page .fbr-text {
        font-size: clamp(0.9375rem, 3.5vw, 1rem) !important;
        margin-bottom: 1.5rem !important;
    }
    .fbr-page .features-carousel-section {
        padding: clamp(3rem, 6vh, 4rem) 0 !important;
    }
    .fbr-page .features-carousel-section .container-fluid {
        padding-left: clamp(1rem, 4vw, 1.5rem) !important;
        padding-right: clamp(1rem, 4vw, 1.5rem) !important;
    }
    .fbr-page .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .fbr-page .video-section {
        padding: clamp(3rem, 6vh, 4rem) 0 !important;
    }
    .fbr-page .video-container {
        padding: 0 clamp(1rem, 4vw, 1.5rem) !important;
    }
    .fbr-page .video-section-heading {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }
    .fbr-page .fbr-step-number {
        width: 3rem !important;
        height: 3rem !important;
        font-size: 1.25rem !important;
    }
}

/* FAQ Section Enhancements */
.fbr-page .faq-growth-section {
    padding: clamp(4rem, 8vh, 6rem) 0;
    background: #ffffff !important;
}

.fbr-page .faq-growth-section .fbr-heading {
    margin-bottom: 1rem;
}

.fbr-page .faq-growth-section .fbr-text {
    margin-bottom: 2.5rem;
}

/* Ensure FAQ accordion looks good */
.fbr-page .faq-growth-section .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fbr-page .faq-growth-section .accordion-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.fbr-page .faq-growth-section .accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #0f172a;
}

.fbr-page .faq-growth-section .accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: #1E5CAA;
}

.fbr-page .faq-growth-section .accordion-body {
    padding: 1.25rem 1.5rem;
    color: #64748b;
    line-height: 1.7;
}

@media (max-width: 480px) {
    .fbr-page .fbr-visual-section {
        min-height: 350px;
        padding: 1rem;
    }
    
    .fbr-page .fbr-logos-wrapper {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .fbr-page .fbr-logo-badge {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }
    
    .fbr-page .fbr-logo-badge::before {
        font-size: 1rem;
        top: -5px;
    }
    
    .fbr-page .fbr-logo-badge::after {
        font-size: 0.5rem;
        bottom: -16px;
    }
    
    .fbr-page .aarl-logo-badge {
        width: 50px;
        height: 50px;
    }
    
    .fbr-page .aarl-letter {
        font-size: 0.625rem;
    }
    
    .fbr-page .aarl-letter.aarl-p {
        top: 5px;
    }
    
    .fbr-page .aarl-letter.aarl-a {
        right: 5px;
    }
    
    .fbr-page .aarl-letter.aarl-r {
        bottom: 5px;
    }
    
    .fbr-page .aarl-letter.aarl-l {
        left: 5px;
    }
    
    .fbr-page .aarl-star {
        font-size: 0.45rem;
    }
    
    .fbr-page .fbr-invoice-visual {
        margin-top: 0.5rem;
    }
    
    .fbr-page .fbr-hero-section {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
    .fbr-page .fbr-hero-heading {
        font-size: clamp(1.5rem, 7vw, 1.75rem) !important;
        margin-bottom: 1.25rem !important;
    }
    .fbr-page .fbr-hero-text {
        font-size: 0.9375rem !important;
        margin-bottom: 1.25rem !important;
    }
    .fbr-page .fbr-heading {
        font-size: clamp(1.375rem, 6vw, 1.75rem) !important;
        margin-bottom: 1rem !important;
    }
    .fbr-page .fbr-text {
        font-size: 0.9375rem !important;
        margin-bottom: 1.25rem !important;
    }
    .fbr-page .benefit-card-modern {
        padding: 1.75rem 1.25rem !important;
    }
    .fbr-page .fbr-feature-title {
        font-size: 1rem !important;
    }
    .fbr-page .fbr-feature-text {
        font-size: 0.875rem !important;
    }
    .fbr-page .fbr-step-number {
        width: 2.75rem !important;
        height: 2.75rem !important;
        font-size: 1.125rem !important;
    }
    .fbr-page .video-section-heading {
        font-size: clamp(1.375rem, 6vw, 1.75rem) !important;
    }
    .fbr-page .video-section-text {
        font-size: 0.9375rem !important;
    }
    .fbr-page .faq-growth-section {
        padding: 3rem 0 !important;
    }
    .fbr-page .faq-growth-section .accordion-button {
        padding: 1rem 1.25rem !important;
        font-size: 0.9375rem !important;
    }
    .fbr-page .faq-growth-section .accordion-body {
        padding: 1rem 1.25rem !important;
        font-size: 0.875rem !important;
    }
}
