/* Publications Marquee Section */
.publications-marquee-section {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(233, 236, 239, 0.9) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(10, 132, 199, 0.1);
    border-bottom: 1px solid rgba(10, 132, 199, 0.1);
}

.publications-marquee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(10, 132, 199, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(30, 58, 95, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.marquee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 20px;
}

.marquee-header h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--primary, #0A84C7);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.marquee-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary, #0A84C7), var(--primary-dark, #1E3A5F));
    border-radius: 2px;
}

/* Container for both buttons */
.marquee-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    column-gap: 20px; /* explicit for older engines */
    row-gap: 12px;     /* vertical spacing when wrapped */
    flex-wrap: wrap;
}

/* Marquee buttons - inherits from btn-outline-primary btn-lg */
.marquee-btn {
    white-space: nowrap;
}

/* Fallback for browsers without flex-gap support */
@supports not (gap: 1rem) {
    .marquee-header-actions {
        /* create space compensation for bottom row */
        margin-bottom: -12px;
    }
    .marquee-header-actions .marquee-btn {
        margin-right: 20px;
        margin-bottom: 12px;
    }
}

/* Responsive adjustments for marquee header */
@media (max-width: 991.98px) {
    .marquee-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .marquee-header h3 {
        font-size: 1.6rem;
    }
    
    .marquee-header-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
    }
}

@media (max-width: 575.98px) {
    .marquee-header {
        gap: 15px;
    }
    
    .marquee-header h3 {
        font-size: 1.4rem;
    }
    
    .marquee-header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }
    
    .marquee-btn {
        width: 100%;
        justify-content: center;
    }
}

.marquee-container {
    position: relative;
    overflow: hidden;
    margin: 0 -15px;
    z-index: 2;
    /* Perfect infinite scrolling container */
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 30px;
    animation: marqueeScroll 32s linear infinite;
    padding: 20px 0;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.publication-marquee-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    border: 2px solid transparent;
    /* Background image properties */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Add overlay for better text readability */
.publication-marquee-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.92) 40%,
        rgba(255, 255, 255, 0.88) 100%
    );
    z-index: 1;
    transition: all 0.4s ease;
}

/* Hover effect for overlay */
.publication-marquee-card:hover::after {
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.90) 0%, 
        rgba(255, 255, 255, 0.85) 40%,
        rgba(255, 255, 255, 0.80) 100%
    );
}

/* Ensure content appears above overlay */
.publication-marquee-card > * {
    position: relative;
    z-index: 2;
}

/* Image header card styling */
.publication-marquee-card.with-image {
    padding: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

/* Image header section */
.card-image-header {
    height: 120px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary, #0A84C7), var(--secondary, #4A90A4));
}

.card-image-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.publication-marquee-card.with-image:hover .card-image-header img {
    transform: scale(1.05);
}

/* Image overlay for better contrast */
.card-image-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(10, 132, 199, 0.1) 0%,
        rgba(30, 58, 95, 0.05) 100%
    );
    z-index: 1;
}

/* Content section with restored padding */
.card-content-section {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Adjust icon positioning for image cards */
.publication-marquee-card.with-image .publication-type-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary, #0A84C7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(10, 132, 199, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

/* Enhanced styling for image cards */
.publication-marquee-card.with-image .publication-category-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary, #0A84C7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 132, 199, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.publication-marquee-card.with-image .publication-marquee-title {
    color: var(--dark, #1E3A5F);
    font-weight: 600;
    white-space: normal;
    word-wrap: break-word;
}

.publication-marquee-card.with-image .publication-marquee-meta {
    background: rgba(248, 249, 250, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 12px 15px;
    margin-top: 15px;
    border: 1px solid rgba(10, 132, 199, 0.1);
}

.publication-marquee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #0A84C7), var(--secondary, #4A90A4));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.publication-marquee-card:hover::before {
    transform: scaleX(1);
}

.publication-marquee-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 132, 199, 0.2);
    border-color: rgba(10, 132, 199, 0.2);
}

.publication-type-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary, #0A84C7), var(--secondary, #4A90A4));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.publication-marquee-card:hover .publication-type-icon {
    transform: scale(1.1) rotate(5deg);
}

.publication-category-badge {
    background: linear-gradient(135deg, rgba(10, 132, 199, 0.1), rgba(74, 144, 164, 0.1));
    color: var(--primary, #0A84C7);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 12px;
    border: 1px solid rgba(10, 132, 199, 0.2);
}

.publication-marquee-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark, #1E3A5F);
    margin-bottom: 8px;
    line-height: 1.4;
    /* Normalize height to exactly two lines across browsers */
    min-height: calc(2 * 1.4em);
    max-height: calc(2 * 1.4em);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.publication-marquee-card:hover .publication-marquee-title {
    color: var(--primary, #0A84C7);
}

.publication-marquee-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(10, 132, 199, 0.1);
}

.publication-marquee-date {
    font-size: 12px;
    color: var(--dark-gray, #6c757d);
    display: flex;
    align-items: center;
    gap: 5px;
}

.publication-marquee-action {
    font-size: 11px;
    color: var(--primary, #0A84C7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.publication-marquee-card:hover .publication-marquee-action {
    transform: translateX(3px);
}

/* Duplicate track for seamless loop */
.marquee-track::after {
    content: '';
    display: block;
    width: 30px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .publications-marquee-section {
        padding: 50px 0;
    }
    
    .marquee-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .marquee-header h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .publication-marquee-card {
        min-width: 280px;
        max-width: 280px;
        padding: 20px;
    }
    
    .marquee-track {
        animation-duration: 35s;
    }
}

@media (max-width: 768px) {
    .publications-marquee-section {
        padding: 40px 0;
    }
    
    .publication-marquee-card {
        min-width: 250px;
        max-width: 250px;
        padding: 18px;
    }
    
    .publication-marquee-card.with-image {
        min-width: 250px;
        max-width: 250px;
    }
    
    .card-image-header {
        height: 100px;
    }
    
    .publication-marquee-card.with-image .publication-type-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .card-content-section {
        padding: 18px;
    }
    
    .marquee-track {
        gap: 20px;
        animation-duration: 40s;
        width: calc(200% + 40px);
    }
    
    .publication-type-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .publication-marquee-title {
        font-size: 0.9rem;
    }
}

/* Add floating particles effect */
.marquee-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.marquee-particle {
    position: absolute;
    background: rgba(10, 132, 199, 0.1);
    border-radius: 50%;
    animation: floatMarquee 8s ease-in-out infinite;
}

@keyframes floatMarquee {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

    /* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, var(--primary, #0A84C7) 0%, var(--primary-dark, #1E3A5F) 100%);
    min-height: 72vh;
    display: flex;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/crc-header-image-1.jpg') no-repeat center center;
    background-size: cover;
    background-position: center center;
    opacity: 0.08;
    animation: fadeInBackground 2s ease-in-out;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
}

@media (min-width: 1200px) {
    .hero-content {
        padding-right: 4rem;
        padding-left: 1rem;
    }
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.2rem); /* Closer to careers scale but responsive */
    font-weight: 700;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 1.2rem;
    animation: slideInFromLeft 1s ease-out;
    text-shadow: 0 4px 8px rgba(0,0,0,0.25);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.4vw, 1.4rem);
    color: rgba(255,255,255,0.92);
    margin-bottom: 2.4rem;
    line-height: 1.5;
    animation: slideInFromLeft 1.15s ease-out;
    max-width: 860px;
    margin-left: 0;
    margin-right: 0;
}


.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: slideInFromBottom 1.4s ease-out;
}

        .hero-slider-container {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            margin-top: 1.7rem;
        }

        .hero-slider {
            width: 100%;
            position: relative;
            flex-direction: column;
            gap: 2rem;
            max-width: 800px;
        }

        .hero-slider .slide {
            display: none;
        }

        .hero-slider .slide.active {
            display: block;
        }

        .video-frame {
            width: 100%;
            height: 100%;
            max-width: 800px;
            aspect-ratio: 16 / 9;
            border-radius: 12px;
        }

        .nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            cursor: pointer;
            font-size: 18px;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            z-index: 10;
        }

        .nav:hover {
            background: rgba(10, 132, 199, 1);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        .nav.prev {
            left: 12px;
        }

        .nav.next {
            right: 12px;
        }

        .nav:focus-visible {
            outline: 2px solid #0A84C7;
            outline-offset: 2px;
        }

        .video-container {
            position: relative;
            cursor: pointer;
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            cursor: pointer;
            z-index: 5;
            border-radius: 12px;
        }

        @media (max-width: 992px) {
            .hero-section {
                min-height: 50vh;
                padding: 40px 0;
                flex-direction: column;
            }

            .hero-content {
                text-align: left;
                padding: 1rem;
                align-items: flex-start;
            }

            .hero-slider-container {
                margin-top: 2rem;
                width: 100%;
            }

            .hero-slider {
                gap: 1rem;
            }


            .hero-cta-buttons {
                width: 100%;
                justify-content: flex-start;
                align-items: flex-start;
            }
        }

        @media (min-width: 992px) and (max-width: 1199.98px) {
            .hero-title {
                font-size: clamp(2rem, 4.8vw, 2.6rem);
                line-height: 1.2;
            }
            .hero-subtitle {
                font-size: clamp(0.95rem, 1.6vw, 1.15rem);
                max-width: 640px;
            }

            .hero-section .row.align-items-center {
                flex-direction: column;
                gap: 1.5rem;
            }
            .hero-content {
                width: 100%;
                padding-right: 0;
            }
            .hero-slider-container {
                width: 100%;
                margin-top: 0.5rem; 
                justify-content: flex-start; 
                padding-left: 2rem; 
            }
            .hero-slider { max-width: 700px; width: 100%; }
            .video-frame {
                max-width: 700px;
                width: 100%;
                margin: 0; 
            }
            .hero-cta-buttons {
                gap: 0.75rem;
            }
        }


        @media (min-width: 1200px) and (max-width: 1399.98px) {
            .hero-title {
                font-size: clamp(2.2rem, 4.5vw, 3rem);
            }
            .hero-subtitle {
                font-size: clamp(1rem, 1.6vw, 1.25rem);
                max-width: 720px;
            }
            .hero-slider-container {
                padding-left: 1rem;
            }
            .video-frame {
                max-width: 760px;
            }
        }

        @media (max-width: 576px) {
            .video-frame {
                max-width: 100%;
            }
            .nav { width: 32px; height: 32px; font-size: 16px; }
            .nav.prev { left: 8px; }
            .nav.next { right: 8px; }
        }
        
/* Buttons Styling */
.btn-hero-primary {
    background: #16A085;
    color: white;
    border: 2px solid #16A085;
    padding: 14px 30px;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    background: #FFFFFF;
    color: var(--primary, #0A84C7);
    border-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255,255,255,0.55);
    padding: 14px 30px;
    font-weight: 500;
    border-radius: 10px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255,255,255,0.25);
}


/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInFromBottom 1.6s ease-out;
}

.hero-stat {
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.hero-stat:hover {
    transform: scale(1.1);
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.2rem;
    display: block;
    animation: countUp 2s ease-out;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Global animations */
@keyframes fadeInBackground {
    from { opacity: 0; }
    to { opacity: 0.2; }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

    
    /* Services Section */
    .services-section {
        padding: 100px 0;
        background: #f8f9fa;
    }
    
    /* Main content section titles - not affecting footer */
    .hero-section .section-title,
    .services-section .section-title,
    .products-section .section-title,
    .about-section .section-title,
    .why-choose-section .section-title,
    .awards-section .section-title,
    .newsletter-section .section-title,
    .free-report-section .section-title,
    .how-it-works-section .section-title {
        font-size: 2.4rem;
        font-weight: 600;
        color: var(--primary, #0A84C7);
        margin-bottom: 1.2rem;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: .5px;
    }
    
    /* Section titles - also scoped to main content sections */
    .hero-section .section-title,
    .services-section .section-title,
    .products-section .section-title,
    .about-section .section-title,
    .why-choose-section .section-title,
    .awards-section .section-title,
    .newsletter-section .section-title,
    .free-report-section .section-title,
    .how-it-works-section .section-title,
    section .section-title {
        font-size: 2.4rem;
        font-weight: 600;
        color: var(--primary, #0A84C7);
        margin-bottom: 1.2rem;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: .5px;
    }
    
    /* Section subtitles - also scoped to main content sections */
    .hero-section .section-subtitle,
    .services-section .section-subtitle,
    .products-section .section-subtitle,
    .about-section .section-subtitle,
    .why-choose-section .section-subtitle,
    .awards-section .section-subtitle,
    .newsletter-section .section-subtitle,
    .free-report-section .section-subtitle,
    .how-it-works-section .section-subtitle,
    section .section-subtitle {
        font-size: 1.1rem;
        color: #6c757d;
        text-align: center;
        margin-bottom: 4rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card {
        background: white;
        border-radius: 16px;
        padding: 2.5rem;
        text-align: center;
        border: none;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        height: 100%;
        position: relative;
        overflow: hidden;
        transform: translateY(0);
    }
    
    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #0A84C7, #1E3A5F);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }
    
    .service-card:hover::before {
        transform: scaleX(1);
    }
    
    .service-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 50px rgba(10, 132, 199, 0.2);
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
        background: linear-gradient(135deg, #0A84C7, #1E3A5F);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .service-icon::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.4s ease;
    }
    
    .service-card:hover .service-icon::before {
        width: 100px;
        height: 100px;
    }
    
    .service-card:hover .service-icon {
        transform: scale(1.1) rotate(5deg);
    }
    
    .service-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1E3A5F;
        margin-bottom: 1rem;
        transition: color 0.3s ease;
    }
    
    .service-card:hover .service-title {
        color: #0A84C7;
    }
    
    .service-description {
        color: #6c757d;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        transition: color 0.3s ease;
    }
    
    .service-link {
        color: #0A84C7;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .service-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #0A84C7;
        transition: width 0.3s ease;
    }
    
    .service-link:hover::after {
        width: 100%;
    }
    
    .service-link:hover {
        color: #1E3A5F;
        transform: translateX(5px);
    }
    
   /* About Section */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
    max-width: 600px;
    
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-container {
    position: relative;
    width: 100%;
    height: auto; 
    min-height: 350px; 
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    border-radius: 16px;
    max-height: 100%; 
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(10, 132, 199, 0.05), rgba(30, 58, 95, 0.05));
    border-radius: 16px; 
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .about-content {
        flex-direction: column; 
        gap: 2rem; 
    }

    .about-image-container,
    .about-image > div {
        height: auto; 
        min-height: 250px; 

    }
    
    .about-text {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .about-content {
        flex-direction: column;
        gap: 3rem;
        text-align: left;
    }
    
    .about-image {
        justify-content: center;
    }
    
    .about-text {
        text-align: left; 
        max-width: 100%;
        padding-top: 50px;
    }
    
    .about-image-container {
        min-height: 280px; 
        max-height: 350px; 
    }
}

.about-section .section-title {
    position: relative; 
}

.about-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #0A84C7), var(--primary-dark, #1E3A5F));
    border-radius: 2px;
}

/* Center underline on mobile where content is centered */
@media (max-width: 767px) {
    .about-text { text-align: center; }
    .about-text .btn { width: 100%; justify-content: center; }
    .about-section .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}


@media (min-width: 768px) {
    .about-section .section-title::after {
        left: 0;
        transform: none;
    }
}

@media (min-width: 992px) {
    .about-content {
        gap: 3rem; 
    }

    .about-image-container {
        min-height: 400px; 
        max-height: 500px;
    }
}

    
    /* Why Choose Us Section */
    .why-choose-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    .feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .feature-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 2rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #0A84C7, #1E3A5F);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .feature-content h4 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1E3A5F;
        margin-bottom: 0.5rem;
    }
    
    .feature-content p {
        color: #6c757d;
        margin-bottom: 0;
        line-height: 1.6;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #0A84C7 0%, #1E3A5F 100%);
        color: white;
        text-align: center;
    }
    
    .cta-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* How It Works Section */
    .how-it-works-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        position: relative;
    }
    
    .how-it-works-timeline {
        position: relative;
        max-width: 1000px;
        margin: 4rem auto 0;
    }
    
    .timeline-line {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 4px;
        transform: translateY(-50%);
        z-index: 1;
        border-radius: 2px;
        height: calc(100% - 60px);
    }
    
    .timeline-steps {
        display: flex;
        justify-content: space-between;
        position: relative;
        z-index: 2;
    }
    
    .timeline-step {
        flex: 1;
        text-align: center;
        position: relative;
        max-width: 180px;
    }
    
    .step-circle {
        width: 80px;
        height: 80px;
        background: white;
        border: 4px solid #0A84C7;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        position: relative;
        z-index: 3;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(10, 132, 199, 0.2);
    }
    
    .step-circle:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 30px rgba(10, 132, 199, 0.3);
    }
    
    .step-circle .step-number {
        font-size: 1.5rem;
        font-weight: 700;
        color: #0A84C7;
    }
    
    .step-content {
        background: white;
        padding: 2rem 1.5rem;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border-top: 4px solid #0A84C7;
    }
    
    .step-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(10, 132, 199, 0.15);
    }
    
    .step-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1E3A5F;
        margin-bottom: 0.8rem;
    }
    
    .step-description {
        color: #6c757d;
        line-height: 1.6;
        font-size: 0.9rem;
    }

    /* Timeline Adjustments for Screen Width 769px-992px */
@media (min-width: 769px) and (max-width: 992px) {
    .how-it-works-timeline {
        margin-top: 2rem;
        padding: 0 20px; 
    }

    /* Adjust Timeline Line */
    .timeline-line {
        width: 2px; 
        left: 50%; 
        transform: translateX(-50%);
        height: 100%; 
    }

  
    .timeline-steps {
        flex-direction: column; 
        align-items: center; 
        margin-top: 2rem;
    }

    /* Adjust Individual Timeline Steps */
    .timeline-step {
        max-width: 100%; 
        margin-bottom: 30px; 
        width: 80%; 
    }

    /* Step Circle Adjustments for Medium Screens */
    .step-circle {
        width: 70px; 
        height: 70px;
        font-size: 1.4rem;
    }

    /* Step Content Adjustments */
    .step-content {
        width: 100%; 
        padding: 1.5rem 1rem; 
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border-top: 4px solid #0A84C7;
    }

    /* Step Title */
    .step-title {
        font-size: 1rem; 
    }

    /* Step Description */
    .step-description {
        font-size: 0.9rem;
    }
}
    
    /* Free Credit Report Section */
    .free-report-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        position: relative;
        overflow: hidden;
    }
    
    .free-report-content {
        display: flex;
        align-items: center;
        /* gap: 1rem; Reduced to align with About section gutters */
        min-height: 500px;
    }
    
    .free-report-image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    

    .about-image,
    .free-report-image {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .about-image-container,
    .about-image > div,
    .free-report-image > div {
        max-width: 700px; 
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .free-report-image img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s ease;
    }
    
    .free-report-image:hover img {
        transform: scale(1.02);
    }
    
    .free-report-text {
        flex: 1;
        max-width: 600px;
        padding: 2rem;
    }

    /* Responsive Adjustments for Free Report Section */
    @media (max-width: 767px) {
        .free-report-content {
            flex-direction: column;
            gap: 2rem;
        }
        
        .free-report-text {
            text-align: left;
            padding: 1rem;
        }
    }

    @media (min-width: 768px) and (max-width: 991px) {
        .free-report-content {
            flex-direction: column;
            gap: 3rem;
            text-align: left; 
        }
        
        .free-report-image {
            justify-content: center;
        }
        
        .free-report-text {
            text-align: left; 
            max-width: 100%;
            padding: 1rem;
        }
    }

    @media (min-width: 992px) {
        .about-image-container,
        .about-image > div,
        .free-report-image > div { max-width: 760px; }
    }
    
    .free-report-title {
        font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
        line-height: 1.2;
        font-weight: 700;
        color: var(--primary, #171582);
        margin-bottom: 1.5rem;
        position: relative;
    }
    
    .free-report-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary, #0A84C7), var(--primary-dark, #1E3A5F));
        border-radius: 2px;
    }
   
    @media (max-width: 767px) {
        .free-report-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
    }
    @media (min-width: 768px) {
        .free-report-title::after {
            left: 0;
            transform: none;
        }
    }
    
    .free-report-subtitle {
        
        font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.125rem);
        color: var(--dark-gray, #6c757d);
        margin-bottom: 2rem;
        line-height: 1.7;
        max-width: 680px;
    }
    
    .free-report-highlight {
        background: white;
        border-radius: 16px;
        padding: 2rem;
        margin: 2rem 0;
        border-left: 6px solid #0A84C7;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }
    
    .free-report-highlight::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, rgba(10, 132, 199, 0.1), transparent);
        border-radius: 50%;
        transform: translate(30px, -30px);
    }
    
    .promo-code {
        background: linear-gradient(135deg, var(--primary, #0A84C7), var(--primary-dark, #1E3A5F));
        color: white;
        font-size: small;
        padding: 8px 16px;
        border-radius: 8px;
        font-weight: 700;
        display: inline-block;
        margin: 0 4px;
        position: relative;
        animation: pulseGlow 2s infinite;
    }
    
    @keyframes pulseGlow {
        0%, 100% { box-shadow: 0 0 0 0 rgba(10, 132, 199, 0.4); }
        50% { box-shadow: 0 0 20px 10px rgba(10, 132, 199, 0.1); }
    }
    
    .free-report-cta {
        margin-top: 2rem;
    }
   
    .free-report-cta .btn {
        background: linear-gradient(135deg, var(--primary, #0A84C7), var(--primary-dark, #1E3A5F));
        color: #fff;
        border: 0;
        padding: 16px 28px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1.05rem;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(10, 132, 199, 0.18);
    }

    .free-report-cta .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
        transition: left 0.6s;
    }

    .free-report-cta .btn:hover::before {
        left: 100%;
    }

    .free-report-cta .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 38px rgba(10, 132, 199, 0.28);
        color: #fff;
    }

   
    @media (min-width: 992px) and (max-width: 1199.98px) {
        .free-report-content {
            gap: 2rem; 
        }
        .free-report-text {
            max-width: 560px;
            padding: 1.5rem;
            text-align: left;
        }
    }
    
    .btn-free-report {
        background: linear-gradient(135deg, #0A84C7, #1E3A5F);
        color: white;
        border: none;
        padding: 18px 35px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1.1rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .btn-free-report::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.6s;
    }
    
    .btn-free-report:hover::before {
        left: 100%;
    }
    
    .btn-free-report:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(10, 132, 199, 0.3);
        color: white;
    }
    
    /* Products Section */
    .products-section {
        padding: 100px 0;
        background: white;
    }
    
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .product-card {
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        position: relative;
        transform: translateY(0);
    }
    
    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #0A84C7, #1E3A5F);
        transform: scaleX(0);
        transition: transform 0.4s ease;
        z-index: 1;
    }
    
    .product-card:hover::before {
        transform: scaleX(1);
    }
    
    .product-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 50px rgba(10, 132, 199, 0.2);
        border-color: transparent;
    }
    
    .product-image {
        height: 200px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        padding: 15px;
    }
    
    .product-image img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
        transition: all 0.4s ease;
    }
    
    .product-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 132, 199, 0.1);
        opacity: 0;
        transition: all 0.4s ease;
    }
    
    .product-card:hover .product-image::before {
        opacity: 1;
    }
    
    .product-card:hover .product-image img {
        transform: scale(1.05);
    }
    

    .product-image-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #0A84C7, #1E3A5F);
        border-radius: 8px;
        color: white;
        font-size: 2.5rem;
    }
    
    .product-content {
        padding: 2rem;
    }
    
    .product-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1E3A5F;
        margin-bottom: 1rem;
        transition: color 0.3s ease;
    }
    
    .product-card:hover .product-title {
        color: #0A84C7;
    }
    
    .product-description {
        color: #6c757d;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .product-price {
        font-size: 1.5rem;
        font-weight: 700;
        color: #0A84C7;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
    }
    
    .product-card:hover .product-price {
        transform: scale(1.05);
    }
    
    .product-link {
        display: inline-flex;
        align-items: center;
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        align-self: flex-start; 
        text-transform: uppercase; 
        letter-spacing: 0.5px;
        gap: 0.5rem;
    }
    
    .product-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }
    
    .product-link:hover::after {
        width: 100%;
    }
    
    .product-link:hover {
        color: var(--primary-dark);
        transform: translateX(5px);
    }
    
    /* Awards Section */
    .awards-section {
        padding: 100px 0;
        background: #f8f9fa;
    }
    
    .awards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .award-item {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }
    
    .award-item:hover {
        transform: translateY(-5px);
    }
    
    .award-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #0A84C7, #1E3A5F);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2rem;
        margin: 0 auto 1.5rem;
    }
    
    .award-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1E3A5F;
        margin-bottom: 0.5rem;
    }
    
    .award-year {
        color: #0A84C7;
        font-weight: 600;
        font-size: 0.9rem;
    }
    
   
    .blog-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
        position: relative;
        overflow: hidden;
    }
    
    .blog-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(10, 132, 199, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(30, 58, 95, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 40% 40%, rgba(10, 132, 199, 0.03) 0%, transparent 50%);
        animation: backgroundShift 20s ease-in-out infinite alternate;
        pointer-events: none;
        z-index: 0;
    }
    
    @keyframes backgroundShift {
        0% { opacity: 0.3; transform: translateX(-10px); }
        100% { opacity: 0.6; transform: translateX(10px); }
    }
    
    /* Particles Container */
    .particles-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
    }

 
    .blog-section > .container {
        position: relative;
        z-index: 2;
    }


    .blog-section .post-card-image-wrap,
    .blog-section .post-card-title a,
    .blog-section .post-read-more {
        position: relative;
        z-index: 3;
    }
    



    
    /* View All Button */
    .btn-blog-more {
        display: inline-block;
        position: relative;
        padding: 16px 32px;
        background: linear-gradient(135deg, var(--primary, #0A84C7) 0%, var(--primary-dark, #1E3A5F) 100%);
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        border: 2px solid transparent;
    }
    
    .btn-blog-more::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s;
    }
    
    .btn-blog-more:hover::before {
        left: 100%;
    }
    
    .btn-blog-more:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 15px 35px rgba(10, 132, 199, 0.3);
        color: white;
        background: linear-gradient(135deg, var(--primary-light, #4A90A4) 0%, var(--primary, #0A84C7) 100%);
    }
    
    .btn-content {
        position: relative;
        z-index: 2;
    }
    
    .btn-ripple {
        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;
    }
    
    .btn-blog-more:active .btn-ripple {
        width: 300px;
        height: 300px;
    }
    
    /* No Posts State */
    .no-posts-icon {
        width: 100px;
        height: 100px;
        margin: 0 auto 2rem;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        color: #6c757d;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }
    
    /* Floating Bubbles Animation */
    .floating-bubbles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
    }
    
    .bubble {
        position: absolute;
        background: linear-gradient(135deg, rgba(10, 132, 199, 0.1), rgba(30, 58, 95, 0.05));
        border-radius: 50%;
        animation: float 6s ease-in-out infinite;
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .bubble:nth-child(1) {
        width: 40px;
        height: 40px;
        left: 10%;
        animation-delay: 0s;
        animation-duration: 6s;
    }
    
    .bubble:nth-child(2) {
        width: 20px;
        height: 20px;
        left: 20%;
        animation-delay: 2s;
        animation-duration: 8s;
    }
    
    .bubble:nth-child(3) {
        width: 50px;
        height: 50px;
        left: 35%;
        animation-delay: 4s;
        animation-duration: 7s;
    }
    
    .bubble:nth-child(4) {
        width: 80px;
        height: 80px;
        left: 50%;
        animation-delay: 0s;
        animation-duration: 9s;
    }
    
    .bubble:nth-child(5) {
        width: 25px;
        height: 25px;
        left: 70%;
        animation-delay: 3s;
        animation-duration: 6s;
    }
    
    .bubble:nth-child(6) {
        width: 35px;
        height: 35px;
        left: 85%;
        animation-delay: 1s;
        animation-duration: 8s;
    }
    
    @keyframes float {
        0%, 100% {
            transform: translateY(100vh) rotate(0deg);
            opacity: 0;
        }
        10%, 90% {
            opacity: 0.8;
        }
        50% {
            transform: translateY(-20px) rotate(180deg);
            opacity: 1;
        }
    }
    
    /* Responsive Design for Blog Section */
    @media (max-width: 1200px) {
        .blog-grid {
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 1.5rem;
        }
    }
    
    @media (max-width: 992px) {
        .blog-section {
            padding: 80px 0;
        }
        
        .blog-grid {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        
        .blog-card-image {
            height: 200px;
        }
        
        .blog-card-content {
            padding: 1.5rem;
        }
    }
    
    @media (max-width: 768px) {
        .blog-section {
            padding: 60px 0;
        }
        
        .blog-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .blog-card {
            margin: 0 1rem;
        }
        
        .blog-card-image {
            height: 180px;
        }
        
        .blog-card-content {
            padding: 1.25rem;
        }
        
        .blog-card-title {
            font-size: 1.1rem;
        }
        
        .blog-card-meta {
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .btn-blog-more {
            padding: 14px 28px;
            font-size: 0.9rem;
        }
        
        .floating-bubbles .bubble {
            animation-duration: 8s;
        }
    }
    
    @media (max-width: 576px) {
        .blog-card {
            margin: 0;
            border-radius: 16px;
        }
        
        .blog-card-image {
            height: 160px;
        }
        
        .blog-card-content {
            padding: 1rem;
        }
        
        .blog-card-title {
            font-size: 1rem;
            margin-bottom: 0.75rem;
        }
        
        .blog-card-excerpt {
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        
        .no-posts-icon {
            width: 80px;
            height: 80px;
            font-size: 2rem;
        }
    }
    
    /* Newsletter Section */
    .newsletter-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #0A84C7 0%, #1E3A5F 100%);
        color: white;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    .newsletter-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
        z-index: 1;
    }
    
    .newsletter-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .newsletter-icon {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 2rem;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        animation: float 3s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }
    
    .newsletter-icon:hover {
        transform: scale(1.1) translateY(-5px);
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    }
    
    .newsletter-icon i {
        font-size: 2rem;
        color: white;
    }
    
    .newsletter-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: white;
        position: relative;
        animation: slideInFromBottom 1s ease-out;
    }
    
    .newsletter-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .newsletter-description {
        font-size: 1.2rem;
        margin-bottom: 3rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        animation: slideInFromBottom 1.2s ease-out;
    }
    
    .newsletter-form {
        max-width: 600px;
        margin: 0 auto;
        display: flex;
        gap: 1rem;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.1);
        padding: 8px;
        border-radius: 16px;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        animation: slideInFromBottom 1.4s ease-out;
    }
    
    .newsletter-form:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }
    
    .newsletter-input {
        flex: 1;
        min-width: 250px;
        padding: 18px 24px;
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.9);
        color: #1E3A5F;
        transition: all 0.3s ease;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        font-weight: 500;
    }
    
    .newsletter-input::placeholder {
        color: rgba(30, 58, 95, 0.6);
        font-weight: 400;
    }
    
    .newsletter-input:focus {
        outline: none;
        background: white;
        transform: scale(1.02);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    }
    
    .newsletter-btn {
        background: white;
        color: #0A84C7;
        border: none;
        padding: 18px 32px;
        border-radius: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        position: relative;
        overflow: hidden;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        min-width: 140px;
        justify-content: center;
    }
    
    .newsletter-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(10, 132, 199, 0.2), transparent);
        transition: left 0.6s;
    }
    
    .newsletter-btn:hover::before {
        left: 100%;
    }
    
    .newsletter-btn:hover {
        background: rgba(255, 255, 255, 0.95);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
        color: #1E3A5F;
    }
    
    .newsletter-benefits {
        display: flex;
        justify-content: center;
        gap: 3rem;
        margin-top: 3rem;
        flex-wrap: wrap;
        animation: slideInFromBottom 1.6s ease-out;
    }
    
    .newsletter-benefit {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    
    .newsletter-benefit:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(10, 132, 199, 0.3);
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.5rem;
        }
        
        .hero-stats {
            gap: 2rem;
        }
        
        .about-content {
            flex-direction: column;
            gap: 3rem;
        }
        
        .hero-cta-buttons {
            flex-direction: column;
            align-items: flex-start; 
        }
        
        .cta-buttons {
            flex-direction: column;
            align-items: center;
        }
        
        .newsletter-form {
            flex-direction: column;
            align-items: stretch;
            max-width: 400px;
            padding: 12px;
            gap: 12px;
        }
        
        .newsletter-input {
            min-width: 100%;
            margin-bottom: 0;
            padding: 16px 20px;
        }
        
        .newsletter-btn {
            width: 100%;
            padding: 16px 24px;
            min-width: auto;
        }
        
        .newsletter-title {
            font-size: 2rem;
        }
        
        .newsletter-description {
            font-size: 1rem;
            margin-bottom: 2rem;
        }
        
        .newsletter-benefits {
            flex-direction: column;
            gap: 1rem;
            align-items: center;
        }
        
        .newsletter-benefit {
            justify-content: center;
        }
        
        /* Newsletter Divider Mobile Adjustments */
        .newsletter-divider {
            padding: 60px 0;
        }
        
        .ready-cta {
            padding: 2rem 1.5rem;
            margin: 0 1rem;
        }
        
        .ready-title {
            font-size: 1.5rem;
        }
        
        .ready-subtitle {
            font-size: 1rem;
        }
        
        .ready-stats {
            flex-direction: column;
            gap: 1rem;
        }
        
        .ready-stat {
            padding: 0.5rem 0;
        }
        
        .divider-wave,
        .divider-wave-bottom {
            height: 60px;
        }
        
        /* Timeline mobile adjustments */
        .timeline-line {
            display: none;
        }
        
        .timeline-steps {
            flex-direction: column;
            gap: 2rem;
        }
        
        .timeline-step {
            max-width: 100%;
        }
        
        .step-circle {
            margin-bottom: 1rem;
        }
        
        /* Free Credit Report mobile adjustments */
        .free-report-content {
            flex-direction: column;
            gap: 3rem;
        }
        
        .free-report-image {
            flex: none;
        }
        
        .free-report-title {
            font-size: 2rem;
        }
        
        .btn-free-report {
            width: 100%;
            justify-content: center;
        }
    }
    
    /* Additional responsive breakpoints for newsletter */
    @media (max-width: 992px) {
        .newsletter-form {
            max-width: 500px;
            flex-direction: column;
            gap: 1rem;
        }
        
        .newsletter-input {
            min-width: 100%;
        }
        
        .newsletter-btn {
            width: 100%;
        }
    }
    
    @media (min-width: 769px) and (max-width: 991px) {
        .newsletter-form {
            flex-direction: row;
        }
        
        .newsletter-input {
            min-width: 300px;
        }
        
        .newsletter-btn {
            width: auto;
        }
    }
    
    /* Fix footer margin issue */
    .content-page {
        margin-bottom: 0;
    }
    
    /* Mobile Responsive Styles for Free Report Image */
    @media (max-width: 768px) {
        .free-report-image div {
            height: auto !important; 
            min-height: 250px;
        }
        
        .free-report-image img {
            object-fit: contain !important;
            object-position: center center !important;
            background: white; 
            border-radius: 15px !important;
        }
        
        .free-report-text {
            text-align: center;
            padding-top: 2rem;
        }
        
        .free-report-title {
            font-size: clamp(1.4rem, 1.2rem + 1.2vw, 1.8rem);
        }

        .free-report-cta .btn {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 576px) {
        .free-report-image div {
            min-height: 200px;
        }
        
        .free-report-title {
            font-size: clamp(1.25rem, 1.05rem + 1vw, 1.6rem);
        }
        
        .free-report-subtitle {
            font-size: clamp(0.85rem, 0.8rem + 0.4vw, 0.95rem);
        }
    }
    
    /* Product Cards Alignment Fix */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        align-items: stretch;
    }
    
    .product-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .product-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        padding: 1.5rem;
    }
    
    .product-description {
        flex-grow: 1;
        margin-bottom: 1rem;
        min-height: 3rem;
        line-height: 1.5;
        color: #6c757d;
    }
    
    .product-price {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--primary);
        margin: 1rem 0;
    }
    
    .product-link {
        margin-top: auto;
    }