/* Business Pages Specific Styling */

/* Hero Section Styles */
.bs-hero-section {
    background-image: linear-gradient(rgba(20, 33, 59, 0.85), rgba(20, 33, 59, 0.85)), 
                      url('../res/images/business-sustenance.jpeg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px;
    position: relative;
}

/* Business Growth Page Specific Background */
.bs-hero-section.bg-growth {
    background-image: linear-gradient(rgba(20, 33, 59, 0.85), rgba(20, 33, 59, 0.85)), 
                      url('../res/images/business-growth.png');
}

/* Business Compliance Page Specific Background */
.bs-hero-section.bc-bg {
    background-image: linear-gradient(rgba(20, 33, 59, 0.85), rgba(20, 33, 59, 0.85)), 
                      url('../res/images/business-compliance.jpg');
}

.bs-hero-content {
    position: relative;
    z-index: 2;
}

.bs-hero-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.bs-hero-title h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.bs-hero-title span {
    color: var(--theme-color-2);
    font-style: italic;
}

.bs-hero-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 80px;
    height: 4px;
    background: var(--theme-color-2);
}

.bs-hero-description {
    max-width: 600px;
    margin-bottom: 40px;
}

.bs-hero-description p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
}

/* Cards Section Styling */
.bs-cards-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.bs-cards-section::before {
    content: '';
    position: absolute;
    right: -150px;
    top: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(253, 141, 0, 0.05);
    z-index: 1;
}

.bs-cards-section::after {
    content: '';
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(20, 33, 59, 0.05);
    z-index: 1;
}

.bs-section-title {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.bs-section-title h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--theme-color-3);
    font-weight: 700;
}

.bs-section-title p {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.bs-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
    padding: 20px;
    align-items: stretch;
}

.bs-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.bs-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(253, 141, 0, 0.2);
}

.bs-card-header {
    background: var(--theme-color-3);
    padding: 20px 25px;
    position: relative;
    border-bottom: 4px solid var(--theme-color-2);
}

.bs-card-header h3 {
    color: white;
    font-size: 22px;
    margin: 0;
    font-weight: 600;
    position: relative;
}

.bs-card-body {
    padding: 25px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bs-card-question {
    color: var(--theme-color-3);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.bs-card-question::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: rgba(253, 141, 0, 0.15);
    border-radius: 50%;
    color: var(--theme-color-2);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-card-answer {
    color: rgba(0, 0, 0, 0.7);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Hover states */
.bs-card:hover .bs-card-question,
.bs-card.touch-focus .bs-card-question {
    transform: translateY(-100%);
    opacity: 0;
    position: absolute;
}

.bs-card:hover .bs-card-answer,
.bs-card.touch-focus .bs-card-answer {
    transform: translateY(0);
    opacity: 1;
    z-index: 2;
}

/* Card indicator */
.bs-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--theme-color-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.bs-card:hover::after,
.bs-card.touch-focus::after {
    transform: scaleX(1);
}

/* Features Section */
.bs-features-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.bs-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.bs-feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #eaeaea;
}

.bs-feature-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--theme-color-2);
}

.bs-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(253, 141, 0, 0.1);
    transition: all 0.3s ease;
}

.bs-feature-icon img {
    width: 35px;
    height: 35px;
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(23deg) brightness(105%) contrast(119%);
}

.bs-feature-item:hover .bs-feature-icon {
    background: var(--theme-color-2);
}

.bs-feature-item:hover .bs-feature-icon img {
    filter: brightness(0) invert(1);
}

.bs-feature-item h4 {
    margin: 0 0 15px;
    color: var(--theme-color-3);
    font-size: 20px;
    font-weight: 600;
}

.bs-feature-item p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 15px;
    line-height: 1.5;
}

/* CTA Section */
.bs-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--theme-color-3) 0%, #1a2a4d 100%);
    position: relative;
    overflow: hidden;
}

.bs-cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(253, 141, 0, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.bs-cta-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(253, 141, 0, 0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.bs-cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.bs-cta-content h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 700;
}

.bs-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.bs-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ROI Section */
.bs-roi-section {
    padding: 100px 0;
    background: #f9f9f9;
    position: relative;
}

.bs-roi-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.bs-roi-image {
    flex: 1;
    max-width: 45%;
}

.bs-roi-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bs-roi-content {
    flex: 1;
}

.bs-roi-content h2 {
    color: var(--theme-color-3);
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 700;
}

.bs-roi-content p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.bs-roi-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.bs-roi-stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.bs-roi-stat h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--theme-color-2);
    margin: 0;
}

.bs-roi-stat p {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
    margin: 5px 0 0;
}

/* Card hover effects */
.bs-card:hover .bs-card-header,
.bs-card.touch-focus .bs-card-header {
    background: var(--theme-color-2);
}

/* Business Growth specific styles */
.bg-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.bg-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 2;
    height: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.bg-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(253, 141, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.bg-card-icon img {
    width: 35px;
    height: 35px;
    transition: all 0.4s ease;
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(23deg) brightness(105%) contrast(119%);
}

.bg-card h3 {
    color: var(--theme-color-3);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    transition: all 0.4s ease;
}

.bg-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--theme-color-3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    padding: 20px;
}

.bg-card-overlay p {
    color: white;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Card hover effects */
.bg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.bg-card:hover .bg-card-icon {
    background: var(--theme-color-2);
}

.bg-card:hover .bg-card-icon img {
    filter: brightness(0) invert(1);
}

.bg-card:hover .bg-card-overlay,
.bg-card.active .bg-card-overlay {
    opacity: 0.95;
    transform: translateY(0);
}

.bg-card.active {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.bg-card.active .bg-card-icon {
    background: var(--theme-color-2);
}

.bg-card.active .bg-card-icon img {
    filter: brightness(0) invert(1);
}

/* Card flip indicator */
.bs-card::before {
    content: '';
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 30px;
    height: 30px;
    background-image: url('../res/icons/arrow-right-black.svg');
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(253, 141, 0, 0.1);
    border-radius: 50%;
    opacity: 0.7;
    transform: rotate(45deg);
    transition: all 0.3s ease;
    z-index: 3;
}

.bs-card:hover::before,
.bs-card.touch-focus::before {
    opacity: 1;
    background-color: rgba(253, 141, 0, 0.2);
    transform: rotate(90deg);
}

/* Card transition animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bs-card:hover .bs-card-answer,
.bs-card.touch-focus .bs-card-answer {
    animation: fadeUp 0.5s ease forwards;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .bs-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bg-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bs-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bs-roi-container {
        flex-direction: column;
    }
    
    .bs-roi-image {
        max-width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .bs-hero-title h1 {
        font-size: 48px;
    }
    
    .bs-cards-container {
        grid-template-columns: 1fr;
    }
    
    .bg-cards-container {
        grid-template-columns: 1fr;
    }
    
    .bg-card {
        height: 180px;
    }
    
    .bs-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bs-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .bs-roi-image {
        max-width: 100%;
    }
    
    .bs-roi-stats {
        grid-template-columns: 1fr;
    }
    
    .bs-section-title h2,
    .bs-roi-content h2,
    .bs-cta-content h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 576px) {
    .bs-hero-title h1 {
        font-size: 36px;
    }
    
    .bs-hero-description p,
    .bs-section-title p,
    .bs-cta-content p {
        font-size: 16px;
    }
    
    .bs-section-title {
        margin-bottom: 40px;
    }
    
    .bs-roi-section,
    .bs-features-section,
    .bs-cards-section {
        padding: 60px 0;
    }
}

/* Animation styles */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation delay classes */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }