/* Google Fonts Initialization */
body {
    font-family: 'Inter', sans-serif;
    background-color: #121212; /* Dark background */
    color: #f8f9fa; /* Light text for readability */
}

h1, h2, h3, h4, h5, h6, .display-4 {
    font-family: 'Outfit', sans-serif;
    color: #f8f9fa; /* Light headings */
}

/* Color Scheme Variables */
:root {
    --primary-red: #B22222; /* Firebrick - main accent */
    --dark-red: #8B0000; /* Dark Red */
    --dark-alt: #1a1a1a; /* Slightly lighter dark for cards */
    --text-light: #f8f9fa;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-dark: #121212;
    --bg-dark-input: #212121; /* Darker input fields */
}

.fixed-top{
    background-color: #000000b3;
}

.text-muted{
    color: #fff !important;
}

/* General Styles */
.text-primary-red {
    color: var(--primary-red) !important;
}

.bg-primary-red {
    background-color: var(--primary-red) !important;
}

.btn-primary-red {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.btn-primary-red:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline-primary-red {
    color: var(--primary-red);
    border-color: var(--primary-red);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary-red:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
    transform: translateY(-2px);
}

.bg-dark-alt {
    background-color: var(--dark-alt) !important;
}

.bg-dark-input {
    background-color: var(--bg-dark-input) !important;
}

.form-control:focus {
    background-color: var(--bg-dark-input);
    color: var(--text-light);
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(178, 34, 34, 0.25); /* Primary red with transparency */
}

.navbar-brand .logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-img-footer {
    height: 30px;
    margin-right: 8px;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px; /* Adjust for fixed navbar */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('images/content/hero-background-game-audio_2.png') no-repeat center center/cover;
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.hero-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-red);
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-icon-item:hover {
    transform: translateY(-5px);
    background-color: rgba(var(--primary-red), 0.1);
}

.hero-icon-item i {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero-icon-item p {
    font-weight: 600;
    color: var(--text-light);
}

/* About Us - Faces & Voices */
.team-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--primary-red);
}

.card.bg-dark-alt {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.bg-dark-alt:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Our Services */
.bg-gradient-dark-red {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--dark-red) 100%);
}

.service-card {
    background-color: var(--dark-alt);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3{
    color: #fff;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-card .icon-wrapper {
    color: var(--primary-red);
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Key Statistics */
.count-up {
    color: var(--primary-red);
}

/* How It Works */
.how-it-works-flow {
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.step-item {
    position: relative;
    z-index: 10;
    background-color: var(--dark-alt);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.step-item .badge {
    font-size: 1.2rem;
    padding: 0.6em 1em;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--bg-dark);
}

/* Curved path (simplified for CSS, more complex with SVG or multiple pseudo-elements) */
.step-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px; /* Straight line for simplicity, can be curved with SVG or advanced CSS */
    background-color: var(--primary-red);
    opacity: 0.3;
    z-index: 5;
}

/* Game Genres */
.nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    border-bottom: 3px solid transparent;
    margin: 0 10px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    color: var(--primary-red);
    background-color: transparent;
    border-color: var(--primary-red);
}

.tab-content .img-fluid {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Pricing Plans */
.pricing-card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pricing-card .card-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card.popular-plan {
    border: 3px solid var(--primary-red);
    box-shadow: 0 0 30px rgba(var(--primary-red), 0.5);
}

/* Our Team (Compact) */
.team-member-card {
    flex: 1;
    background-color: var(--dark-alt);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.team-avatar-sm {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid var(--primary-red);
}

/* Contact Form */
.card.bg-dark-alt .form-control {
    background-color: var(--bg-dark-input);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.card.bg-dark-alt .form-control::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer-cta {
    background-color: var(--primary-red);
    border-radius: 15px;
    padding: 40px;
    margin-top: -100px; /* Overlap with section above */
    position: relative;
    z-index: 10;
}

.footer-cta .btn-light {
    color: var(--primary-red);
    background-color: var(--text-light);
    border-color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-cta .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.social-icons a {
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
}

.form-select.bg-dark-input {
    background-color: var(--bg-dark-input);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f8f9fa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); /* Custom SVG for white arrow */
}

.form-select.bg-dark-input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(178, 34, 34, 0.25);
}


/* Cookie Consent Modal */
.cookie-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.cookie-modal.show .cookie-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.cookie-modal-header h5 {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--primary-red);
}

.cookie-modal-body {
    padding-bottom: 20px;
}

.cookie-modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-preferences {
    display: none; /* Hidden by default */
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.cookie-preferences.show {
    display: block;
}

.cookie-preferences .form-check {
    margin-bottom: 10px;
}

.cookie-preferences .form-check-input {
    background-color: var(--bg-dark-input);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-preferences .form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.cookie-preferences .form-check-label {
    color: var(--text-light);
}

.cookie-preferences .form-check-label small {
    color: var(--text-muted);
    display: block;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%); /* Makes Bootstrap close icon white */
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bg-dark);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 8px 15px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-icon-item {
        width: 100%;
    }
    .step-item {
        margin-bottom: 50px; /* More space for badge */
    }
    .step-line {
        display: none; /* Hide line on small screens for simpler flow */
    }
    .how-it-works-flow .row {
        flex-direction: column;
        align-items: center;
    }
    .tab-content .row {
        flex-direction: column-reverse; /* Image below text on mobile */
    }
    .tab-content .col-md-6.order-md-2 {
        order: 1;
    }
    .tab-content .col-md-6.order-md-1 {
        order: 2;
    }
    .footer-cta {
        margin-top: -50px;
    }
    .cookie-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .display-4 {
        font-size: 2.5rem;
    }
    .display-5 {
        font-size: 2rem;
    }
    .footer-cta {
        padding: 30px 20px;
    }
}/* New styles for .complianceVaultNode and its children */

/* Wrapper for main content sections, providing padding and centering */
.complianceVaultNode {
    padding-top: 80px; /* Top padding for the section */
    padding-bottom: 80px; /* Bottom padding for the section */
    padding-left: 20px; /* Left padding for the section */
    padding-right: 20px; /* Right padding for the section */
    max-width: 1200px; /* Maximum width to keep content readable on large screens */
    margin-left: auto; /* Center the section horizontally */
    margin-right: auto; /* Center the section horizontally */
}

/* Heading 1 styles - Not too large, suitable for main section titles */
.complianceVaultNode h1 {
    font-family: 'Outfit', sans-serif; /* Use Outfit font for headings */
    font-size: 2.2rem; /* Moderate size for main section headings */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 0; /* No top margin by default, as section has padding */
    margin-bottom: 1.5rem; /* Space below heading */
    color: var(--text-light); /* Light text color from theme */
}

/* Heading 2 styles - Clear hierarchy, smaller than h1 */
.complianceVaultNode h2 {
    font-family: 'Outfit', sans-serif; /* Use Outfit font for headings */
    font-size: 1.8rem; /* Smaller than h1 */
    font-weight: 700; /* Bold font weight */
    line-height: 1.25; /* Line height */
    margin-top: 2.5rem; /* Space above heading to separate from previous content */
    margin-bottom: 1.2rem; /* Space below heading */
    color: var(--text-light); /* Light text color from theme */
}

/* Heading 3 styles - Further down the hierarchy */
.complianceVaultNode h3 {
    font-family: 'Outfit', sans-serif; /* Use Outfit font for headings */
    font-size: 1.5rem; /* Smaller than h2 */
    font-weight: 600; /* Slightly less bold */
    line-height: 1.3; /* Line height */
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1rem; /* Space below heading */
    color: var(--text-light); /* Light text color from theme */
}

/* Heading 4 styles - For sub-sections or important notes */
.complianceVaultNode h4 {
    font-family: 'Outfit', sans-serif; /* Use Outfit font for headings */
    font-size: 1.25rem; /* Smaller than h3 */
    font-weight: 600; /* Slightly less bold */
    line-height: 1.35; /* Line height */
    margin-top: 1.8rem; /* Space above heading */
    margin-bottom: 0.8rem; /* Space below heading */
    color: var(--text-light); /* Light text color from theme */
}

/* Heading 5 styles - Smallest heading, useful for card titles or minor sections */
.complianceVaultNode h5 {
    font-family: 'Outfit', sans-serif; /* Use Outfit font for headings */
    font-size: 1.1rem; /* Smaller than h4, good for sub-headings or card titles */
    font-weight: 500; /* Medium font weight */
    line-height: 1.4; /* Line height */
    margin-top: 1.5rem; /* Space above heading */
    margin-bottom: 0.6rem; /* Space below heading */
    color: var(--text-light); /* Light text color from theme */
}

/* Paragraph styles - Standard body text for readability */
.complianceVaultNode p {
    font-family: 'Inter', sans-serif; /* Use Inter font for body text */
    font-size: 1.125rem; /* Standard body text size (18px) */
    line-height: 1.6; /* Generous line height for readability */
    margin-top: 0; /* No top margin by default, use margin-bottom for spacing */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: var(--text-light); /* Light text color from theme */
}

/* Unordered list styles - Default bullet points and indentation */
.complianceVaultNode ul {
    font-family: 'Inter', sans-serif; /* Use Inter font for list text */
    list-style-type: disc; /* Standard disc bullet points */
    padding-left: 25px; /* Indentation for list items */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1rem; /* Space below the list */
    color: var(--text-light); /* Light text color from theme */
}

/* List item styles - Consistent text size and spacing */
.complianceVaultNode ul li {
    font-size: 1.125rem; /* Same size as paragraph for consistency */
    line-height: 1.6; /* Generous line height for readability */
    margin-bottom: 0.5rem; /* Space between list items */
    color: var(--text-light); /* Light text color from theme */
}

/* Ensure consistent text color for all elements within the node, excluding specific link styles */
.complianceVaultNode *:not(a) {
    color: var(--text-light);
}

/* Link styles within the complianceVaultNode for consistency */
.complianceVaultNode a {
    color: var(--primary-red); /* Links use the primary accent color */
    text-decoration: none; /* No underline by default */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.complianceVaultNode a:hover {
    color: var(--dark-red); /* Darker red on hover */
    text-decoration: underline; /* Underline on hover for better UX */
}

/* Small adjustment for the very first heading in the section to avoid double margin */
.complianceVaultNode h1:first-child,
.complianceVaultNode h2:first-child,
.complianceVaultNode h3:first-child,
.complianceVaultNode h4:first-child,
.complianceVaultNode h5:first-child {
    margin-top: 0; /* Remove top margin if it's the first element in the section */
}

/* Small adjustment for the last paragraph or list item in the section */
.complianceVaultNode p:last-child,
.complianceVaultNode ul:last-child {
    margin-bottom: 0; /* Remove bottom margin if it's the last element in the section */
}
