/* ==========================================
   FREE RESOURCES - DESIGN SYSTEM & STYLES
   ========================================== */

   :root {
    --fr-navy-dark: #07122b;
    --fr-navy-hero: #0c1c3e;
    --fr-navy-card: #0c1833;
    --fr-gold: #f5b027;
    --fr-text-muted: #94a3b8;
    --fr-text-dark: #1e293b;
    --fr-border-light: #e2e8f0;
    
    /* Accent Colors */
    --fr-blue: #2563eb;
    --fr-green: #10b981;
    --fr-purple: #7c3aed;
    --fr-red: #ef4444;
    
    /* Background Soft Tints */
    --fr-bg-blue: #eff6ff;
    --fr-bg-green: #ecfdf5;
    --fr-bg-mint: #e6f4f1;
    --fr-bg-orange: #fef3c7;
    --fr-bg-purple: #f3e8ff;
    --fr-bg-lavender: #eef2ff;
  }
  
  .free-resources-page {
    background-color: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--fr-text-dark);
  }
  
  .fr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* ==========================================
     HERO SECTION
     ========================================== */
/* ==========================================================
   FREE RESOURCES HERO SECTION
   ========================================================== */

/* Main Container Wrapper */
.fr-hero {
    position: relative;
    background: linear-gradient(115deg, #020b26 0%, #081a42 50%, #030e2e 100%);
    padding: 60px 0 70px;
    overflow: hidden;
    color: #ffffff;
  }
  
  .fr-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
  }
  
  .fr-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 40px;
  }
  
  /* ==========================================================
     BACKGROUND WAVES, DOTS & GLOW EFFECTS
     ========================================================== */
  .fr-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }
  
  /* Smooth Wavy Curved Backdrop Shapes */
  .fr-hero-wave {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
  }
  
  .fr-hero-wave--1 {
    width: 900px;
    height: 900px;
    top: -30%;
    left: -20%;
    background: radial-gradient(circle, rgba(14, 55, 136, 0.45) 0%, rgba(2, 11, 38, 0) 70%);
  }
  
  .fr-hero-wave--2 {
    width: 750px;
    height: 750px;
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(28, 93, 233, 0.35) 0%, rgba(2, 11, 38, 0) 65%);
  }
  
  /* Ambient Radial Glow behind Right Image */
  .fr-hero-glow {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    filter: blur(50px);
  }
  
  /* Dot Matrix Grid Accent (Center-Top Layer) */
  .fr-hero-dots {
    position: absolute;
    top: 40px;
    left: 45%;
    transform: translateX(-50%);
    width: 220px;
    height: 120px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.8;
  }
  
  /* ==========================================================
     LEFT CONTENT STYLING
     ========================================================== */
  
  /* Free Resources Top Badge */
  .fr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(245, 176, 39, 0.4);
    background: rgba(245, 176, 39, 0.06);
    color: #f5b027;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
  }
  
  /* Main Title */
  .fr-hero-title {
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: -0.5px;
  }
  
  .fr-hero-title .highlight {
    color: #f5b027;
  }
  
  /* Subtitle Description */
  .fr-hero-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 32px;
  }
  
  /* Stats Row */
  .fr-stats-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  
  .fr-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(12, 24, 51, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 12px;
    min-width: 135px;
    transition: border-color 0.2s ease, transform 0.2s ease;
  }
  
  .fr-stat-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
  }
  
  .fr-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #ffffff;
    flex-shrink: 0;
  }
  
  .fr-stat-icon.blue { background-color: #2563eb; }
  .fr-stat-icon.green { background-color: #10b981; }
  .fr-stat-icon.purple { background-color: #7c3aed; }
  
  .fr-stat-info {
    display: flex;
    flex-direction: column;
  }
  
  .fr-stat-info strong {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
  }
  
  .fr-stat-info span {
    font-size: 11px;
    color: #94a3b8;
  }
  
  /* ==========================================================
     RIGHT MEDIA CONTAINER (IMAGE ONLY)
     ========================================================== */
  .fr-hero-media {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
  }
  
  .fr-hero-img {
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
  }
  
  /* ==========================================================
     RESPONSIVE DESIGN
     ========================================================== */
  @media (max-width: 991px) {
    .fr-hero-grid {
      grid-template-columns: 1fr;
      gap: 36px;
      text-align: center;
    }
  
    .fr-hero-desc {
      margin-left: auto;
      margin-right: auto;
    }
  
    .fr-stats-row {
      justify-content: center;
    }
  
    .fr-hero-media {
      justify-content: center;
    }
  }
  
  @media (max-width: 576px) {
    .fr-hero {
      padding: 40px 0 50px;
    }
  
    .fr-stats-row {
      flex-direction: column;
      width: 100%;
    }
  
    .fr-stat-card {
      width: 100%;
      justify-content: flex-start;
    }
  
    .fr-hero-dots {
      display: none;
    }
  }

  /* Hero Parent Section Adjustments */
.fr-hero {
    position: relative;
    background: linear-gradient(115deg, #020b26 0%, #081a42 50%, #030e2e 100%);
    padding: 60px 0 100px; /* Increased bottom padding for the wave height */
    overflow: hidden;
    color: #ffffff;
  }
  
  /* Wavy Bottom Divider Styling */
  .fr-hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
  }
  
  .fr-hero-wave-bottom svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px; /* Adjust height of the curve as needed */
  }
  
  /* Match the fill color of the wave path to the page/next section's background color */
  .fr-hero-wave-bottom path {
    fill: #f8fafc; /* Change to match your main body/content background color */
  }
  
  @media (max-width: 768px) {
    .fr-hero {
      padding-bottom: 70px;
    }
    .fr-hero-wave-bottom svg {
      height: 35px;
    }
  }
  
  /* ==========================================
     CONTENT WRAPPER & SECTIONS
     ========================================== */
  .fr-content-wrapper {
    padding-top: 50px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  
  .fr-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  
  .fr-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .fr-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
  }
  
  .fr-section-icon.blue { background-color: var(--fr-blue); }
  .fr-section-icon.green { background-color: var(--fr-green); }
  .fr-section-icon.purple { background-color: var(--fr-purple); }
  
  .fr-header-left h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
  }
  
  .fr-header-left p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
  }
  
  .fr-view-all {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s;
  }
  
  .fr-view-all:hover {
    transform: translateX(3px);
  }
  
  .fr-view-all.blue { color: var(--fr-blue); }
  .fr-view-all.green { color: var(--fr-green); }
  .fr-view-all.purple { color: var(--fr-purple); }
  
  /* Grid for Cards */
  .fr-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  /* Resource Card Structure */
  .fr-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--fr-border-light);
    display: grid;
    grid-template-columns: 180px 1fr;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .fr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  }
  
  /* Card Image Containers with specific Soft Tints */
  .fr-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  
  .bg-light-blue { background-color: var(--fr-bg-blue); }
  .bg-light-green { background-color: var(--fr-bg-green); }
  .bg-light-mint { background-color: var(--fr-bg-mint); }
  .bg-light-orange { background-color: var(--fr-bg-orange); }
  .bg-light-purple { background-color: var(--fr-bg-purple); }
  .bg-light-lavender { background-color: var(--fr-bg-lavender); }
  
  .fr-card-img img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
  }
  
  /* Card Body */
  .fr-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
  }
  
  .fr-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 10px;
  }
  
  .tag-blue { background: #dbeafe; color: #1e40af; }
  .tag-purple { background: #f3e8ff; color: #6b21a8; }
  .tag-red { background: #fee2e2; color: #991b1b; }
  
  .fr-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
  }
  
  .fr-card-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 14px 0;
  }
  
  .fr-card-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
    margin-top: auto;
    margin-bottom: 14px;
  }
  
  .fr-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .fr-card-link {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  
  .fr-card-link.blue { color: var(--fr-blue); }
  .fr-card-link.green { color: var(--fr-green); }
  .fr-card-link.purple { color: var(--fr-purple); }
  
  /* ==========================================
     BOTTOM CTA BANNER
     ========================================== */
    /* ==========================================================
   FREE RESOURCES - EXACT BOTTOM CTA BANNER
   ========================================================== */

.fr-cta-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #020a1f 0%, #07173e 50%, #020b22 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 32px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(2, 9, 28, 0.35);
  }
  
  /* Container Grid */
  .fr-cta-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Inline Background SVG Layer */
  .fr-cta-svg-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  
  /* Center Text & Button */
  .fr-cta-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .fr-cta-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
  }
  
  .fr-cta-subtitle {
    color: #94a3b8;
    font-size: 13px;
    margin: 0 0 16px 0;
    font-weight: 400;
  }
  
  /* Yellow Button */
  .fr-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5b027;
    color: #050d24;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(245, 176, 39, 0.25);
    transition: all 0.2s ease;
  }
  
  .fr-cta-btn:hover {
    background: #f1a712;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 176, 39, 0.35);
  }
  
  .fr-cta-btn i {
    font-size: 11px;
    transition: transform 0.2s ease;
  }
  
  .fr-cta-btn:hover i {
    transform: translateX(3px);
  }
  
  /* Left & Right Graphics */
  .fr-cta-side {
    display: flex;
    align-items: center;
  }
  
  .fr-cta-left {
    justify-content: flex-start;
  }
  
  .fr-cta-right {
    justify-content: flex-end;
  }
  
  .fr-cta-img-left,
  .fr-cta-img-right {
    max-width: 100%;
    height: 95px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
  }
  
  /* ==========================================================
     RESPONSIVE LAYOUT
     ========================================================== */
  
  @media (max-width: 991px) {
    .fr-cta-container {
      grid-template-columns: 150px 1fr 150px;
    }
    .fr-cta-img-left,
    .fr-cta-img-right {
      height: 75px;
    }
  }
  
  @media (max-width: 768px) {
    .fr-cta-banner {
      padding: 24px 16px;
    }
  
    .fr-cta-container {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  
    .fr-cta-side {
      display: none; /* Hides heavy graphics on small screens */
    }
  
    .fr-cta-title {
      font-size: 18px;
    }
  
    .fr-cta-subtitle {
      font-size: 12px;
    }
  }
  
  /* ==========================================
     RESPONSIVE DESIGN
     ========================================== */
  @media (max-width: 992px) {
    .fr-hero-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .fr-hero-desc {
      margin-left: auto;
      margin-right: auto;
    }
  
    .fr-stats-grid {
      justify-content: center;
    }
  
    .fr-cards-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 640px) {
    .fr-hero-title {
      font-size: 30px;
    }
  
    .fr-card {
      grid-template-columns: 1fr;
    }
  
    .fr-card-img {
      height: 140px;
    }
  
  
  }