/* ========================================
   SPARK BUSINESS NEWS PAGE STYLES
   ======================================== */

/* CSS Variables */
:root {
    --spark-primary: #19365f;
    --spark-accent: #fbc213;
    --spark-white: #ffffff;
    --spark-light-gray: #f8f9fa;
    --spark-dark-gray: #6c757d;
    --spark-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --spark-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --spark-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   HERO SECTION
   ======================================== */

.spark-hero {
    background: linear-gradient(135deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}



.spark-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.spark-breadcrumb {
    margin-bottom: 2.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spark-breadcrumb a {
    color: var(--spark-accent);
    text-decoration: none;
    transition: var(--spark-transition);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.spark-breadcrumb a:hover {
    color: var(--spark-white);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

.spark-hero h1 {
    font-size: clamp(4rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--spark-white);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
}


.spark-meta {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.spark-category {
color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}





.spark-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 194, 19, 0.4);
}

.spark-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spark-date::before {
    content: '📅';
    font-size: 1.2rem;
}

/* ========================================
   CONTENT SECTION
   ======================================== */

.spark-content {
    background: #19365f;
    padding: 6rem 0;
}

.spark-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.spark-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    padding: 0 2rem;
}

.spark-column {
    padding: 0 1rem;
}

.spark-left-column {
    padding-right: 2rem;
}

.spark-right-column {
    padding-left: 2rem;
}

.spark-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.spark-right-column p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.spark-right-column p:last-child {
    margin-bottom: 0;
}

/* Join the Project Section */
.spark-join-section {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    max-width: 1200px;
    width: 100%;
    margin: 4rem auto;
    border-radius: 20px;
    border-left: 5px solid var(--spark-accent);
    position: relative;
    overflow: hidden;
}



.spark-join-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--spark-primary);
    line-height: 1.4;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.spark-join-section p {
    font-size: 1.1rem;
    margin: 0;
    color: #4a5568;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}




/* ========================================
   SLIDER SECTION
   ======================================== */

.spark-slider-section {
    padding: 0px 0;
   
}

.spark-slider-container {
    position: relative;
    max-width:800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--spark-shadow);
}

.spark-slider-wrapper {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.spark-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: var(--spark-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spark-slide.active {
    opacity: 1;
}

.spark-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--spark-transition);
}

.spark-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--spark-white);
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: var(--spark-transition);
}

.spark-slide:hover .spark-slide-overlay {
    transform: translateY(0);
}

.spark-slide-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.spark-slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Slider Controls */
.spark-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.spark-slider-btn {
    background: var(--spark-accent);
    color: var(--spark-primary);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--spark-transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--spark-shadow);
}

.spark-slider-btn:hover {
    background: var(--spark-primary);
    color: var(--spark-white);
    transform: scale(1.1);
    box-shadow: var(--spark-shadow-hover);
}

.spark-slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

/* Slider Indicators */
.spark-slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--spark-transition);
}

.indicator.active {
    background: var(--spark-accent);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--spark-white);
}

/* ========================================
   RELATED NEWS SECTION
   ======================================== */

.spark-related-news {
    padding: 80px 0;
    background: var(--spark-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--spark-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-news-item {
    background: var(--spark-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--spark-shadow);
    transition: var(--spark-transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-news-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--spark-shadow-hover);
}

.related-news-image {
    height:auto;
    overflow: hidden;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--spark-transition);
}

.related-news-item:hover .related-news-image img {
    transform: scale(1.05);
}

.related-news-content {
    padding: 1.5rem;
}

.related-news-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--spark-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-news-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */

.spark-cta {
    padding: 80px 0;
background: linear-gradient(135deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    position: relative;
    overflow: hidden;
}

.spark-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}



.spark-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.spark-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--spark-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.spark-cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.spark-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.spark-cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--spark-transition);
    display: inline-block;
    min-width: 180px;
    text-align: center;
}

.spark-cta-buttons .btn-primary {
    background: var(--spark-accent);
    color: var(--spark-primary);
    border: 2px solid var(--spark-accent);
}

.spark-cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--spark-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 194, 19, 0.3);
}

.spark-cta-buttons .btn-outline {
    background: transparent;
    color: var(--spark-white);
    border: 2px solid var(--spark-white);
}

.spark-cta-buttons .btn-outline:hover {
    background: var(--spark-white);
    color: var(--spark-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1536px) {
    .spark-hero h1 {
        font-size: clamp(3.5rem, 8vw, 3.5rem);
    }
}

@media (max-width: 1280px) {
    .spark-hero h1 {
        font-size: clamp(3rem, 8vw, 3rem);
    }
}

@media (max-width: 1024px) {
    .spark-hero h1 {
        font-size: clamp(2.5rem, 8vw, 2.5rem);
    }
    
    .spark-article h2 {
        font-size: 2.2rem;
    }
    
    .spark-cta-section {
        padding: 2.5rem 1.5rem;
    }
    
    .spark-slider-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .spark-hero {
        padding: 100px 0 60px;
    }
    
    .spark-hero h1 {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .spark-meta {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .spark-content {
        padding: 4rem 0;
    }
    
    .spark-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .spark-left-column,
    .spark-right-column {
        padding: 0;
    }
    
    .spark-section-title {
        font-size: 2rem;
    }
    
    .spark-right-column p {
        font-size: 1rem;
    }
    
    
    .spark-join-section {
        padding: 2rem 1.5rem;
        margin: 3rem 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .spark-join-section h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .spark-join-section p {
        font-size: 1rem;
    }
    
    .spark-slider-section {
        padding: 60px 0;
    }
    
    .spark-slider-wrapper {
        height: 300px;
    }
    
    .spark-slider-controls {
        padding: 0 1rem;
    }
    
    .spark-slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .spark-slider-indicators {
        bottom: 1rem;
    }
    
    .spark-cta-content h2 {
        font-size: 2rem;
    }
    
    .spark-cta-content p {
        font-size: 1.1rem;
    }
    
    .spark-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .spark-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .spark-hero h1 {
        font-size: clamp(1.8rem, 8vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    .spark-hero {
        padding: 80px 0 50px;
    }
    
    .spark-hero h1 {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .spark-content {
        padding: 3rem 0;
    }
    
    .spark-content-grid {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .spark-section-title {
        font-size: 1.6rem;
    }
    
    .spark-right-column p {
        font-size: 0.95rem;
    }
    
    
    .spark-join-section {
        padding: 1.5rem 1rem;
        margin: 2rem 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .spark-join-section h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .spark-join-section p {
        font-size: 0.95rem;
    }
    
    .spark-slider-wrapper {
        height: 250px;
    }
    
    .spark-cta-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spark-slide {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.spark-slider-btn:focus,
.indicator:focus,
.related-news-item:focus {
    outline: 2px solid var(--spark-accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .spark-slide-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .spark-cta-section {
        border: 3px solid var(--spark-primary);
    }
}

@media (max-width: 360px) {
    .spark-hero h1 {
        font-size: clamp(1.2rem, 8vw, 1.2rem);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .spark-slide,
    .spark-slider-btn,
    .related-news-item,
    .spark-cta-buttons .btn {
        transition: none;
    }
    
    .spark-cta-section::before {
        animation: none;
    }
}


/* ========================================
   FOOTER SIZE REDUCTION
   ======================================== */

/* Footer Logo Size Reduction */
.footer-brand .logo {
    height: 100px !important;
    width: 140px !important;
}

/* Footer Paragraph Spacing Reduction */
.footer-brand p {
    margin-bottom: 1rem !important;
}
