/* style/bnc.css */

/* Variables for colors */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-dark: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
}

/* Base styles for the page content */
.page-bnc {
    background-color: var(--bg-dark); /* Ensure body background is dark */
    color: var(--text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-bnc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-bnc__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.3); /* subtle glow */
}

.page-bnc__section-title--light {
    color: var(--text-main); /* For sections with dark background */
}

.page-bnc__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-secondary);
}

.page-bnc__text-block--light {
    color: var(--text-main);
}

.page-bnc__text-block strong {
    color: var(--gold-color); /* Highlight keywords */
}

/* Hero Section */
.page-bnc__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above text in DOM flow */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: var(--bg-dark);
}

.page-bnc__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it doesn't overflow */
    margin-bottom: 30px; /* Space between image and text */
    position: relative;
    z-index: 1; /* Ensure image is below content for potential shadows/glows */
}

.page-bnc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(87, 227, 141, 0.5); /* Soft glow */
}

.page-bnc__hero-content {
    max-width: 900px;
    width: 100%; /* Ensure content takes full width within max-width */
    z-index: 2; /* Ensure content is above image */
    position: relative; /* For z-index to work */
}

.page-bnc__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size constraint */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-bnc__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-bnc__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for flex-wrap */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-bnc__btn-primary,
.page-bnc__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
    flex-grow: 1; /* Allow buttons to grow */
    min-width: 150px; /* Minimum width for buttons */
}

.page-bnc__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-bnc__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-bnc__btn-secondary {
    background: transparent;
    color: var(--glow-color); /* Green text for contrast */
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-bnc__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* Card styles */
.page-bnc__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main); /* Light text for dark card background */
}