/* ===== HERO SECTION ===== */
/* Full-screen hero section with video background and overlay effects */
.hero {
    position: relative;
    height: 75vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.85) 0%, rgba(45, 45, 45, 0.7) 100%);
    z-index: -1;
}

.hero-accent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 195, 0, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUSINESS IMPROVEMENT SECTION ===== */
/* Grid layout showcasing key business improvement areas with hover effects */
.business-improvement {
    background-color: var(--light-bg);
    padding: 80px 0;
    position: relative;
}

.improvement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
    margin-bottom: 50px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.improvement-card {
    background-color: var(--text-light);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.improvement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.improvement-card .card-icon {
    margin-right: 20px;
}

.improvement-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 0;
}

.improvement-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    flex-grow: 1;
}

.improvement-cta {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CHALLENGES OVERCOME SECTION ===== */
/* Gradient background section with statistics and challenge cards */
.challenges-overcome {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-gray) 100%);
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.challenges-overcome::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(248,195,0,0.05)"/></svg>');
    background-size: cover;
}

.challenges-overcome .section-title {
    color: var(--text-light);
}

.challenges-overcome .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.challenges-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.challenge-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.challenge-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, rgba(248, 195, 0, 0.5) 100%);
}

.challenge-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.challenge-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.challenge-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--text-dark);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.challenge-card h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin: 0;
}

.challenge-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    flex-grow: 1;
}

.challenge-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-text {
    color: var(--text-light);
    font-size: 1.1rem;
}

.challenges-cta {
    text-align: center;
}

/* ===== ADVANTAGES SECTION ===== */
/* Benefits/advantages section with progress bars and animated infographics */
.advantages-partnering {
    background-color: var(--light-bg);
    padding: 80px 0;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
    margin-bottom: 60px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.advantage-item {
    background-color: var(--text-light);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, rgba(248, 195, 0, 0.5) 100%);
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-dark);
    font-size: 1.8rem;
    transition: var(--transition);
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    background-color: var(--primary-gray);
    color: var(--text-light);
}

.advantage-item h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.advantage-item p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.advantage-bar {
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 15px;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, rgba(248, 195, 0, 0.8) 100%);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.advantages-infographic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.infographic-item {
    text-align: center;
    padding: 20px;
}

.infographic-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-color) 0%, #e0e0e0 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.infographic-circle::before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    background-color: var(--text-light);
    border-radius: 50%;
    transition: inherit;
}

.infographic-circle.animating {
    animation: pulse 2s ease-in-out;
}

.percentage {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    transition: inherit;
}

.infographic-item p {
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 10px;
}

.advantages-cta {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.improvement-card,
.advantage-item,
.challenge-card,
.news-card,
.bar-fill,
.infographic-circle,
.stat-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CALL-TO-ACTION SECTION ===== */
/* Dual-column CTA section with feature highlights and visual elements */
.hero-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-gray) 100%);
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(248,195,0,0.05)"/></svg>');
    background-size: cover;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    padding-right: 20px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    color: var(--accent-color);
}

.cta-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.cta-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 25px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== NEWS & INSIGHTS SECTION ===== */
/* Blog/news section with card layout and hover animations */
.news-insights {
    background-color: var(--light-bg);
    padding: 80px 0;
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.news-card {
    background-color: var(--text-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.news-excerpt {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 25px;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-cta {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ANIMATIONS ===== */
/* Keyframe animation for infographic circle fill effect */
@keyframes fillCircle {
    from {
        background: conic-gradient(var(--accent-color) 0%, #e0e0e0 0%);
    }
}

.infographic-circle.animated {
    animation: fillCircle 1.5s ease-in-out forwards;
}

/* ===== RESPONSIVE STYLES FOR INDEX.CSS ===== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem; /* Slightly smaller hero title */
    }

    .improvement-grid,
    .advantages-grid {
        width: 90%; /* Increase grid width for better use of space */
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .hero {
        height: 65vh; /* Adjust hero height for tablets */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Convert 3-column grids to 2-column */
    .improvement-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 95%;
    }

    /* Convert 2-column challenges grid to 1-column */
    .challenges-grid {
        grid-template-columns: 1fr;
    }

    /* Convert 4-column stats to 2-column */
    .challenge-stats,
    .advantages-infographic {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stack CTA section */
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-content {
        padding-right: 0;
    }

    .cta-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .cta-features {
        align-items: center;
    }

    /* Convert 3-column news grid to 2-column */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 95%;
    }

    .infographic-circle {
        width: 120px;
        height: 120px;
    }

    .infographic-circle::before {
        width: 100px;
        height: 100px;
    }

    .percentage {
        font-size: 1.5rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .hero {
        height: 60vh;
        min-height: 250px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        gap: 15px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    /* Convert all grids to single column */
    .improvement-grid,
    .advantages-grid,
    .news-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 25px;
    }

    .improvement-card,
    .advantage-item {
        padding: 25px;
    }

    .card-header,
    .challenge-card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .improvement-card .card-icon,
    .challenge-icon {
        margin-right: 0;
    }

    /* Adjust stats and infographic for mobile */
    .challenge-stats,
    .advantages-infographic {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .advantages-infographic {
        width: 100%;
    }

    .infographic-item {
        padding: 15px;
    }

    /* Adjust CTA section for mobile */
    .hero-cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-card {
        padding: 20px;
    }

    /* Adjust card icons for mobile */
    .card-icon,
    .advantage-icon,
    .challenge-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .news-image {
        height: 200px; /* Smaller news images on mobile */
    }

    .news-content {
        padding: 20px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
    .hero {
        height: 55vh;
        min-height: 200px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        width: 100%; /* Full width buttons on very small screens */
        max-width: 250px;
    }

    .business-improvement,
    .advantages-partnering,
    .news-insights {
        padding: 60px 0;
    }

    .challenges-overcome,
    .hero-cta {
        padding: 50px 0;
    }

    .improvement-card,
    .advantage-item,
    .challenge-card {
        padding: 20px;
    }

    .improvement-card h3,
    .advantage-item h3,
    .challenge-card h3 {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-text {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .news-card h3 {
        font-size: 1.3rem;
    }

    .read-more {
        font-size: 1rem;
    }

    .infographic-circle {
        width: 100px;
        height: 100px;
    }

    .infographic-circle::before {
        width: 80px;
        height: 80px;
    }

    .percentage {
        font-size: 1.2rem;
    }
}

/* Mobile landscape orientation specific adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero {
        height: 80vh; /* Taller hero in landscape to accommodate content */
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }
}
