:root {
    --primary-color: #E00060; /* Raspberry */
    --secondary-color: #FFD700; /* Gold Yellow */
    --white-color: #FFFFFF;
    --dark-color: #212529;
    --light-grey: #F8F9FA;
    --text-dark: #333333;
    --text-muted: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* Global Styles */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

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

.btn-primary:hover {
    background-color: #C00050; /* Darker Raspberry */
    border-color: #C00050;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border-color: var(--white-color);
    color: var(--white-color);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.bg-light-gradient {
    background: linear-gradient(180deg, var(--light-grey) 0%, var(--white-color) 100%);
}

.bg-dark-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: multiply;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* main.css */
.offcanvas .nav-link {
    font-size: 1.15rem;
    transition: background 0.2s;
}

.offcanvas.offcanvas-end{
    width: 100%;
}

.offcanvas-body {
    overflow-y: unset;
    background-color: var(--dark-color);
}

.offcanvas .nav-link:hover {
    background: rgba(255,255,255,0.08);
}
.offcanvas .dropdown-divider {
    opacity: 0.2;
}

/* Header */
.header {
    background-color: #00000033;
    backdrop-filter: blur(5px);
    z-index: 1030;
}

.header .logo .h4 {
    color: var(--white-color);
    font-weight: 700;
}

.header .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
}

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

.header .nav-link:hover::after, .header .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-image: url('static/content/board-game-creation-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 120px; /* Adjust for fixed header */
    padding-bottom: 80px;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

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

.hero-section p.lead {
    color: rgba(var(--white-color), 0.9);
}

.hero-section .icon-highlights {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section .icon-highlights .material-symbols-outlined {
    vertical-align: middle;
    font-size: 1.5rem;
}

.floating-card {
    position: absolute;
    bottom: -60px; /* Adjust based on card height */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white-color);
    color: var(--text-dark);
    width: 90%;
    max-width: 400px;
    z-index: 10;
    border: 1px solid rgba(var(--dark-color), 0.1);
}

@media (max-width: 768px) {
    .floating-card {
        position: static;
        transform: none;
        margin-top: 3rem;
        width: 100%;
    }
    .hero-section {
        padding-top: 100px;
    }
}

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

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

.about-section .list-unstyled .material-symbols-outlined {
    font-size: 2.5rem;
}

/* Services Section */
.services-section {
    background-color: var(--light-grey);
}

.accordion-item {
    border: none;
    background-color: transparent;
}

.accordion-button {
    background-color: var(--white-color);
    border: 1px solid rgba(var(--dark-color), 0.08);
    border-radius: 0.75rem;
    padding: 1.5rem;
    font-size: 1.25rem;
    color: var(--dark-color);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

.accordion-button:not(.collapsed) .material-symbols-outlined {
    color: var(--secondary-color) !important;
    transform: rotate(180deg);
}

.accordion-button .material-symbols-outlined {
    transition: transform 0.3s ease;
}

.accordion-body {
    border: 1px solid rgba(var(--dark-color), 0.08);
    border-top: none;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    background-color: var(--white-color);
}

.accordion-body .list-unstyled .material-symbols-outlined {
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

#serviceModal .modal-header {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

#serviceModal .modal-title {
    color: var(--white-color);
}

#serviceModal .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color), 0.25);
}

/* Features Section */
.features-section {
    background-color: var(--white-color);
}

.feature-card {
    background-color: var(--white-color);
    border: 1px solid rgba(var(--dark-color), 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card .feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: var(--secondary-color);
}

/* Spotlight effect for features */
.features-section:hover .feature-card:not(:hover) {
    opacity: 0.5;
    transform: scale(0.98);
    box-shadow: none;
}

.features-section .feature-card {
    height: 100%;
    transition: all 0.4s ease-in-out;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    position: relative;
}

.stats-section h2{
    color: #fff;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--dark-color), 0.75);
    z-index: 1;
}

.stats-section > .container {
    position: relative;
    z-index: 2;
}

.stat-item {
    background-color: rgba(var(--white-color), 0.1);
    border: 1px solid rgba(var(--white-color), 0.2);
    backdrop-filter: blur(5px);
}

.stat-item h3 {
    color: var(--secondary-color);
}

.progress {
    background-color: rgba(var(--white-color), 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    transition: width 1.5s ease-out;
    border-radius: 0.5rem;
}

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

.progress-bar.bg-warning {
    background-color: var(--secondary-color) !important;
}

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

.testimonial-card {
    background-color: var(--white-color);
    max-width: 800px;
    border: 1px solid rgba(var(--dark-color), 0.05);
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 4px var(--secondary-color);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 1.5rem;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

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

.faq-item {
    background-color: var(--white-color);
    border: 1px solid rgba(var(--dark-color), 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Sufficiently large to cover content */
}

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

#map {
    border: 1px solid rgba(var(--dark-color), 0.1);
}

.contact-section form {
    background-color: var(--white-color);
    border: 1px solid rgba(var(--dark-color), 0.08);
}

/* Footer Section */
.footer-section {
    background-color: var(--dark-color);
}

.footer-section .footer-logo img {
    filter: brightness(0) invert(1); /* Makes logo white */
}

.footer-section .social-links a {
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.footer-section .social-links a:hover {
    color: var(--secondary-color) !important;
}

.footer-section .footer-policy-links a {
    transition: color 0.3s ease;
}

.footer-section .footer-policy-links a:hover {
    color: var(--secondary-color) !important;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1040;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.cookie-banner .btn-primary:hover {
    background-color: #FFC107; /* Slightly darker yellow */
    border-color: #FFC107;
}

.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-color);
}
/* Styles for the main content wrapper */
.regShieldWrap {
    padding-top: 3rem; /* Top padding for the content area */
    padding-inline: 1.5rem; /* Horizontal padding for the content area */
    /* On smaller screens, you might want more padding */
    /* @media (max-width: 768px) {
        padding-inline: 1rem;
    } */
}

/* Heading styles within .regShieldWrap */
.regShieldWrap h1 {
    font-size: 2.25rem; /* Approx. 36px */
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-color); /* Inherit from global or specify */
}

.regShieldWrap h2 {
    font-size: 1.875rem; /* Approx. 30px */
    margin-bottom: 1.25rem;
    line-height: 1.3;
    color: var(--dark-color);
}

.regShieldWrap h3 {
    font-size: 1.5rem; /* Approx. 24px */
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--dark-color);
}

.regShieldWrap h4 {
    font-size: 1.25rem; /* Approx. 20px */
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--dark-color);
}

.regShieldWrap h5 {
    font-size: 1.125rem; /* Approx. 18px */
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Paragraph styles within .regShieldWrap */
.regShieldWrap p {
    font-size: 1rem; /* Approx. 16px */
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-dark); /* Use a standard text color */
}

/* Unordered list styles within .regShieldWrap */
.regShieldWrap ul {
    list-style-type: disc; /* Default disc bullet */
    padding-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* List item styles within .regShieldWrap */
.regShieldWrap li {
    font-size: 1rem; /* Approx. 16px */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.7;
    color: var(--text-dark);
}

/* Last list item should not have bottom margin if it's the last element in the list */
.regShieldWrap ul li:last-child {
    margin-bottom: 0;
}
