/* 
 * Resources Page Redesigned Styling
 * Matches the product page styling for consistent experience
 */

/* Product Hero Section */
.product-hero-redesigned {
    background: transparent;
    color: var(--royal-blue);
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    text-align: left;
    border-bottom: 1px solid #eee;
}

/* Button styles for CTA section */
.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    letter-spacing: 0.5px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Remove background effect */
.product-hero-redesigned::before {
    display: none;
}

.product-category-redesigned {
    display: inline-block;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--royal-blue);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-hero-redesigned h1 {
    color: var(--royal-blue-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-summary-redesigned {
    font-size: 1.2rem;
    max-width: 90%;
    margin-bottom: 1.5rem;
    color: #555;
}

.product-highlights-bar-redesigned {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-item-redesigned {
    display: flex;
    align-items: center;
    color: #555;
    font-weight: 500;
}

.highlight-item-redesigned i {
    margin-right: 0.5rem;
    color: var(--warm-orange);
}

/* Article Meta */
.article-meta-redesigned {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #777;
    margin-top: 2rem;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.article-meta-redesigned span {
    display: flex;
    align-items: center;
}

.article-meta-redesigned i {
    margin-right: 0.5rem;
}

/* Section Styling */
.product-section-redesigned {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.section-title-redesigned {
    color: var(--royal-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 700;
    border-bottom: 1px solid #eee;
}

.info-box-redesigned {
    background-color: rgba(30, 58, 138, 0.05);
    border-left: 4px solid var(--royal-blue);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.info-box-redesigned h3 {
    color: var(--royal-blue);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-box-redesigned ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.info-box-redesigned li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Process Steps */
.process-steps-redesigned {
    counter-reset: step;
    margin: 2rem 0;
}

.process-step-redesigned {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Primary button styles */
.btn-primary {
    background-color: var(--warm-orange);
    color: var(--white);
    border: none;
    letter-spacing: 0.5px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #ff8c1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.step-number-redesigned {
    background-color: var(--royal-blue);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.process-step-redesigned:not(:last-child):before {
    content: '';
    position: absolute;
    top: 36px;
    left: 18px;
    height: calc(100% - 18px);
    width: 2px;
    background-color: rgba(30, 58, 138, 0.2);
    z-index: 1;
}

.step-content-redesigned {
    padding-top: 0.25rem;
}

.step-content-redesigned h4 {
    margin-top: 0;
    color: var(--royal-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--royal-blue);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--royal-blue);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Testimonial Box */
.testimonial-box-redesigned {
    background-color: rgba(255, 122, 0, 0.05);
    border-left: 4px solid var(--warm-orange);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.testimonial-box-redesigned blockquote {
    font-style: italic;
    color: #555;
    margin: 0 0 1rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-box-redesigned blockquote:before {
    content: '"';
    font-size: 3rem;
    color: var(--warm-orange);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: 0;
    line-height: 1;
}

.testimonial-box-redesigned cite {
    display: block;
    font-weight: 600;
    color: var(--royal-blue);
    font-style: normal;
    text-align: right;
}

/* Eligibility Styles */
.eligibility-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.eligibility-list li {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.eligibility-list i {
    color: var(--warm-orange);
    margin-right: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

/* Eligibility Factor Grid */
.eligibility-factor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Mobile responsiveness for eligibility grid */
@media (max-width: 768px) {
    .eligibility-factor-grid {
        grid-template-columns: 1fr;
    }
    
    .eligibility-factor-item {
        padding: 1.2rem 1.2rem 1.2rem 1.5rem;
    }
}

.eligibility-factor-item {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.eligibility-factor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.eligibility-factor-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--warm-orange);
    border-radius: 4px 0 0 4px;
}

.eligibility-factor-title {
    font-weight: 600;
    color: var(--royal-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.eligibility-factor-title i {
    color: var(--warm-orange);
    margin-right: 1.2rem;
    font-size: 1.2rem;
    min-width: 20px;
    text-align: center;
}

.eligibility-factor-desc {
    color: #555;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Document Categories */
.documents-accordion {
    margin: 2rem 0;
}

.document-category-redesigned {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.document-category-redesigned .accordion-header {
    width: 100%;
    padding: 1.2rem;
    text-align: left;
    background-color: #f8f9fa;
    border: none;
    font-weight: 600;
    color: var(--royal-blue);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    position: relative;
}

.document-category-redesigned .accordion-header:hover {
    background-color: #f0f2f5;
}

.document-category-redesigned .accordion-header:after {
    content: "\f067"; /* plus icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
}

.document-category-redesigned.active .accordion-header:after {
    content: "\f068"; /* minus icon */
}

.document-category-redesigned .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.2rem;
}

.document-category-redesigned.active .accordion-content {
    max-height: 1000px;
    padding: 0.5rem 1.2rem 1.2rem;
}

/* FAQ Accordion */
.faq-accordion {
    margin: 2rem 0;
}

.faq-item-redesigned {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item-redesigned .accordion-header {
    width: 100%;
    padding: 1.2rem;
    text-align: left;
    background-color: #f8f9fa;
    border: none;
    font-weight: 600;
    color: var(--royal-blue);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    position: relative;
}

.faq-item-redesigned .accordion-header:hover {
    background-color: #f0f2f5;
}

.faq-item-redesigned .accordion-header:after {
    content: "\f067"; /* plus icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
}

.faq-item-redesigned.active .accordion-header:after {
    content: "\f068"; /* minus icon */
}

.faq-item-redesigned .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.2rem;
}

.faq-item-redesigned.active .accordion-content {
    max-height: 1000px;
    padding: 0.5rem 1.2rem 1.2rem;
}

/* Sidebar Styling */
.product-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.sidebar-widget h4 {
    color: var(--royal-blue);
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.8rem;
}

.sidebar-widget p {
    color: #555;
    margin-bottom: 1.2rem;
}

.sidebar-widget .btn-block {
    display: block;
    width: 100%;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: block;
    padding: 0.5rem 0;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 1.2rem;
}

.sidebar-nav a:before {
    content: "\f0da"; /* right caret */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--royal-blue);
    opacity: 0.7;
}

.sidebar-nav a:hover {
    color: var(--royal-blue);
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-links a {
    display: block;
    padding: 0.5rem 0;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-links a:hover {
    color: var(--royal-blue);
}

/* Related Resources Section */
.related-resources-redesigned {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin-top: 3rem;
}

.section-title-centered {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-centered h2 {
    color: var(--royal-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

.section-title-centered h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--warm-orange);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.resource-card-redesigned {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card-redesigned:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.resource-icon i {
    font-size: 2rem;
    color: var(--royal-blue);
}

.resource-card-redesigned h3 {
    color: var(--royal-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.resource-card-redesigned p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resource-card-redesigned .read-more {
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.resource-card-redesigned .read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.resource-card-redesigned .read-more:hover {
    color: var(--warm-orange);
}

.resource-card-redesigned .read-more:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.resources-cta-redesigned {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.resources-cta-redesigned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill-opacity="0.1" fill="white" x="25" y="25" width="50" height="50" transform="rotate(45 50 50)"/></svg>');
    opacity: 0.15;
    z-index: 0;
}

.resources-cta-redesigned .cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.resources-cta-redesigned h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
}

.resources-cta-redesigned p {
    font-size: 1.2rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .product-hero-redesigned {
        padding: 2.5rem 0;
    }

    .product-hero-redesigned h1 {
        font-size: 2.2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-highlights-bar-redesigned {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-hero-redesigned h1 {
        font-size: 1.8rem;
    }

    .hero-summary-redesigned {
        font-size: 1.1rem;
    }

    .article-meta-redesigned {
        flex-direction: column;
        gap: 0.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .resources-cta-redesigned h2 {
        font-size: 2rem;
    }

    .section-title-redesigned {
        font-size: 1.5rem;
    }
}
