/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333; /* Standard text color */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS animations */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #5D3FD3; /* Darker purple for headings */
}

a {
    text-decoration: none;
    color: #5D3FD3;
}

a:hover {
    color: #7B68EE;
}

.text-purple {
    color: #5D3FD3 !important;
}

.bg-purple-light {
    background-color: #E0D9F7; /* Light purple background */
}

.text-dark-purple {
    color: #3C298D !important;
}

.btn-primary {
    background-color: #7B68EE; /* Medium purple */
    border-color: #7B68EE;
    color: white;
    text-decoration: none; /* Remove underline from buttons */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #5D3FD3; /* Darker purple on hover */
    border-color: #5D3FD3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-secondary {
    border-color: #7B68EE;
    color: #7B68EE;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #7B68EE;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.scroll-link {
    cursor: pointer;
}

/* Header & Navigation */
header {
    z-index: 1030;
    transition: transform 0.3s ease-out;
}

.logo {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #333;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #7B68EE;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #7B68EE;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-nav .nav-link.btn {
    color: white;
    padding: 0.75rem 1.5rem;
}

.navbar-nav .nav-link.btn:hover {
    color: white;
}

.navbar-nav .nav-link.btn::after {
    display: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    height: fit-content;
    background-color: #333;
    color: white;
    z-index: 1040;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
    font-size: 0.9rem;
    width: 100%;
    left: 0;
    bottom: 0;
}

.cookie-banner p a {
    color: #7B68EE;
}

.cookie-banner.hidden {
    transform: translateY(-100%);
}

/* Hero Section */
.hero-section {
    position: relative;
 
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding-top: 150px !important; /* Offset for fixed header */
}
#hero h1 {
    margin-top: 50px;
}
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
    z-index: 0;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
}

.hero-section p.lead {
    font-size: 1.25rem;
   
}

.hero-feature-item {
    text-align: center;
    max-width: 180px;
    margin: 0 15px;
}

.hero-feature-item i {
    color: #9370DB !important; /* Lighter purple for icons */
    transition: transform 0.3s ease;
}

.hero-feature-item:hover i {
    transform: scale(1.1);
}

/* About Us Section */
.about-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.about-list i {
    color: #7B68EE;
}

.about-list li:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Services Section (Accordion) */
.accordion-button {
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: #7B68EE;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:not(.collapsed) i {
    color: white !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-item {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-body {
    background-color: white;
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.accordion-button i {
    color: #7B68EE;
    transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-button[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    flex: 1;
    background-color: white;
    border: 1px solid #eee;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #7B68EE;
}

.feature-card i {
    color: #7B68EE;
    transition: color 0.3s ease;
}

.feature-card:hover i {
    color: #5D3FD3;
}
#features .row {
    display: flex;
    justify-content: center;
}

/* Layered spotlight effect for features */
.features-grid:hover .feature-card:not(.highlighted) {
    opacity: 0.6;
    filter: grayscale(50%);
    transform: scale(0.98);
}
section {
    overflow: hidden;
}
.features-grid .feature-card.highlighted {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: #5D3FD3;
}

/* Game Categories / Industries Section */
.game-category-card {
    background-color: white;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.game-category-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #7B68EE;
}

.game-category-card .stat-number {
    color: #5D3FD3;
}

/* Stats Section */
.stat-card {
    background-color: #7B68EE; /* Primary purple */
    color: white;
    transition: all 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card.bg-secondary {
    background-color: #9370DB !important; /* Lighter purple */
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    color: white;
}

/* Gallery Section */
.gallery-wrapper {
    display: flex;
    gap: 1.5rem;
    padding: 0 15px; 
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 300px;
    height: 300px; /* Fixed height for consistent look */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    visibility: hidden;
}

.gallery-item.visible .figcaption {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.gallery-item .figcaption h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.gallery-item .figcaption p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Team Section */
.avatar-lg {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #7B68EE;
}

.avatar-md {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #7B68EE;
}

.team-card {
    background-color: white;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #7B68EE;
}

.founder-card h3 {
    font-size: 1.8rem;
}

.founder-card p.text-secondary {
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-list .faq-item {
    background-color: white;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

.faq-list .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #7B68EE;
}

.faq-list .faq-item h4 {
    color: #5D3FD3;
}

#faqSearch {
    border-color: #7B68EE;
    box-shadow: 0 0 5px rgba(123, 104, 238, 0.2);
}

#faqSearch:focus {
    border-color: #5D3FD3;
    box-shadow: 0 0 8px rgba(93, 63, 211, 0.3);
}

/* Contact Section */
.contact-form-wrapper {
    background-color: white;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-label {
    color: #333;
}

.form-control:focus {
    border-color: #7B68EE;
    box-shadow: 0 0 0 0.25rem rgba(123, 104, 238, 0.25);
}

.invalid-feedback {
    color: #dc3545;
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
}

.newsletter-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Darker overlay */
    z-index: 0;
}

.newsletter-section h2,
.newsletter-section p.lead {
    color: white;
}

.newsletter-section .form-control {
    font-size: 14px;
    border-radius: 0.5rem;
    border: none;
    padding: 0.75rem 1.25rem;
}

.newsletter-section .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
}

.newsletter-section .btn-primary {
    border-radius: 0.5rem;
    padding: 0.75rem 2rem;
}

/* Footer */
footer {
    background-color: #333 !important; /* Dark grey for footer */
    color: #f8f9fa;
}

footer .footer-logo-link {
    display: block;
    margin-bottom: 1.5rem;
}

footer .logo-footer {
    height: 50px; 
}

footer h3 {
    color: #7B68EE !important; /* Primary purple for footer heading */
}
.cookieConsentBanner {
    display: flex;
}
footer .footer-links a {
    color: #f8f9fa;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: #7B68EE;
}
.navbar-brand {
    margin-left: 15px;
}
/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .gallery-wrapper {
        flex-direction: column;
    }
    .gallery-item img {
        width: 100%;
    }
    #features .row {
    flex-direction: column;
}
    #features .row .col-md-3 {
    width: 100%;
}
    .navbar-collapse {
        background-color: #f8f9fa;
        margin-top: 1rem;
        border-radius: 0.5rem;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    .navbar-nav .nav-link.btn {
        margin-top: 1rem;
        width: 100%;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .hero-feature-item {
        margin: 0 10px 20px;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    .cookie-banner p {
        margin-bottom: 1rem !important;
    }
    .cookie-banner .d-flex {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .btn {
        flex-grow: 1;
    }
    .hero-section {
        padding-top: 120px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p.lead {
        font-size: 0.9rem;
    }
    .hero-feature-item {
        max-width: 150px;
    }
    .accordion-button {
        font-size: 1rem;
    }
    .gallery-item img {
        height: 200px;
    }
    .newsletter-section .btn-primary {
        width: 100%;
    }
    .newsletter-section .form-control {
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
    }
    .footer-links a {
        display: block;
        margin: 0.5rem 0 !important;
    }
    .footer-links span {
        display: none;
    }
}/* New styles for .complianceCoreSlot and its children */
.complianceCoreSlot {
    padding: 60px 30px; /* Top/bottom and side padding for the main content area */
    margin: 0 auto; /* Center the content area horizontally */
    max-width: 1200px; /* Optional: Constrain width for better readability on large screens */
}

.complianceCoreSlot h1 {
    font-size: 2.2rem; /* Heading 1 font size, kept moderate */
    line-height: 1.2; /* Line height for better readability */
    margin-top: 0; /* Remove default top margin for the first heading */
    margin-bottom: 1.5rem; /* Space below heading */
    color: #5D3FD3; /* Inherit color from general styles */
}

.complianceCoreSlot h2 {
    font-size: 1.8rem; /* Heading 2 font size */
    line-height: 1.3;
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1.2rem; /* Space below heading */
    color: #5D3FD3;
}

.complianceCoreSlot h3 {
    font-size: 1.5rem; /* Heading 3 font size */
    line-height: 1.4;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: #5D3FD3;
}

.complianceCoreSlot h4 {
    font-size: 1.25rem; /* Heading 4 font size */
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #5D3FD3;
}

.complianceCoreSlot h5 {
    font-size: 1.1rem; /* Heading 5 font size, slightly larger than base text */
    line-height: 1.6;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: #5D3FD3;
}

.complianceCoreSlot p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Generous line height for readability */
    margin-bottom: 1rem; /* Space below paragraphs */
    color: #333; /* Inherit color from general styles */
}

.complianceCoreSlot ul {
    list-style: disc; /* Default disc list style for unordered lists */
    padding-left: 20px; /* Indent list items for visual hierarchy */
    margin-bottom: 1rem; /* Space below the list */
    margin-top: 1rem; /* Space above the list */
}

.complianceCoreSlot ol {
    list-style: decimal; /* Default decimal list style for ordered lists */
    padding-left: 20px;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.complianceCoreSlot li {
    font-size: 1rem; /* List item font size, consistent with paragraph */
    line-height: 1.7; /* Consistent line height */
    margin-bottom: 0.5rem; /* Space between list items */
    color: #333;
}
.navbar-toggler {
   margin-right: 10px !important;
}