/**
 * Financial Services Lead Plugin - Public Styles
 * LendingTree-inspired professional design with Bootstrap
 * 
 * @package Financial_Services_Lead_Plugin
 * @since 1.0.0
 */

/* Bootstrap Integration - Custom component styles */

/* Bootstrap Enhancements */
.fslp-bootstrap .card {
    transition: all 0.3s ease;
}

.fslp-bootstrap .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.fslp-bootstrap .btn {
    transition: all 0.3s ease;
}

.fslp-bootstrap .btn:hover {
    transform: translateY(-1px);
}

.fslp-bootstrap .accordion-button:not(.collapsed) {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.fslp-bootstrap .hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Custom gradient backgrounds */
.fslp-bootstrap .bg-gradient-primary {
    background: linear-gradient(135deg, #1e3a8a, #1e40af, #2563eb) !important;
}

/* Smooth animations */
.fslp-bootstrap * {
    transition: all 0.3s ease;
}

/* Offer Cards Styling */
.fslp-bootstrap .offer-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fslp-bootstrap .offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.fslp-bootstrap .featured-offer {
    border: 2px solid #ffc107;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.fslp-bootstrap .featured-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.fslp-bootstrap .featured-badge .badge {
    border-radius: 0 0 8px 0;
    padding: 8px 12px;
    font-size: 0.75rem;
}

.fslp-bootstrap .company-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.fslp-bootstrap .cta-button {
    background: #28a745;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.fslp-bootstrap .cta-button:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.fslp-bootstrap .feature-list {
    font-size: 0.95rem;
}

.fslp-bootstrap .feature-list svg {
    flex-shrink: 0;
}

.fslp-bootstrap .reviews-info {
    font-size: 0.9rem;
}

.fslp-bootstrap .reviews-info .text-decoration-underline {
    text-decoration-color: #007bff;
}

/* Rating display */
.fslp-bootstrap .display-6 {
    font-size: 2.5rem;
    color: #007bff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .fslp-bootstrap .offer-card .row {
        text-align: center;
    }
    
    .fslp-bootstrap .offer-card .col-md-3:last-child {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* Enhanced Hero Section */
.fslp-bootstrap .hero-section {
    position: relative;
    overflow: hidden;
}

.fslp-bootstrap .min-vh-75 {
    min-height: 75vh;
}

/* Animated Background Shapes */
.fslp-bootstrap .floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.fslp-bootstrap .shape-1 {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    animation-delay: 0s;
}

.fslp-bootstrap .shape-2 {
    top: 60%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #10b981, #06d6a0);
    border-radius: 20px;
    animation-delay: 2s;
}

.fslp-bootstrap .shape-3 {
    bottom: 20%;
    left: 60%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f59e0b, #ef4444);
    transform: rotate(45deg);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Hero Badge */
.fslp-bootstrap .hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1rem;
}

.fslp-bootstrap .badge-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Hero Title */
.fslp-bootstrap .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fslp-bootstrap .hero-gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Hero Subtitle */
.fslp-bootstrap .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits */
.fslp-bootstrap .hero-benefits {
    max-width: 700px;
    margin: 0 auto;
}

.fslp-bootstrap .benefit-item {
    padding: 12px 0;
    transition: all 0.3s ease;
    justify-content: center;
}

.fslp-bootstrap .benefit-item:hover {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .fslp-bootstrap .benefit-item {
        justify-content: center;
        text-align: center;
    }
}

.fslp-bootstrap .benefit-icon {
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Social Proof */
.fslp-bootstrap .hero-social-proof {
    max-width: 500px;
    margin: 0 auto;
}

.fslp-bootstrap .hero-social-proof .vr {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* CTA Buttons */
.fslp-bootstrap .hero-cta-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.fslp-bootstrap .hero-cta-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    color: white;
}

/* Stats Card */
.fslp-bootstrap .hero-stats-card {
    animation: slideInRight 1s ease-out;
}

.fslp-bootstrap .hero-stats-card .card {
    border-radius: 20px;
    overflow: hidden;
}

.fslp-bootstrap .bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

.fslp-bootstrap .stat-item {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.fslp-bootstrap .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Pulse Animation */
.fslp-bootstrap .pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Slide In Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Hero Responsiveness */
@media (max-width: 768px) {
    .fslp-bootstrap .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .fslp-bootstrap .hero-subtitle {
        text-align: center;
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .fslp-bootstrap .hero-benefits {
        text-align: center;
        margin-top: 2rem;
    }
    
    .fslp-bootstrap .hero-benefits .row {
        justify-content: center;
    }
    
    .fslp-bootstrap .hero-social-proof {
        justify-content: center;
        text-align: center;
        margin-top: 2rem;
    }
    
    .fslp-bootstrap .hero-cta {
        text-align: center;
        margin-top: 2rem;
    }
    
    .fslp-bootstrap .floating-shape {
        display: none;
    }
    
    .fslp-bootstrap .hero-badge {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

/* Homepage Hero Enhancements */
.fslp-bootstrap .homepage-hero {
    position: relative;
    overflow: hidden;
}

.fslp-bootstrap .homepage-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fslp-bootstrap .homepage-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
}

.fslp-bootstrap .homepage-trust-indicators .vr {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
}

.fslp-bootstrap .homepage-cta-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.fslp-bootstrap .homepage-cta-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
    color: white;
}

/* Homepage Service Preview */
.fslp-bootstrap .homepage-service-preview {
    animation: slideInRight 1.2s ease-out;
}

.fslp-bootstrap .preview-card {
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fslp-bootstrap .preview-service-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.fslp-bootstrap .preview-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.fslp-bootstrap .hover-lift {
    transition: all 0.3s ease;
}

.fslp-bootstrap .hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Homepage Background Shapes */
.fslp-bootstrap .homepage-shape-1 {
    top: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    animation-delay: 0s;
}

.fslp-bootstrap .homepage-shape-2 {
    top: 65%;
    right: 5%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #10b981, #06d6a0);
    border-radius: 20px;
    animation-delay: 2s;
}

.fslp-bootstrap .homepage-shape-3 {
    bottom: 30%;
    left: 70%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f59e0b, #ef4444);
    transform: rotate(45deg);
    animation-delay: 4s;
}

.fslp-bootstrap .homepage-shape-4 {
    top: 40%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    border-radius: 30px;
    animation-delay: 6s;
}

/* Service Tabs */
.fslp-bootstrap .services-nav {
    border: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.fslp-bootstrap .service-tab {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
    color: #6b7280;
    position: relative;
    overflow: hidden;
}

.fslp-bootstrap .service-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    transition: left 0.3s ease;
    z-index: -1;
}

.fslp-bootstrap .service-tab:hover::before,
.fslp-bootstrap .service-tab.active::before {
    left: 0;
}

.fslp-bootstrap .service-tab:hover,
.fslp-bootstrap .service-tab.active {
    color: white;
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.fslp-bootstrap .tab-icon {
    font-size: 2.5rem;
    display: block;
    transition: all 0.3s ease;
}

.fslp-bootstrap .service-tab:hover .tab-icon,
.fslp-bootstrap .service-tab.active .tab-icon {
    transform: scale(1.1);
}

.fslp-bootstrap .tab-label {
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Tab Content */
.fslp-bootstrap .services-tab-content {
    margin-top: 3rem;
}

.fslp-bootstrap .category-header .category-icon {
    font-size: 4rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fslp-bootstrap .service-option {
    transition: all 0.3s ease;
    border-radius: 16px;
}

.fslp-bootstrap .service-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.fslp-bootstrap .service-bullet {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Tab Animation */
.fslp-bootstrap .tab-pane {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Tabs Responsiveness */
@media (max-width: 768px) {
    .fslp-bootstrap .services-nav {
        justify-content: center !important;
    }
    
    .fslp-bootstrap .service-tab {
        min-width: 100px;
        padding: 1rem 0.5rem;
    }
    
    .fslp-bootstrap .tab-icon {
        font-size: 2rem;
    }
    
    .fslp-bootstrap .tab-label {
        font-size: 0.8rem;
    }
    
    .fslp-bootstrap .homepage-trust-indicators {
        flex-direction: column;
        gap: 2rem !important;
    }
    
    .fslp-bootstrap .homepage-trust-indicators .vr {
        display: none;
    }
}

/* Global Theme Tokens */
:root {
  --fslp-primary: #2563eb;         /* blue-600 */
  --fslp-primary-2: #1d4ed8;       /* blue-700 */
  --fslp-accent: #2563eb;          /* blue-600 */
  --fslp-accent-600: #1d4ed8;      /* blue-700 */
  --fslp-accent-700: #1e40af;      /* blue-800 */
  --fslp-bg: #f8fafc;              /* slate-50 */
  --fslp-surface: #ffffff;         /* white */
  --fslp-surface-2: #f1f5f9;       /* slate-100 */
  --fslp-border: #e5e7eb;          /* slate-200 */
  --fslp-text: #0f172a;            /* slate-900 */
  --fslp-text-muted: #475569;      /* slate-600 */
  --fslp-radius-sm: 8px;
  --fslp-radius-md: 12px;
  --fslp-radius-lg: 16px;
  --fslp-shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --fslp-shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --fslp-shadow-lg: 0 16px 48px rgba(0,0,0,0.12);

  /* Backward-compat mapping for older inline variables still present in templates */
  --fslp-color-primary: var(--fslp-primary);
  --fslp-color-primary-2: var(--fslp-primary-2);
  --fslp-color-accent: var(--fslp-accent);
  --fslp-color-accent-hover: var(--fslp-accent-600);
  --fslp-color-bg: var(--fslp-bg);
  --fslp-color-text: var(--fslp-text);
  --fslp-color-text-muted: var(--fslp-text-muted);
}

/* Reset and Base Styles */
.fslp-service-page * {
    box-sizing: border-box;
}

/* Tailwind scope wrapper to prevent bleed into the theme */
.fslp-tw * { all: revert; box-sizing: border-box; }
.fslp-tw .tw-container { max-width: 1200px; margin: 0 auto; }

/* Homepage */
.fslp-home .fslp-home-hero { padding: 60px 0; background: linear-gradient(135deg, var(--fslp-primary) 0%, var(--fslp-primary-2) 100%); color: #ffffff; }
.lt-theme { --lt-primary:#00b074; --lt-secondary:#00204e; --lt-accent:#c8ff8c; --lt-text-dark:#102030; --lt-text-light:#5a646e; --lt-white:#ffffff; --lt-light-gray:#f7f8f9; --lt-footer:#1c2a3e; }
/* Header styles removed because we no longer inject a custom header from shortcode */
.lt-theme .lt-tagline { color: var(--lt-accent); font-weight:800; margin-bottom:4px; }
.lt-theme.lt-theme .fslp-home-hero { background: #ffffff; color: var(--lt-text-dark); padding-top:40px; }
.lt-theme .fslp-home-hero .fslp-hero-title { color: var(--lt-secondary) !important; }
.lt-theme .fslp-home-hero .fslp-hero-subtitle { color: var(--lt-text-light) !important; }
.lt-theme .lt-light-gray { background: var(--lt-light-gray) !important; }
.lt-theme .fslp-featured-rates .fslp-rate-card .rate { color: var(--lt-secondary); }
.lt-theme .rates-disclaimer { text-align:center; color: var(--lt-text-light); font-size:12px; margin-top:10px; }
.lt-theme .fslp-financial-journey { padding:80px 0; background: var(--lt-primary); color:#fff; }
.lt-theme .fslp-journey-title { text-align:center; margin:0 0 18px 0; color:#fff; }
.lt-theme .journey-grid { display:grid; grid-template-columns: 1fr 380px; gap:30px; align-items:center; }
.lt-theme .journey-features { display:grid; gap:10px; }
.lt-theme .journey-item { display:flex; align-items:center; gap:10px; background: rgba(255,255,255,0.1); padding:12px 14px; border-radius:12px; }
.lt-theme .journey-visual { height:260px; border-radius:20px; background: radial-gradient(120px 80px at 70% 30%, #e5ffe6, rgba(0,0,0,0)), linear-gradient(135deg, #18d49a, #00b074); box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.lt-theme .fslp-home-promo .promo-sub { color: var(--lt-text-light); margin: 4px 0 10px 0; }
.lt-theme .fslp-home-promo .promo-illustration { height:220px; border-radius:16px; background: radial-gradient(120px 80px at 40% 30%, #e7f3ff, rgba(0,0,0,0)), linear-gradient(135deg, #7fb7ff, #5aa3ff); box-shadow: var(--fslp-shadow-md); }
.lt-theme .fslp-about { padding:80px 0; }
.lt-theme .about-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap:40px; align-items:center; }
.lt-theme .about-text h2 { color: var(--lt-secondary); }
.lt-theme .about-text p { color: var(--lt-text_light); }
.lt-theme .about-visual { height:260px; border-radius:20px; background: radial-gradient(120px 80px at 70% 30%, #fff1e6, rgba(0,0,0,0)), linear-gradient(135deg, #ffd19a, #ff9f6e); box-shadow: var(--fslp-shadow-md); }
.lt-theme .fslp-home-footer { background: var(--lt-footer); color:#cbd5e1; padding:40px 0 20px 0; }
.lt-theme .footer-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.lt-theme .footer-col h4 { color:#e2e8f0; margin:0 0 10px 0; }
.lt-theme .footer-col a { color:#cbd5e1; text-decoration:none; }
.lt-theme .footer-col a:hover { color:#fff; }
.lt-theme .footer-bottom { display:grid; grid-template-columns: 1fr 1fr 1fr; align-items:center; gap:10px; padding-top:12px; border-top:1px solid rgba(255,255,255,0.08); }
.lt-theme .footer-bottom .social a { color:#fff; margin-right:10px; text-decoration:none; }
.lt-theme .footer-bottom .apps .badge { display:inline-block; background:#0f172a; color:#fff; padding:8px 12px; border-radius:10px; margin-right:8px; text-decoration:none; }
.lt-theme .footer-bottom .copy { text-align:right; color:#90a4b8; font-size:12px; }
.fslp-home .fslp-home-hero-head { text-align: center; margin-bottom: 24px; }
.fslp-home .fslp-home-hero .fslp-hero-title { color: #ffffff; margin: 0 0 8px 0; font-weight: 800; }
.fslp-home .fslp-home-hero .fslp-hero-subtitle { color: #ffffff; opacity: 0.95; margin: 0; }
.fslp-home .fslp-home-tabs { display: grid; grid-auto-flow: column; gap: 10px; justify-content: center; margin: 24px 0 20px 0; }
.fslp-home .fslp-tab-btn { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); padding: 10px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.fslp-home .fslp-tab-btn.active { background: #ffffff; color: var(--fslp-primary); border-color: #ffffff; }
.fslp-home .fslp-tab-panel { display: none; }
.fslp-home .fslp-tab-panel.active { display: block; }
.fslp-home .fslp-hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.fslp-home .fslp-hero-left .fslp-hero-panel-title { color: #ffffff; margin: 0 0 8px 0; }
.fslp-home .fslp-hero-left .fslp-hero-panel-text { color: #ffffff; opacity: 0.95; margin: 0 0 16px 0; }
.fslp-home .fslp-hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fslp-home .fslp-hero-cta-btn { display: inline-block; }
.fslp-home .fslp-btn.fslp-btn-secondary { background: #ffffff; color: var(--fslp-text); border: 1px solid rgba(255,255,255,0.6); }
.fslp-home .fslp-btn.fslp-btn-secondary:hover { background: #f8fafc; }
.fslp-home .fslp-hero-right .fslp-service-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.fslp-home .fslp-service-tile { background: #ffffff; border: 1px solid var(--fslp-border); border-radius: var(--fslp-radius-md); padding: 14px; text-align: left; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.fslp-home .fslp-service-tile:hover { transform: translateY(-2px); box-shadow: var(--fslp-shadow-md); }
.fslp-home .fslp-service-tile.active { border-color: var(--fslp-primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.18); }
.fslp-home .fslp-service-icon { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #eef2ff; color: var(--fslp-primary); }

@media (max-width: 1024px) {
  .fslp-home .fslp-hero-split { grid-template-columns: 1fr; text-align: center; }
  .fslp-home .fslp-hero-cta-row { justify-content: center; }
}

/* Trust Section */
.fslp-home-trust { padding: 80px 0; background: var(--fslp-bg); }
.fslp-trust-grid { display: grid; grid-template-columns: 460px 1fr; gap: 60px; align-items: center; }
.fslp-device-mock { width: 280px; height: 520px; background: #0f172a; border-radius: 32px; box-shadow: 0 30px 80px rgba(0,0,0,0.25); position: relative; margin: 0 auto; }
.fslp-device-mock .screen { position: absolute; inset: 24px; background: #0b1220; border-radius: 24px; padding: 18px; display: grid; gap: 10px; }
.fslp-device-mock .line { height: 12px; background: #1e293b; border-radius: 6px; }
.fslp-device-mock .line.wide { height: 16px; background: #334155; }
.fslp-trust-content h2 { font-size: 32px; margin: 0 0 12px 0; color: var(--fslp-text); }
.fslp-trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.fslp-trust-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 12px 0; }
.fslp-trust-list .icon { width: 44px; height: 44px; border-radius: 12px; background: #eef2ff; color: var(--fslp-primary); display: inline-flex; align-items:center; justify-content:center; font-size: 22px; }
.fslp-trust-list h4 { margin: 0 0 4px 0; color: var(--fslp-text); }
.fslp-trust-list p { margin: 0; color: var(--fslp-text-muted); }
@media (max-width: 1024px){ .fslp-trust-grid { grid-template-columns: 1fr; text-align: center; } .fslp-trust-list li{ grid-template-columns: 1fr; } }

/* Featured Rates */
.fslp-featured-rates { padding: 60px 0; background: #fff; }
.fslp-rates-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.fslp-rate-card { border: 1px solid var(--fslp-border); border-radius: var(--fslp-radius-md); padding: 18px; background: var(--fslp-surface); text-align: center; }
.fslp-rate-card .rate { font-size: 24px; font-weight: 800; color: var(--fslp-primary); }
.fslp-rate-card .muted { color: var(--fslp-text-muted); font-size: 12px; margin: 4px 0 0 0; }
@media (max-width: 900px){ .fslp-rates-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .fslp-rates-grid { grid-template-columns: 1fr; } }

/* Tools */
.fslp-home-tools { padding: 80px 0; background: var(--fslp-bg); }
.fslp-tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.fslp-tool-card { display: block; background: #fff; border: 1px solid var(--fslp-border); border-radius: var(--fslp-radius-md); padding: 18px; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.fslp-tool-card .icon { width: 40px; height: 40px; border-radius: 10px; background: #eef2ff; color: var(--fslp-primary); display: inline-flex; align-items:center; justify-content:center; margin-bottom: 10px; }
.fslp-tool-card:hover { transform: translateY(-3px); box-shadow: var(--fslp-shadow-md); }
@media (max-width: 900px){ .fslp-tools-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .fslp-tools-grid { grid-template-columns: 1fr; } }

/* Promo */
.fslp-home-promo { padding: 80px 0; background: #fff; }
.fslp-promo-card { border: 1px solid var(--fslp-border); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center; background: var(--fslp-surface); }
.fslp-check-list { list-style: none; padding: 0; margin: 12px 0 18px 0; display: grid; gap: 8px; }
.fslp-check-list li::before { content: '✓'; color: #22c55e; margin-right: 8px; }
.fslp-stat-badge { width: 180px; height: 180px; border-radius: 100%; background: radial-gradient(120px 120px at 50% 50%, #eef2ff, #dbeafe); display: grid; place-items: center; margin-left: auto; }
.fslp-stat-badge .value { font-size: 44px; font-weight: 800; color: var(--fslp-primary); }
.fslp-stat-badge .label { color: var(--fslp-text-muted); font-weight: 600; }
@media (max-width: 900px){ .fslp-promo-card { grid-template-columns: 1fr; text-align: center; } .fslp-stat-badge { margin: 0 auto; } }

/* Experts */
.fslp-experts { padding: 80px 0; background: var(--fslp-bg); }
.fslp-experts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.fslp-article-card { background: #fff; border: 1px solid var(--fslp-border); border-radius: var(--fslp-radius-md); padding: 18px; text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
.fslp-article-card:hover { box-shadow: var(--fslp-shadow-md); transform: translateY(-2px); }
.fslp-article-card .meta { font-size: 12px; color: var(--fslp-text-muted); margin-bottom: 6px; }
@media (max-width: 900px){ .fslp-experts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .fslp-experts-grid { grid-template-columns: 1fr; } }

/* What we do */
.fslp-what-we-do { padding: 80px 0; background: #fff; }
.fslp-wwd-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.fslp-wwd-grid .wwd-text h2 { margin: 0 0 10px 0; color: var(--fslp-text); }
.fslp-wwd-grid .wwd-text p { margin: 0; color: var(--fslp-text-muted); }
.fslp-wwd-grid .wwd-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fslp-wwd-grid .wwd-link a { display: block; background: var(--fslp-surface-2); border: 1px solid var(--fslp-border); border-radius: 12px; padding: 14px; text-decoration: none; color: var(--fslp-text); font-weight: 600; transition: transform .2s ease, box-shadow .2s ease; }
.fslp-wwd-grid .wwd-link a:hover { transform: translateY(-2px); box-shadow: var(--fslp-shadow-md); }
@media (max-width: 900px){ .fslp-wwd-grid { grid-template-columns: 1fr; } .fslp-wwd-grid .wwd-links { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .fslp-wwd-grid .wwd-links { grid-template-columns: 1fr; } }

.fslp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.fslp-hero-section {
    background: radial-gradient(1200px 600px at 80% -10%, rgba(37,99,235,0.12), rgba(0,0,0,0) 60%),
                linear-gradient(135deg, var(--fslp-primary) 0%, var(--fslp-primary-2) 100%);
    color: #ffffff;
    padding: 60px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.fslp-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fslp-hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.fslp-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: white;
}

.fslp-hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin: 0 0 32px 0;
    opacity: 0.9;
}

.fslp-hero-features {
    margin-bottom: 32px;
}

.fslp-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 18px;
}

.fslp-feature-icon {
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 14px;
    font-weight: bold;
}

.fslp-trust-indicators {
    display: flex;
    gap: 32px;
    align-items: center;
}

.fslp-stars {
    color: #FFD700;
    font-size: 20px;
    margin-right: 8px;
}

.fslp-rating-text {
    font-size: 14px;
    opacity: 0.8;
}

.fslp-security {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
}

/* Hero Form */
.fslp-form-container {
    background: var(--fslp-surface);
    border-radius: var(--fslp-radius-lg);
    padding: 32px;
    box-shadow: var(--fslp-shadow-md);
    border: 1px solid var(--fslp-border);
}

.fslp-form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--fslp-text);
    margin: 0 0 8px 0;
    text-align: center;
}

.fslp-form-subtitle {
    font-size: 16px;
    color: var(--fslp-text-muted);
    margin: 0 0 24px 0;
    text-align: center;
}

.fslp-form-group {
    margin-bottom: 20px;
}

.fslp-form-group label {
    display: block;
    font-weight: 600;
    color: var(--fslp-text);
    margin-bottom: 6px;
    font-size: 14px;
}

.fslp-form-group input,
.fslp-form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--fslp-border);
    background: var(--fslp-surface-2);
    color: var(--fslp-text);
    border-radius: var(--fslp-radius-sm);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.fslp-form-group input:focus,
.fslp-form-group select:focus {
    outline: none;
    border-color: var(--fslp-accent);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}

.fslp-hero-cta-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--fslp-accent), var(--fslp-accent-600));
    color: #ffffff;
    border: none;
    padding: 18px 26px;
    border-radius: var(--fslp-radius-md);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
    box-shadow: 0 6px 18px rgba(29,78,216,0.18);
}

.fslp-hero-cta-btn:hover {
    background: var(--fslp-accent-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29,78,216,0.25);
}

.fslp-form-disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--fslp-text-muted);
    margin: 12px 0 0 0;
}

/* Hero feature list with icon alignment and spacing */
.fslp-hero-features { display: grid; gap: 10px; margin-top: 10px; }
.fslp-feature-item { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 10px; font-size: 16px; color: #ffffff; }
.fslp-feature-item .fslp-feature-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.2); color: #fff; }

/* Hero ratings row */
.fslp-hero-ratings { display: flex; align-items: center; gap: 16px; color: #ffffff; margin-top: 18px; }
.fslp-hero-ratings .stars { color: #ffd166; }

/* Force hero left-column text to white for readability on gradient */
.fslp-hero-title { color: #ffffff !important; }
.fslp-hero-subtitle { color: #ffffff !important; opacity: 0.95; }
.fslp-hero-text, .fslp-hero-text p, .fslp-hero-text li, .fslp-hero-text span { color: #ffffff !important; }

/* How It Works Section */
.fslp-how-it-works-section { padding: 80px 0; background: var(--fslp-bg); }

.fslp-section-title { font-size: 36px; font-weight: 700; text-align: center; margin: 0 0 48px 0; color: var(--fslp-text); }

.fslp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.fslp-step-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.fslp-step-card:hover {
    transform: translateY(-4px);
}

.fslp-step-number { width: 60px; height: 60px; background: var(--fslp-accent); color: #052e16; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 20px auto; }

.fslp-step-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #333;
}

.fslp-step-card p {
    color: #666;
    line-height: 1.6;
}

/* Benefits Section */
.fslp-benefits-section {
    padding: 80px 0;
    background: white;
}

.fslp-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.fslp-benefits-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 32px 0;
    color: #333;
}

.fslp-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fslp-benefit-item {
    display: flex;
    gap: 16px;
}

.fslp-benefit-icon {
    width: 48px;
    height: 48px;
    background: #e8f5e8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.fslp-benefit-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.fslp-benefit-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.fslp-comparison-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e1e5e9;
}

.fslp-comparison-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 24px 0;
    text-align: center;
    color: #333;
}

.fslp-rate-example {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.fslp-rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    position: relative;
}

.fslp-rate-item.fslp-best-rate {
    border-color: #4CAF50;
    background: #f1f8e9;
}

.fslp-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    background: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.fslp-savings-note {
    text-align: center;
    font-size: 14px;
    color: #4CAF50;
    font-weight: 600;
    margin: 0;
}

/* Details Section */
.fslp-details-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.fslp-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.fslp-details-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #333;
}

.fslp-details-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px 0;
    color: #333;
}

.fslp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.fslp-feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.fslp-check-icon {
    color: #4CAF50;
    font-weight: bold;
    margin-right: 12px;
    font-size: 16px;
}

.fslp-requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fslp-requirement-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e1e5e9;
    color: #666;
}

.fslp-cta-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-bottom: 32px;
    text-align: center;
}

.fslp-cta-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #333;
}

.fslp-cta-card p {
    color: #666;
    margin: 0 0 24px 0;
}

.fslp-cta-button { width: 100%; background: linear-gradient(135deg, var(--fslp-accent), var(--fslp-accent-600)); color: #ffffff; border: none; padding: 16px 24px; border-radius: var(--fslp-radius-md); font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 6px 18px rgba(29,78,216,0.18); }

.fslp-cta-button:hover { background: var(--fslp-accent-700); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(29,78,216,0.25); }

.fslp-no-impact {
    font-size: 12px;
    color: #666;
    margin: 12px 0 0 0;
}

.fslp-quick-facts {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.fslp-quick-facts h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #333;
}

.fslp-fact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.fslp-fact-item:last-child {
    border-bottom: none;
}

.fslp-fact-label {
    font-size: 14px;
    color: #666;
}

.fslp-fact-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* FAQ Section */
.fslp-faq-section {
    padding: 80px 0;
    background: white;
}

.fslp-faq-grid {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.fslp-faq-item {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
}

.fslp-faq-toggle {
    width: 100%;
    background: white;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.fslp-faq-toggle:hover {
    background: #f8f9fa;
}

.fslp-faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.fslp-faq-toggle[aria-expanded="true"] .fslp-faq-icon {
    transform: rotate(45deg);
}

.fslp-faq-answer {
    padding: 0 24px 20px 24px;
    color: #666;
    line-height: 1.6;
    display: none;
}

.fslp-faq-answer.open {
    display: block;
}

/* Bottom CTA */
.fslp-bottom-cta { padding: 80px 0; background: linear-gradient(135deg, var(--fslp-primary) 0%, var(--fslp-primary-2) 100%); color: #ffffff; text-align: center; }

.fslp-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.fslp-cta-content p {
    font-size: 18px;
    margin: 0 0 32px 0;
    opacity: 0.9;
}

.fslp-bottom-cta-btn { background: linear-gradient(135deg, var(--fslp-accent), var(--fslp-accent-600)); color: #ffffff; border: none; padding: 18px 36px; border-radius: var(--fslp-radius-md); font-size: 18px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 6px 18px rgba(29,78,216,0.18); }

.fslp-bottom-cta-btn:hover { background: var(--fslp-accent-700); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(34,197,94,0.25); }

.fslp-cta-disclaimer {
    font-size: 14px;
    margin: 16px 0 0 0;
    opacity: 0.8;
}

/* Related Services */
.fslp-related-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.fslp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.fslp-related-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.fslp-related-card:hover {
    transform: translateY(-4px);
}

.fslp-related-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.fslp-related-title a {
    color: #333;
    text-decoration: none;
}

.fslp-related-title a:hover {
    color: #1e3c72;
}

.fslp-related-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.fslp-related-link {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.fslp-related-link:hover {
    color: #FF6B35;
}

/* Archive/Listing Page Styles */
.fslp-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.fslp-archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.fslp-archive-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
}

.fslp-archive-description {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.fslp-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.fslp-service-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
}

.fslp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.fslp-service-category {
    display: inline-block;
    background: #e8f5e8;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.fslp-service-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.fslp-service-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.fslp-service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
    color: #888;
}

.fslp-check-offers-btn { width: 100%; background: linear-gradient(135deg, var(--fslp-accent), var(--fslp-accent-600)); color: #ffffff; border: none; padding: 14px 24px; border-radius: var(--fslp-radius-md); font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-transform: none; letter-spacing: normal; box-shadow: 0 6px 18px rgba(29,78,216,0.18); }

.fslp-check-offers-btn:hover {
    background: var(--fslp-accent-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34,197,94,0.2);
}

.fslp-btn-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.fslp-check-offers-btn:hover .fslp-btn-icon {
    transform: translateX(4px);
}

/* Modal Styles */
.fslp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.fslp-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

.fslp-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.fslp-modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.fslp-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.fslp-modal-close:hover {
    color: #333;
}

.fslp-modal-body {
    padding: 20px;
}

.fslp-form-step {
    display: none;
}

.fslp-form-step.fslp-step-active {
    display: block;
}

.fslp-form-step h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
}

.fslp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.fslp-form-field {
    display: flex;
    flex-direction: column;
}

.fslp-form-field label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.fslp-form-field input,
.fslp-form-field select,
.fslp-form-field textarea {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.fslp-form-field input:focus,
.fslp-form-field select:focus,
.fslp-form-field textarea:focus {
    outline: none;
    border-color: #0073aa;
}

.fslp-form-field.fslp-field-error input,
.fslp-form-field.fslp-field-error select,
.fslp-form-field.fslp-field-error textarea {
    border-color: #dc3232;
}

.fslp-field-error-message {
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
}

.fslp-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.fslp-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fslp-btn-primary { background: linear-gradient(135deg, var(--fslp-accent), var(--fslp-accent-600)); color: #ffffff; }

.fslp-btn-primary:hover { background: var(--fslp-accent-700); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(29,78,216,0.2); }

/* Unify miscellaneous buttons/CTAs inside service pages to blue scheme */
.fslp-service-page .wp-block-button__link,
.fslp-service-page .wp-element-button,
.fslp-service-page a.button,
.fslp-service-page .button,
.fslp-service-page input[type="submit"],
.fslp-service-page button[type="submit"] {
    background: linear-gradient(135deg, var(--fslp-accent), var(--fslp-accent-600));
    color: #ffffff;
    border: none;
    border-radius: var(--fslp-radius-md);
    padding: 12px 22px;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(29,78,216,0.18);
}

.fslp-service-page .wp-block-button__link:hover,
.fslp-service-page .wp-element-button:hover,
.fslp-service-page a.button:hover,
.fslp-service-page .button:hover,
.fslp-service-page input[type="submit"]:hover,
.fslp-service-page button[type="submit"]:hover {
    background: var(--fslp-accent-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(29,78,216,0.25);
}

.fslp-btn-secondary {
    background: #f7f7f7;
    color: #333;
    border: 1px solid #ddd;
}

.fslp-btn-secondary:hover {
    background: #e0e0e0;
}

.fslp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.fslp-form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.fslp-success-message {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.fslp-error-message {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

/* Featured Offers Section */
.fslp-offers-section {
    padding: 80px 0;
    background: white;
}

.fslp-offers-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 0 0 48px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fslp-offers-list { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 40px; }

.fslp-offer-card { background: var(--fslp-surface); border: 1px solid var(--fslp-border); border-radius: var(--fslp-radius-lg); padding: 18px 20px; transition: all 0.2s ease; position: relative; }

.fslp-offer-card:hover { box-shadow: var(--fslp-shadow-md); transform: translateY(-2px); border-color: #dbe2ea; }

.fslp-offer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.fslp-lender-info {
    flex: 1;
}

.fslp-lender-name { font-size: 20px; font-weight: 700; color: var(--fslp-text); margin: 0 0 8px 0; }

.fslp-lender-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fslp-lender-rating .fslp-stars {
    color: #FFD700;
    font-size: 14px;
}

.fslp-rating-value { font-size: 14px; font-weight: 600; color: var(--fslp-text); }

.fslp-offer-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fslp-badge-best {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.fslp-badge-popular {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #2196f3;
}

.fslp-offer-details { display: grid; grid-template-columns: 220px 1fr 180px; gap: 16px; align-items: center; }

.fslp-offer-rate { text-align: center; }

.fslp-apr-label { display: block; font-size: 12px; color: var(--fslp-text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

.fslp-apr-value { font-size: 24px; font-weight: 700; color: var(--fslp-primary); }

.fslp-offer-terms {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fslp-term-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.fslp-term-label { color: var(--fslp-text-muted); font-weight: 500; }

.fslp-term-value { color: var(--fslp-text); font-weight: 600; }

.fslp-offer-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.fslp-offer-features .fslp-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.fslp-offer-features .fslp-feature-icon { color: var(--fslp-primary); font-weight: bold; font-size: 12px; }

.fslp-offer-features .fslp-feature-text { color: var(--fslp-text-muted); }

.fslp-offer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.fslp-offer-btn { background: linear-gradient(135deg, var(--fslp-accent), var(--fslp-accent-600)); color: #fff; border: none; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }

.fslp-offer-btn:hover { background: var(--fslp-accent-700); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(29,78,216,0.15); }

.fslp-offer-disclaimer {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.fslp-offers-footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #e1e5e9;
}

.fslp-offers-note {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .fslp-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .fslp-benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .fslp-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .fslp-steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .fslp-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .fslp-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .fslp-offer-details {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .fslp-offer-features {
        min-width: auto;
    }
    
    .fslp-offer-actions {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .fslp-offer-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .fslp-hero-title {
        font-size: 36px;
    }
    
    .fslp-hero-subtitle {
        font-size: 20px;
    }
    
    .fslp-section-title {
        font-size: 28px;
    }
    
    .fslp-archive-title {
        font-size: 32px;
    }
    
    .fslp-trust-indicators {
        flex-direction: column;
        gap: 16px;
    }
    
    .fslp-form-container {
        padding: 24px;
    }
    
    .fslp-container {
        padding: 0 16px;
    }
    
    .fslp-archive-container {
        padding: 20px 16px;
    }
    
    .fslp-form-row {
        grid-template-columns: 1fr;
    }
    
    .fslp-form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .fslp-btn {
        width: 100%;
        justify-content: center;
    }
    
    .fslp-related-grid {
        grid-template-columns: 1fr;
    }
    
    .fslp-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .fslp-hero-title {
        font-size: 28px;
    }
    
    .fslp-hero-subtitle {
        font-size: 18px;
    }
    
    .fslp-section-title {
        font-size: 24px;
    }
    
    .fslp-archive-title {
        font-size: 28px;
    }
    
    .fslp-modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 80vh;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

body.fslp-modal-open {
    overflow: hidden;
}

/* Loading States */
.fslp-loading {
    position: relative;
    pointer-events: none;
}

.fslp-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility */
.fslp-btn:focus,
.fslp-check-offers-btn:focus,
.fslp-form-field input:focus,
.fslp-form-field select:focus,
.fslp-form-field textarea:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Archive Page Minimalistic Card Styles */
.fslp-bootstrap .service-card {
    transition: all 0.2s ease;
    border-radius: 12px !important;
}

.fslp-bootstrap .service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.fslp-bootstrap .service-icon {
    transition: transform 0.2s ease;
}

.fslp-bootstrap .service-card:hover .service-icon {
    transform: scale(1.05);
}

.fslp-bootstrap .service-stats {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
}

.fslp-bootstrap .bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.fslp-bootstrap .opacity-05 {
    opacity: 0.05 !important;
}

/* Archive Hero Section Enhancement */
.fslp-bootstrap .hero-section {
    position: relative;
    overflow: hidden;
}

.fslp-bootstrap .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.fslp-bootstrap .hero-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Service Grid */
.fslp-bootstrap .service-icon-box .card-body {
    z-index: 2;
}

.fslp-bootstrap .category-badge .badge {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Minimalistic Button Styles */
.fslp-bootstrap .btn:hover {
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Print Styles */
@media print {
    .fslp-modal,
    .fslp-check-offers-btn,
    .fslp-cta-button,
    .fslp-hero-cta-btn,
    .fslp-bottom-cta-btn {
        display: none !important;
    }
    
    .fslp-bootstrap .service-icon-box {
        box-shadow: none !important;
        transform: none !important;
    }
}
/* Mobile responsive styles for offers section */
@media (max-width: 768px) {
    .fslp-offer-card {
        padding: 16px;
    }
    
    .offer-content {
        grid-template-columns: 1fr;
        min-height: 200px;
        align-items: stretch;
        gap: 0;
    }
    
    .offer-icon {
        width: 100%;
        height: 100%;
        min-height: 150px;
        border-radius: 12px 12px 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .offer-icon-symbol {
        font-size: 3rem;
        filter: grayscale(100%) brightness(0) invert(1);
    }
    
    .offer-details {
        padding: 1.5rem;
        margin: 0;
        border-radius: 0 0 12px 12px;
    }
    
    .product-icon {
        height: 150px;
    }
    
    .product-icon-symbol {
        font-size: 2.5rem;
    }
    
    .fslp-offer-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .fslp-offer-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .fslp-offer-features {
        order: -1;
    }
    
    .fslp-term-item {
        justify-content: flex-start;
        gap: 8px;
    }
    
    .fslp-term-item::before {
        content: "•";
        color: #666;
    }
    
    .fslp-offer-actions {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .fslp-offer-btn {
        width: 100%;
    }
}

/* Additional mobile responsive styles for smaller devices */
@media (max-width: 576px) {
    .offer-slide {
        padding: 0 0.5rem;
    }
    
    .offer-content {
        min-height: 180px;
        gap: 0;
    }
    
    .offer-icon {
        min-height: 120px;
        border-radius: 12px 12px 0 0;
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .offer-icon-symbol {
        font-size: 2.5rem;
    }
    
    .offer-details {
        padding: 1.25rem;
        margin: 0;
        border-radius: 0 0 12px 12px;
    }
    
    .offer-title {
        font-size: 1.25rem;
    }
    
    .offer-rate {
        font-size: 1.1rem;
    }
    
    .offer-cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* IMPROVED HOMEPAGE STYLES */
.fslp-homepage {
    font-family: 'Inter', sans-serif;
}

/* Hero Section - Updated with Bootstrap Blue Color Scheme */
.fslp-hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 50%, #0a58ca 100%);
    position: relative;
    color: #ffffff;
    overflow: hidden;
}

.fslp-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    transform: skewX(-15deg);
    pointer-events: none;
}

.homepage-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    text-align: center;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.homepage-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    text-align: center;
    margin: 0 0 3rem 0;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fslp-hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: stretch;
    min-height: 300px;
}

/* Hero Left Column */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.hero-main-card {
    background: #ffffff;
    color: #0f172a;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    min-height: 180px;
}

.hero-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    text-decoration: none;
    color: #0f172a;
}

/* Clickable hero card link styles */
.hero-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.hero-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-4px);
}

.hero-card-link:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.ribbon {
    position: absolute;
    top: -8px;
    left: 16px;
    background: #0b1220;
    color: #ffffff;
    padding: 0.5rem 1rem;
    transform: skew(-10deg);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0 0 8px 8px;
    z-index: 10;
}

.hero-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.hero-card-content .icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.hero-card-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.hero-card-text p {
    margin: 0 0 0.75rem 0;
    color: #64748b;
    line-height: 1.5;
}

.hero-card-options {
    color: #0d6efd;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Secondary Cards */
.hero-secondary-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: auto;
}

.hero-small {
    background: #ffffff;
    color: #0f172a;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    text-decoration: none;
    transition: all 0.3s ease;
    align-items: center;
    min-height: 80px;
}

.hero-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #0f172a;
}

.hero-small:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.hero-small .hero-card-content {
    align-items: center;
}

.hero-small .icon {
    font-size: 1.75rem;
}

.hero-small h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}

.hero-small p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* Hero Right Column */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.hero-tiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex: 1;
    align-content: stretch;
    grid-auto-rows: 1fr;
}

.hero-tile {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #0f172a;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 90px;
    height: 100%;
}

.hero-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.hero-tile .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.tile-text {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

.hero-tile-more {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 2px dashed #cbd5e1;
}

.hero-bottom-wide {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.bottom-wide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-weight: 600;
}

.hero-cta-text {
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}

/* Product category badge */
.product-category {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: #0d6efd;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

/* HOMEPAGE SECTIONS STYLES */

/* Common Section Styles */
.fslp-section {
    padding: 4rem 0;
}

.fslp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 3rem 0;
    color: #1f2937;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.view-all-btn {
    background: #0d6efd;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #0f766e;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Featured Offers Section */
.fslp-featured-offers {
    background: #f9fafb;
}

.offers-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-container {
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.offer-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.offer-content {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: stretch;
    min-height: 250px;
    gap: 0;
}

.offer-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Offer Icon Styles */
.offer-icon {
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border-radius: 12px 0 0 12px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.offer-icon-symbol {
    font-size: 4rem;
    filter: grayscale(100%) brightness(0) invert(1);
}

.offer-details {
    padding: 2rem;
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1f2937;
}

.offer-rate {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 0.75rem;
}

.offer-terms {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.offer-cta-btn {
    background: #0d6efd;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.offer-cta-btn:hover {
    background: #0f766e;
    transform: translateY(-2px);
    color: #ffffff;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

/* Products Section */
.fslp-products {
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Product Icon Styles */
.product-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid #0d6efd;
}

.product-icon-symbol {
    font-size: 3.5rem;
    opacity: 0.8;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: #1f2937;
}

.product-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.btn {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #0d6efd;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #0d6efd;
    border: 2px solid #0d6efd;
}

.btn-outline:hover {
    background: #0d6efd;
    color: #ffffff;
}

/* Testimonials Section */
.fslp-testimonials {
    background: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.star {
    color: #d1d5db;
    font-size: 1.25rem;
    margin: 0 0.125rem;
}

.star.filled {
    color: #fbbf24;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    color: #374151;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #1f2937;
    font-style: normal;
}

/* How It Works Section */
.fslp-how-it-works {
    background: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #0d6efd;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-icon {
    font-size: 3rem;
    margin: 1.5rem 0 1rem 0;
    display: block;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #1f2937;
}

/* Featured Blog Posts Section */
.fslp-featured-blog {
    background: #ffffff;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid #0d6efd;
}

.blog-icon {
    font-size: 3rem;
    opacity: 0.6;
}

.blog-post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #0d6efd;
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.blog-post-date {
    font-weight: 600;
}

.blog-post-author {
    position: relative;
}

.blog-post-author::before {
    content: '•';
    position: absolute;
    left: -0.5rem;
    color: #d1d5db;
}

.blog-post-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #0d6efd;
}

.blog-post-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-read-more {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-read-more:hover {
    color: #0b5ed7;
    transform: translateX(3px);
}

.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: #f9fafb;
    border-radius: 12px;
    color: #6b7280;
    font-size: 1.1rem;
}

/* Editorial Blog Grid with Dark Blue Overlay */
.fslp-editorial-blog {
    background: #f8fafc;
    padding: 4rem 0;
    width: 100%;
    overflow: visible;
    display: block;
    visibility: visible;
}

.fslp-editorial-blog .fslp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 200px;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    visibility: visible;
    opacity: 1;
}

.editorial-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: #1e3a8a;
    display: block;
    visibility: visible;
    opacity: 1;
    min-height: 200px;
}

.editorial-item:hover {
    transform: translateY(-4px);
}

.editorial-item:focus-within {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
}

.editorial-featured {
    grid-column: 1;
    grid-row: 1 / 3;
}

.editorial-secondary {
    grid-row: 1;
}

.editorial-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.editorial-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.editorial-highlight {
    grid-column: 2 / 4;
    grid-row: 2;
}

.editorial-fallback {
    grid-column: 1 / 4;
    grid-row: 1;
    height: 250px;
}

.editorial-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.editorial-item:hover .editorial-background {
    transform: scale(1.02);
}

.editorial-item:hover {
    transform: translateY(-4px);
}

.editorial-item:hover .editorial-cta {
    background: rgba(255, 255, 255, 0.25);
}

.editorial-item:hover .editorial-arrow {
    transform: translateX(3px);
}

.editorial-item:focus-within {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
}

.editorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.editorial-wrapper-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
    color: inherit;
    z-index: 3;
}

.editorial-wrapper-link:hover,
.editorial-wrapper-link:focus {
    text-decoration: none;
    color: inherit;
}

.editorial-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.editorial-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.editorial-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.editorial-date {
    opacity: 0.8;
}

.editorial-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1.5rem 0;
    flex: 1;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.editorial-featured .editorial-title {
    font-size: 2rem;
    line-height: 1.2;
}

.editorial-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    align-self: flex-start;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.editorial-arrow {
    transition: transform 0.3s ease;
}

/* Fallback styles */
.editorial-fallback .editorial-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.editorial-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

/* Accessibility - Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .editorial-item,
    .editorial-background,
    .editorial-cta,
    .editorial-arrow {
        transition: none;
    }
    
    .editorial-item:hover {
        transform: none;
    }
    
    .editorial-item:hover .editorial-background {
        transform: none;
    }
}

/* Responsive Design */
/* Large tablets and small desktops */
@media (max-width: 1024px) and (min-width: 769px) {
    .editorial-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 200px 200px;
        gap: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .editorial-featured {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    
    .editorial-item:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    
    .editorial-item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
    
    .editorial-highlight {
        grid-column: 1 / 3;
        grid-row: 3;
    }
    
    .editorial-fallback {
        grid-column: 1 / 3;
    }
    
    .editorial-content {
        padding: 1.5rem;
    }
    
    .editorial-title {
        font-size: 1.2rem;
    }
    
    .editorial-featured .editorial-title {
        font-size: 1.6rem;
    }
}

/* Standard tablets */
@media (max-width: 768px) and (min-width: 481px) {
    .fslp-editorial-blog {
        padding: 3rem 0;
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
        gap: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .editorial-featured,
    .editorial-secondary,
    .editorial-highlight,
    .editorial-fallback {
        grid-column: 1;
        grid-row: auto;
    }
    
    .editorial-item:nth-child(2),
    .editorial-item:nth-child(3) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .editorial-content {
        padding: 1.5rem;
    }
    
    .editorial-title {
        font-size: 1.25rem;
    }
    
    .editorial-featured .editorial-title {
        font-size: 1.5rem;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .fslp-editorial-blog {
        padding: 2rem 0;
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 180px);
        gap: 0.75rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .editorial-featured,
    .editorial-secondary,
    .editorial-highlight,
    .editorial-fallback {
        grid-column: 1;
        grid-row: auto;
    }
    
    .editorial-item:nth-child(2),
    .editorial-item:nth-child(3) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .editorial-content {
        padding: 1.25rem;
    }
    
    .editorial-title {
        font-size: 1.1rem;
    }
    
    .editorial-featured .editorial-title {
        font-size: 1.3rem;
    }
    
    .editorial-cta {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

.editorial-item:nth-child(1) { animation-delay: 0.1s; }
.editorial-item:nth-child(2) { animation-delay: 0.2s; }
.editorial-item:nth-child(3) { animation-delay: 0.3s; }
.editorial-item:nth-child(4) { animation-delay: 0.4s; }
.editorial-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes editorialFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVE DESIGN FOR HOMEPAGE */

/* Tablet Styles */
@media (max-width: 1024px) {
    .homepage-hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .fslp-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .hero-secondary-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .offer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .offer-image {
        order: -1;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    /* Editorial grid tablet styles already defined above */
}

/* Mobile Styles */
@media (max-width: 768px) {
    .fslp-container {
        padding: 0 1rem;
    }
    
    .fslp-section {
        padding: 3rem 0;
    }
    
    .homepage-hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .homepage-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .fslp-hero-section {
        padding: 3rem 0 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-secondary-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-tiles-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-tile {
        min-height: 100px;
        padding: 1.25rem 1rem;
    }
    
    .hero-main-card {
        padding: 1.25rem;
    }
    
    .hero-card-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .hero-card-content .icon {
        margin-top: 0;
    }
    
    .hero-small {
        padding: 1rem;
    }
    
    .hero-small .hero-card-content {
        flex-direction: row;
        text-align: left;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-post-content {
        padding: 1.25rem;
    }
    
    .blog-post-title {
        font-size: 1.1rem;
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    
    .editorial-featured,
    .editorial-secondary,
    .editorial-highlight,
    .editorial-info {
        grid-column: 1;
        grid-row: auto;
    }
    
    .editorial-blog-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    
    .editorial-blog-item.editorial-featured,
    .editorial-blog-item.editorial-secondary,
    .editorial-blog-item.editorial-highlight,
    .editorial-blog-item.editorial-fallback {
        grid-column: 1;
        grid-row: auto;
    }
    
    .editorial-blog-content {
        padding: 1.5rem;
    }
    
    .editorial-blog-title {
        font-size: 1.25rem;
    }
    
    .editorial-blog-item.editorial-featured .editorial-blog-title {
        font-size: 1.75rem;
    }
    
    .offer-slide {
        padding: 0 0.5rem;
    }
    
    .offer-details {
        padding: 1.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .carousel-prev {
        left: 0.5rem;
    }
    
    .hero-cta-text {
        font-size: 0.8rem;
    }
    
    .product-category {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .fslp-container {
        padding: 0 0.75rem;
    }
    
    .homepage-hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .homepage-hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-main-card,
    .hero-small {
        padding: 1rem;
    }
    
    .hero-tile {
        min-height: 80px;
        padding: 1rem 0.75rem;
    }
    
    .hero-tile .icon {
        font-size: 1.5rem;
    }
    
    .tile-text {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .offer-title {
        font-size: 1.25rem;
    }
    
    .offer-rate {
        font-size: 1.1rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .step-icon {
        font-size: 2.5rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .blog-post-image {
        height: 150px;
    }
    
    .blog-post-content {
        padding: 1rem;
    }
    
    .blog-post-title {
        font-size: 1rem;
    }
    
    .blog-post-meta {
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .blog-post-author::before {
        display: none;
    }
    
    /* Editorial styles already defined above */
}

/* Print Styles */
@media print {
    .fslp-hero-section {
        background: none !important;
        color: #000 !important;
    }
    
    .carousel-btn,
    .offer-cta-btn,
    .btn,
    .view-all-btn {
        display: none !important;
    }
    
    .hero-tile:hover,
    .product-card:hover,
    .testimonial-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-tile,
    .hero-main-card,
    .hero-small,
    .product-card,
    .testimonial-card {
        border: 2px solid #000;
    }
    
    .btn-primary,
    .offer-cta-btn,
    .view-all-btn {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-tile,
    .product-card,
    .testimonial-card,
    .step-card,
    .carousel-btn,
    .btn,
    .offer-cta-btn,
    .view-all-btn {
        transition: none !important;
    }
    
    .hero-tile:hover,
    .product-card:hover,
    .testimonial-card:hover {
        transform: none !important;
    }
}

/* Form select visibility fixes */
.fslp-bootstrap .fslp-form-control,
.fslp-bootstrap .fslp-form-group select,
.fslp-bootstrap .fslp-form-group input,
.fslp-bootstrap .fslp-form-group textarea {
  color: var(--fslp-text) !important;
  background-color: #ffffff !important;
  -webkit-text-fill-color: var(--fslp-text) !important; /* Safari */
  background-clip: padding-box;
}

.fslp-bootstrap select.fslp-form-control,
.fslp-bootstrap .fslp-form-group select {
  appearance: auto;
  -webkit-appearance: menulist;
  -moz-appearance: auto;
  line-height: normal;
}

.fslp-bootstrap select.fslp-form-control option,
.fslp-bootstrap .fslp-form-group select option {
  color: #0f172a !important;
  background-color: #ffffff !important;
}

/* Placeholder-like first option */
.fslp-bootstrap select.fslp-form-control option[value=""],
.fslp-bootstrap .fslp-form-group select option[value=""] {
  color: var(--fslp-text-muted) !important;
}

/* HOMEPAGE ANIMATIONS AND EFFECTS */

/* Smooth transitions for interactive elements */
.hero-tile,
.product-card,
.testimonial-card,
.step-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* Animation classes for JavaScript triggers */
.hero-tile-hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.testimonial-visible {
    opacity: 1;
    transform: translateY(0);
}

.step-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel smooth transitions */
.carousel-track {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Hero cards entrance animation */
.hero-main-card,
.hero-small,
.hero-tile {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-main-card {
    animation-delay: 0.2s;
}

.hero-secondary-cards .hero-small:first-child {
    animation-delay: 0.4s;
}

.hero-secondary-cards .hero-small:last-child {
    animation-delay: 0.5s;
}

.hero-tile:nth-child(1) {
    animation-delay: 0.6s;
}

.hero-tile:nth-child(2) {
    animation-delay: 0.7s;
}

.hero-tile:nth-child(3) {
    animation-delay: 0.8s;
}

.hero-tile:nth-child(4) {
    animation-delay: 0.9s;
}

.hero-bottom-wide {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for products grid */
.product-card {
    animation: fadeInScale 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Floating animation for icons */
.step-icon {
    animation: float 3s ease-in-out infinite;
}

.step-card:nth-child(1) .step-icon { animation-delay: 0s; }
.step-card:nth-child(2) .step-icon { animation-delay: 1s; }
.step-card:nth-child(3) .step-icon { animation-delay: 2s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation for call-to-action buttons */
.offer-cta-btn,
.btn-primary {
    position: relative;
    overflow: hidden;
}

.offer-cta-btn::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.offer-cta-btn:hover::before,
.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Testimonial star animation */
.star {
    transition: all 0.3s ease;
}

.testimonial-card:hover .star.filled {
    transform: scale(1.2);
    color: #f59e0b;
}

/* Hero section background animation */
.fslp-hero-section::before {
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.05;
        transform: translateX(-20%) skewX(-15deg);
    }
    50% {
        opacity: 0.1;
        transform: translateX(-10%) skewX(-15deg);
    }
}

/* Section titles entrance animation */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Design for Hero Section Equal Heights */
@media (max-width: 768px) {
    .fslp-hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 1.5rem;
    }
    
    .hero-left,
    .hero-right {
        height: auto;
    }
    
    .hero-tiles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        align-content: start;
    }
    
    .hero-tile {
        min-height: 80px;
        padding: 0.75rem;
    }
    
    .hero-secondary-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-tiles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-tile {
        min-height: 70px;
        padding: 0.75rem;
    }
}

/* Desktop specific improvements for equal heights */
@media (min-width: 769px) {
    .fslp-hero-grid {
        align-items: stretch;
        min-height: 320px;
    }
    
    .hero-left {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .hero-main-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-secondary-cards {
        flex-shrink: 0;
    }
    
    .hero-right {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-tiles-grid {
        height: 100%;
        align-content: center;
    }
}

/* SINGLE SERVICE PAGE STYLES */

/* Hero Review Section */
.service-hero-review {
    position: relative;
    overflow: hidden;
}

.service-hero-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%), 
                linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%), 
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    pointer-events: none;
}

.service-card {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: white !important;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-logo-section {
    position: relative;
    z-index: 1;
}

.service-actions {
    position: relative;
    z-index: 1;
}

/* Service Information Sections */
.service-info-sections .info-card,
.service-info-sections .stats-card,
.service-info-sections .requirements-card,
.service-info-sections .benefits-section {
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: all 0.3s ease;
}

.service-info-sections .info-card:hover,
.service-info-sections .stats-card:hover,
.service-info-sections .requirements-card:hover {
    border-color: rgba(13, 110, 253, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15) !important;
}

.stat-item {
    transition: background-color 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(13, 110, 253, 0.05);
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 4px;
}

.benefit-card {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 300px;
}

.benefit-card:hover {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(11, 94, 215, 0.05));
    transform: translateY(-5px);
}

.benefit-card .benefit-icon {
    transition: transform 0.3s ease;
    display: block;
    text-align: center;
    margin: 0 auto 1.5rem auto;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Feature Items */
.feature-item {
    transition: all 0.3s ease;
    padding: 4px 0;
}

.feature-item:hover {
    padding-left: 8px;
    color: #0d6efd;
}

.req-item {
    transition: all 0.3s ease;
    padding: 4px 0;
}

.req-item:hover {
    padding-left: 8px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 4px;
}

/* Step Card Styling */
.step-card {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.step-card:hover {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(11, 94, 215, 0.05));
    transform: translateY(-5px);
}

.step-icon-wrapper {
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Offer Item Styling */
.offer-item {
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: all 0.3s ease;
}

.offer-item:hover {
    border-color: rgba(13, 110, 253, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15) !important;
}

.company-logo {
    transition: transform 0.3s ease;
}

.offer-item:hover .company-logo {
    transform: scale(1.05);
}

/* FAQ Styling */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(13, 110, 253, 0.02);
    padding: 1rem;
    margin: -1rem -1rem 1rem -1rem;
    border-radius: 8px;
}

.faq-question button {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.faq-question button:hover {
    color: #0d6efd !important;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.faq-question button[aria-expanded="true"] .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .step-card {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .offer-item {
        padding: 1.5rem !important;
    }
    
    .offer-item .row {
        text-align: center;
    }
    
    .offer-item .col-md-3,
    .offer-item .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    .faq-question button {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .step-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
    }
    
    .step-icon-wrapper span {
        font-size: 1.5rem !important;
    }
    
    .offer-item .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .company-logo {
        margin-bottom: 1rem;
    }
}
@media (max-width: 768px) {
    .service-hero-review {
        padding: 3rem 0;
    }
    
    .service-card {
        margin-top: 2rem;
    }
    
    .benefit-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .service-hero-review .display-4 {
        font-size: 2rem;
    }
}