/* General Styles */
:root {
    --primary-color: #6a0572; /* Deep Purple */
    --secondary-color: #a044ff; /* Lighter Purple */
    --accent-color: #ffc107; /* Gold/Amber */
    --dark-bg: #1a1a2e; /* Dark Blue-Purple */
    --light-bg: #f8f9fa; /* Light Gray */
    --text-color: #343a40; /* Dark Gray for readability */
    --white-color: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-bg);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    text-decoration: none !important; /* Remove underline from buttons */
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-btn-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--white-color);
}

.custom-btn-gradient:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Header & Navigation */
.header {
    z-index: 1030;
}

.navbar {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand .logo-img {
    height: 40px; /* Adjust logo size */
}

.navbar-brand .brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
}

.nav-link {
    color: var(--white-color) !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

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

.nav-link:hover::after {
    width: 80%;
    transform: translateX(-50%) scaleX(1);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 100px; /* Offset for fixed header */
    padding-bottom: 50px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.badge-container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-logo {
    max-width: 150px;
    height: auto;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-section h2 {
    color: var(--primary-color);
}

.about-section .mission-list li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.about-section img {
    max-height: 500px;
    object-fit: cover;
}

/* Games Section (formerly Services) */
.games-section {
    background-color: var(--light-bg);
}

.game-card {
    background-color: var(--white-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.game-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
}

.game-price {
    font-size: 1.15rem;
}

.game-players i {
    color: var(--secondary-color);
}

/* Rental Modal */
.modal-content {
    border: none;
}

.modal-title {
    color: var(--primary-color);
}

.form-floating .form-control:focus,
.form-floating .form-select:focus,
.form-floating .form-control.is-valid,
.form-floating .form-control.is-invalid {
    box-shadow: none; /* Remove default Bootstrap focus shadow */
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Features Section */
.feature-card {
    background-color: var(--white-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--dark-bg);
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--light-bg);
}

.process-diagram {
    min-height: 200px;
    position: relative;
    align-items: center;
}

.process-diagram .process-lines {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 0;
}

.process-step {
    background-color: var(--white-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    margin: 0 1rem;
    max-width: 250px;
    z-index: 1;
    transition: all 0.4s ease;
}

.process-step.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.process-step.active .step-icon {
    color: var(--accent-color);
}

.process-step.active h3 {
    color: var(--white-color);
}

.step-icon-wrapper {
    background-color: var(--light-bg);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.process-step.active .step-icon-wrapper {
    background-color: var(--white-color);
    border-color: var(--accent-color);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.process-line {
    stroke: var(--secondary-color);
    stroke-width: 4px;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-out;
}

/* Adjust process steps for smaller screens */
@media (max-width: 991.98px) {
    .process-diagram {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        margin: 1rem 0;
        width: 100%;
        max-width: 100%;
    }
    .process-diagram .process-lines {
        display: none; /* Hide SVG lines on smaller screens */
    }
}

/* Team Section */
.team-member-card {
    background-color: var(--white-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member-card img {
    height: 250px;
    object-fit: cover;
    object-position: top;
}

.team-member-card h3 {
    color: var(--primary-color);
}

.fun-fact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-color-rgb), 0.9);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-card:hover .fun-fact-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    position: relative;
    min-height: 400px; /* Ensure space for floating bubbles */
}

.testimonial-bubble {
    background-color: var(--white-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-bubble:nth-child(even) {
    background-color: #f0f0f0;
}

.testimonial-bubble .testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

/* Floating animation for bubbles */
@keyframes floatAnimation {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(1deg); }
    50% { transform: translateY(0px) rotate(0deg); }
    75% { transform: translateY(5px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* FAQ Section */
.faq-section h2 {
    color: var(--primary-color);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: var(--white-color);
    color: var(--dark-bg);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: none;
}

.accordion-button:not(.collapsed) .ri-question-line {
    color: var(--accent-color);
}

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

.accordion-body {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #fefefe;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-bg);
}

.contact-section h2 {
    color: var(--white-color);
}

.form-floating > .form-control,
.form-floating > .form-select,
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    background-color: rgb(154 61 239 / 77%);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white-color);
}

.form-floating > label {
    color: rgba(255, 255, 255, 0.7);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: rgba(255, 255, 255, 0.9);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    color: #dc3545;
}

/* Footer */
.footer {
    background-color: var(--dark-bg) !important;
    color: var(--white-color);
}

.footer-title {
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--white-color);
}
.form-floating>.form-control-plaintext~label::after, .form-floating>.form-control:focus~label::after, .form-floating>.form-control:not(:placeholder-shown)~label::after, .form-floating>.form-select~label::after {
    background: #000;
}

div#thankYouMessage, div#thankYouContainer {
    padding-top: 50px;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1040;
    background-color: var(--dark-bg) !important;
    color: var(--white-color);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-banner p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.cookie-banner .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
}

.cookie-banner .btn-outline-light {
    color: var(--white-color);
    border-color: var(--white-color);
}

.cookie-banner .btn-outline-light:hover {
    background-color: var(--white-color);
    color: var(--dark-bg);
}

/* Cookie Modal */
#cookieModal .modal-content {
    border-radius: 1rem;
}

#cookieModal .modal-header {
    border-bottom: none;
}

#cookieModal .modal-title {
    color: var(--primary-color);
}

#cookieModal .form-check-label small {
    font-size: 0.85em;
}

/* Utility classes for responsive spacing */
.py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 8rem !important;
        padding-bottom: 8rem !important;
    }
}
/* Styles for the parent container */
.complianceVaultNode {
    padding-top: 4rem; /* Top padding for the content area */
    padding-bottom: 4rem; /* Bottom padding for the content area */
    padding-inline: 1.5rem; /* Left and right padding for the content area */
    max-width: 1200px; /* Maximum width to prevent content from spreading too wide */
    margin-inline: auto; /* Center the container horizontally */
}

/* Heading styles within .complianceVaultNode */
.complianceVaultNode h1 {
    font-size: 2.25rem; /* Standard heading 1 size */
    margin-top: 2.5rem; /* Top margin for spacing */
    margin-bottom: 1.25rem; /* Bottom margin for spacing */
    line-height: 1.2; /* Line height for better readability */
    color: var(--dark-bg); /* Use a dark background color for headings */
}

.complianceVaultNode h2 {
    font-size: 1.8rem; /* Standard heading 2 size */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    line-height: 1.3; /* Line height for better readability */
    color: var(--primary-color); /* Use primary color for secondary headings */
}

.complianceVaultNode h3 {
    font-size: 1.5rem; /* Standard heading 3 size */
    margin-top: 1.75rem; /* Top margin for spacing */
    margin-bottom: 0.8rem; /* Bottom margin for spacing */
    line-height: 1.4; /* Line height for better readability */
    color: var(--dark-bg); /* Use dark background color for headings */
}

.complianceVaultNode h4 {
    font-size: 1.25rem; /* Standard heading 4 size */
    margin-top: 1.5rem; /* Top margin for spacing */
    margin-bottom: 0.7rem; /* Bottom margin for spacing */
    line-height: 1.4; /* Line height for better readability */
    color: var(--text-color); /* Use general text color for headings */
}

.complianceVaultNode h5 {
    font-size: 1.1rem; /* Standard heading 5 size */
    margin-top: 1.25rem; /* Top margin for spacing */
    margin-bottom: 0.6rem; /* Bottom margin for spacing */
    line-height: 1.5; /* Line height for better readability */
    color: var(--text-color); /* Use general text color for headings */
}

/* Paragraph styles within .complianceVaultNode */
.complianceVaultNode p {
    font-size: 1.05rem; /* Slightly larger font size for body text */
    margin-bottom: 1rem; /* Bottom margin for paragraph spacing */
    line-height: 1.7; /* Generous line height for readability */
    color: var(--text-color); /* Use defined text color */
}

/* Unordered list styles within .complianceVaultNode */
.complianceVaultNode ul {
    margin-top: 1rem; /* Top margin for list spacing */
    margin-bottom: 1rem; /* Bottom margin for list spacing */
    padding-left: 1.5rem; /* Indentation for list items */
    list-style-type: disc; /* Default disc bullet points */
    color: var(--text-color); /* Inherit text color */
}

/* List item styles within .complianceVaultNode */
.complianceVaultNode li {
    font-size: 1.05rem; /* Font size for list items */
    margin-bottom: 0.5rem; /* Bottom margin for spacing between list items */
    line-height: 1.6; /* Line height for better readability */
    color: var(--text-color); /* Use defined text color */
}
