/* === ENRICHMENT STYLES === */
/* Extracted from index.html for reuse across Hub Pages */

/* === GENERAL HERO & HEADERS === */
.page-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 20px;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Ensure contrast overlay for hero */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(2, 3, 129, 0.7), rgba(40, 116, 252, 0.7));
    z-index: 1;
}

.page-hero>* {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* === KEY STATISTICS SECTION === */
.stats-section {
    background: #020381;
    color: white;
    padding: 60px 20px;
    margin-bottom: 80px;
}

.stats-row,
.stats-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item h3 {
    font-size: 3.5rem;
    margin: 0 0 10px;
    color: #2874fc;
    font-weight: 800;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* === WORK PROCESS SECTION === */
.process-section {
    max-width: 1140px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.process-section h2 {
    text-align: center;
    color: #020381;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.process-step {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    position: relative;
    border-top: 4px solid #2874fc;
}

.step-number {
    background: #2874fc;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: -50px auto 20px;
    font-size: 1.2rem;
}

.process-step h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.process-step p {
    font-size: 0.95rem;
    color: #666;
}

/* === FAQ SECTION === */
.faq-section {
    background: #fff;
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #020381;
    margin-bottom: 50px;
    font-weight: 700;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #2874fc;
    box-shadow: 0 5px 15px rgba(40, 116, 252, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #2874fc;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #2874fc;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fcfcfc;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 20px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, #020381 0%, #2874fc 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    border-radius: 20px;
    max-width: 1140px;
    margin: 0 auto 80px;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    padding: 18px 40px;
    background: white;
    color: #020381;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* === INFO CARD (WHY CHOOSE US) === */
.info-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 1.5rem;
    color: #020381;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    background: #f8f9fa;
    padding: 100px 20px;
    margin-bottom: 60px;
}

.testimonials-container {
    max-width: 1140px;
    margin: 0 auto;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #020381;
    margin-bottom: 60px;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
    color: #ffb400;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #020381;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0;
    color: #020381;
    font-size: 1.05rem;
    font-weight: 700;
}

.author-info span {
    font-size: 0.9rem;
    color: #777;
}

/* === FEATURED PRODUCTS SECTION === */
.featured-products-section {
    padding: 80px 20px;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 300px;
    /* Increased size */
    object-fit: cover;
    /* Fill frame */
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    height: 2.4em;
    /* Limit to 2 lines */
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6900;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.login-price-btn {
    display: inline-block;
    border: 1px solid #2874fc;
    color: #2874fc;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.login-price-btn:hover {
    background: #2874fc;
    color: white;
}

/* === TRUSTED BRANDS MARQUEE === */
.brands-section {
    padding: 60px 0;
    background: #f9f9f9;
    overflow: hidden;
    margin-bottom: 60px;
}

.brands-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 50px;
    padding-left: 50px;
}

.brand-item {
    font-size: 1.5rem;
    font-weight: bold;
    color: #888;
    background: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === NEWSLETTER SECTION === */
.newsletter-section {
    background: #020381;
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    padding: 15px;
    border-radius: 5px;
    border: none;
    flex: 1;
    min-width: 250px;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #ff6900;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #e65c00;
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 768px) {

    .stats-row,
    .stats-grid,
    .process-steps,
    .process-steps,
    .testimonials-grid,
    .info-card-container,
    .products-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .process-step {
        margin-bottom: 30px;
    }
}

/* === CATEGORY GRID === */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.category-card {
    display: block;
    /* Ensure anchor behaves as block */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    /* Remove underline from link */
    height: 100%;
    /* Uniform height */
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #2874fc;
}

.category-card img {
    width: 100%;
    height: 250px;
    /* Large fixed height */
    object-fit: cover;
    /* Fill the box for uniform look */
    border-radius: 8px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    font-weight: 700;
}