/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333333; /* Standard text color */
    background-color: #F8F9FA;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #00796B; /* Primary color for headings */
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00796B; /* Dark Teal */
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #DAA520, #E67E22); /* Gold to Orange gradient */
    border-radius: 2px;
}

.sub-section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #E67E22; /* Carrot Orange */
}

/* Custom Buttons & Colors */
.btn-primary-custom {
    background-color: #00796B; /* Dark Teal */
    border-color: #00796B;
    color: #fff;
}
.btn-primary-custom:hover {
    background-color: #005f56; /* Darker Teal */
    border-color: #005f56;
    color: #fff;
}

.btn-secondary-custom {
    background-color: #DAA520; /* Goldenrod */
    border-color: #DAA520;
    color: #fff;
}
.btn-secondary-custom:hover {
    background-color: #c4911d; /* Darker Goldenrod */
    border-color: #c4911d;
    color: #fff;
}

.text-primary-custom {
    color: #00796B !important;
}

.bg-light-custom {
    background-color: #f0f2f5 !important; /* Slightly darker than F8F9FA */
}

/* Navbar */
#mainNavbar {
    background-color: transparent;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: background-color 0s ease-in-out; /* Instant transition */
    z-index: 1030;
}

#mainNavbar.navbar-scrolled {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 5px rgb(20 19 19);
}

#mainNavbar .navbar-brand {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    text-decoration: none;
}

#mainNavbar.navbar-scrolled .navbar-brand {
    color: #00796B;
}

#mainNavbar .navbar-logo {
    height: 40px;
    margin-right: 10px;
    filter: brightness(0) invert(1); /* White logo for transparent background */
}

#mainNavbar.navbar-scrolled .navbar-logo {
    filter: none; /* Original color for scrolled background */
}

#mainNavbar .logo-text {
    background: linear-gradient(90deg, #DAA520, #E67E22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 0 5px rgba(255,255,255,0.7); /* Soft glow */
}

#mainNavbar.navbar-scrolled .logo-text {
    background: linear-gradient(90deg, #00796B, #DAA520); /* Darker gradient on scroll */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

#mainNavbar .navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

#mainNavbar.navbar-scrolled .navbar-nav .nav-link {
    color: #333333;
}

#mainNavbar .navbar-nav .nav-link:hover {
    color: #DAA520; /* Gold on hover */
}

#mainNavbar.navbar-scrolled .navbar-nav .nav-link:hover {
    color: #E67E22; /* Orange on hover when scrolled */
}

#mainNavbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

#mainNavbar .navbar-toggler i {
    color: #fff;
    font-size: 1.5rem;
}

#mainNavbar.navbar-scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

#mainNavbar.navbar-scrolled .navbar-toggler i {
    color: #333333;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('assets/media/board-game-event.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 130px; /* Adjust for fixed navbar */
    padding-bottom: 100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgb(21 22 22 / 80%), rgb(20 20 19 / 80%));
    backdrop-filter: blur(5px); /* Glass effect */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    z-index: 0;
}

.hero-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.8));
}

.hero-section h1 {
    font-size: clamp(30px,5vw,50px) !important;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #f8f9fa;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.cta-button {
    border: 2px solid #fff;
    color: #fff;
    background-color: transparent;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0s; /* Instant change */
}

.cta-button:hover {
    background-color: #fff;
    color: #00796B;
    border-color: #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* About Section (Timeline) */
.about-section {
    background-color: #F8F9FA;
    position: relative;
}

.timeline {
    position: relative;
    padding: 20px 0;
}


.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-right: 60px;
    text-align: center;
}

.timeline-item:nth-child(odd) {
    text-align: left;
    padding-right: 0;
}


.timeline-item:nth-child(odd)::before {
    left: -20px;
    right: auto;
}

.timeline-item:nth-child(even)::before {
    right: -20px;
    left: auto;
}


.timeline-item:nth-child(odd)::before {
    left: calc(50% - 10px);
}

.timeline-item:nth-child(even)::before {
    left: calc(50% - 10px);
}

.timeline-icon {
    background-color: #DAA520; /* Goldenrod */
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: #E67E22; /* Carrot Orange */
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00796B; /* Dark Teal */
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 1rem;
    color: #555;
}

@media (min-width: 768px) {
    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) {
        float: left;
    }

    .timeline-item:nth-child(even) {
        text-align: left;
        float: right;
    }

    .timeline-item:nth-child(odd)::before {
        left: auto;
        right: -10px;
    }

    .timeline-item:nth-child(even)::before {
        left: -10px;
        right: auto;
    }

    

    
}

/* Services Section */
.services-section {
    background-color: #EEEEEE;
}

.service-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
}

.service-card-1 {
    background: linear-gradient(135deg, #00796B, #004d40);
}
.service-card-2 {
    background: linear-gradient(135deg, #DAA520, #b8860b);
}
.service-card-3 {
    background: linear-gradient(135deg, #E67E22, #bf610b);
}
.service-card-4 {
    background: linear-gradient(135deg, #4CAF50, #2E8B57);
}
.service-card-5 {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}
.service-card-6 {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.service-card .service-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
}

.service-card .service-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
}

.service-card .service-tagline {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

/* Features Section */
.features-section {
    background-color: #F8F9FA;
}

.feature-card {
    background-color: #fff;
    border: 1px solid #eee;
    cursor: pointer;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0s; /* Instant change */
}

.feature-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-card .feature-icon {
    font-size: 2.5rem;
    color: #DAA520; /* Goldenrod */
    margin-bottom: 10px;
}

.feature-card .feature-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #00796B; /* Dark Teal */
}

.feature-card .feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #E67E22; /* Carrot Orange */
}

.feature-card .feature-description {
    font-size: 0.95rem;
    color: #555;
}

.feature-card.active .feature-front {
    display: none;
}

.feature-card.active .feature-back {
    display: block !important;
}

/* How It Works Section */
.how-it-works-section {
    background-color: #EEEEEE;
}

.numbered-steps {
    position: relative;
    padding-left: 50px;
}

.numbered-steps::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #00796B, #DAA520); /* Teal to Gold gradient */
    border-radius: 2px;
}

.step-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 40px;
    display: flex;
    align-items: center;
}

.step-number {
    position: absolute;
    left: 0;
    background-color: #E67E22; /* Carrot Orange */
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #DAA520; /* Goldenrod border */
    z-index: 1;
}

.step-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.step-icon {
    font-size: 2rem;
    color: #00796B; /* Dark Teal */
    margin-bottom: 10px;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #00796B;
}

.step-description {
    font-size: 0.95rem;
    color: #555;
}

/* Team Section */
.team-section {
    background-color: #F8F9FA;
}

.founder-bio {
    background-color: #fff;
    text-align: center;
    border: 1px solid #eee;
}

.founder-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #DAA520; /* Goldenrod border */
}

.founder-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00796B;
    margin-top: 15px;
    margin-bottom: 5px;
}

.founder-title {
    font-size: 1.1rem;
    color: #E67E22;
    margin-bottom: 15px;
}

.founder-description {
    font-size: 1rem;
    color: #555;
}

.team-grid .team-member-card {
    background-color: #fff;
    border: 1px solid #eee;
}

.team-grid .member-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #DAA520;
}

.team-grid .member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00796B;
    margin-top: 10px;
    margin-bottom: 3px;
}

.team-grid .member-title {
    font-size: 0.9rem;
    color: #E67E22;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #EEEEEE;
}

.testimonial-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card {
    border: 1px solid #ddd;
}

.testimonial-card .testimonial-text {
    font-style: italic;
    color: #444;
    font-size: 1.1rem;
}

.testimonial-card .author-name {
    color: #00796B;
}

.testimonial-card .author-title {
    color: #E67E22;
}

/* FAQ Section */
.faq-section {
    background-color: #F8F9FA;
}

.faq-questions {
    gap: 15px;
}

.faq-bubble {
    background-color: #fff;
    border: 1px solid #eee;
    color: #00796B; /* Dark Teal */
    font-weight: 600;
    cursor: pointer;
    transition: all 0s; /* Instant change */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block; /* To allow text-overflow */
}

.faq-bubble:hover {
    background-color: #DAA520; /* Goldenrod */
    color: #fff;
    border-color: #DAA520;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-section .modal-header {
    background-color: #00796B; /* Dark Teal */
    color: #fff;
    border-bottom: none;
}

.faq-section .modal-header .btn-close {
    filter: invert(1);
}

.faq-section .modal-title {
    color: #fff;
}

.faq-section .modal-body {
    color: #333;
    font-size: 1rem;
}

/* Contact Section (Chat Style Form) */
.contact-section {
    background-color: #EEEEEE;
}

.chat-style-form {
    background-color: #fff;
    border: 1px solid #ddd;
    position: relative;
}

.chat-message {
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    max-width: 80%;
    font-size: 0.95rem;
}

.chat-message.incoming {
    background-color: #E0E0E0;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-input-group .input-group-text {
    background-color: #00796B; /* Dark Teal */
    border-color: #00796B;
    color: #fff;
    border-radius: 0.375rem 0 0 0.375rem;
}

.chat-input-group .form-control, .chat-input-group .form-select {
    border-color: #00796B;
}

.chat-input-group .form-control:focus, .chat-input-group .form-select:focus {
    border-color: #DAA520;
    box-shadow: 0 0 0 0.25rem rgba(218, 165, 32, 0.25);
}

.chat-send-btn {
    background-color: #DAA520; /* Goldenrod */
    border-color: #DAA520;
    font-weight: 600;
    transition: all 0s; /* Instant change */
}

.chat-send-btn:hover {
    background-color: #E67E22; /* Carrot Orange */
    border-color: #E67E22;
}

/* Footer Section */
.footer-section {
    background-color: #333333; /* Dark background */
    color: #f8f9fa;
}

.footer-brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-logo {
    height: 35px;
    filter: brightness(0) invert(1); /* White logo */
}

.footer-section .logo-text {
    background: linear-gradient(90deg, #DAA520, #E67E22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-nav a, .footer-policy a {
    color: #f8f9fa;
    font-weight: 400;
    transition: color 0s; /* Instant change */
}

.footer-nav a:hover, .footer-policy a:hover {
    color: #DAA520;
}

/* Cookie Consent Modal Specific Styles */
#cookieConsentModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#cookieConsentModal .modal-header {
    background-color: #00796B; /* Dark Teal */
    color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: none;
}

#cookieConsentModal .modal-title {
    color: #fff;
    font-weight: 600;
}

#cookieConsentModal .modal-body p {
    font-size: 0.95rem;
    color: #555;
}

#cookieConsentModal .form-check-label {
    font-weight: 600;
    color: #333;
}

#cookieConsentModal .form-check-input:checked {
    background-color: #DAA520;
    border-color: #DAA520;
}

#cookieConsentModal .modal-footer {
    border-top: 1px solid #eee;
    padding: 15px 20px;
}

#cookieConsentModal #acceptAllCookiesBtn {
    background-color: #00796B;
    border-color: #00796B;
}

#cookieConsentModal #customizeCookiesBtn {
    background-color: #DAA520;
    border-color: #DAA520;
}

#cookieConsentModal #rejectCookiesBtn {
    color: #333;
    border-color: #6c757d;
}

#cookieConsentModal #saveCookieChoicesBtn {
    background-color: #E67E22;
    border-color: #E67E22;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    #mainNavbar .navbar-collapse {
        background-color: rgba(0, 121, 107, 0.95); /* Dark Teal for mobile nav */
        margin-top: 10px;
        border-radius: 8px;
        padding: 10px 0;
    }
    #mainNavbar.navbar-scrolled .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        border: 1px solid #eee;
    }
    #mainNavbar.navbar-scrolled .navbar-nav .nav-link {
        color: #333333;
    }
    #mainNavbar .navbar-toggler {
        display: block;
        margin-left: auto;
    }
   
    .hero-section p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .timeline::before {
        left: 15px;
        transform: none;
    }
    .timeline-item {
        width: 100%;
        padding-right: 0;
        text-align: left;
    }
    .timeline-item::before {
        left: 5px;
        transform: none;
    }
    .timeline-icon {
        left: 0;
        transform: none;
    }
    .timeline-item:nth-child(odd)::before, .timeline-item:nth-child(even)::before {
        left: 5px;
        right: auto;
    }
    .timeline-item:nth-child(odd) .timeline-icon, .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
        right: auto;
    }
    .footer-brand-col, .footer-nav-col, .footer-policy-col {
        text-align: center !important;
    }
    .footer-nav, .footer-policy {
        justify-content: center !important;
    }
}

@media (max-width: 575.98px) {
    
    .hero-section p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 10px 25px;
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .faq-bubble {
        white-space: normal;
        max-width: none;
        width: 100%;
    }
    .chat-message {
        max-width: 100%;
    }
}/* Styles for the main content grid within a consent tunnel */
.consentTunnelGrid {
    padding-top: 60px;    /* Top padding for the grid */
    padding-left: 30px;   /* Left padding for the grid */
    padding-right: 30px;  /* Right padding for the grid */
    padding-bottom: 60px; /* Bottom padding for the grid */
    /* Optional: max-width and margin auto for centering content */
    /* max-width: 960px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading styles within the consent tunnel grid */
.consentTunnelGrid h1 {
    font-family: 'Montserrat', sans-serif; /* Heading font family */
    font-size: 2.2rem;   /* Font size for H1 */
    font-weight: 700;    /* Bold font weight for H1 */
    color: #00796B;      /* Primary heading color (Dark Teal) */
    margin-top: 2rem;    /* Top margin for H1 */
    margin-bottom: 1rem; /* Bottom margin for H1 */
    line-height: 1.2;    /* Line height for H1 */
}

.consentTunnelGrid h2 {
    font-family: 'Montserrat', sans-serif; /* Heading font family */
    font-size: 1.8rem;   /* Font size for H2 */
    font-weight: 600;    /* Semi-bold font weight for H2 */
    color: #00796B;      /* Primary heading color (Dark Teal) */
    margin-top: 1.8rem;  /* Top margin for H2 */
    margin-bottom: 0.9rem; /* Bottom margin for H2 */
    line-height: 1.3;    /* Line height for H2 */
}

.consentTunnelGrid h3 {
    font-family: 'Montserrat', sans-serif; /* Heading font family */
    font-size: 1.5rem;   /* Font size for H3 */
    font-weight: 600;    /* Semi-bold font weight for H3 */
    color: #00796B;      /* Primary heading color (Dark Teal) */
    margin-top: 1.5rem;  /* Top margin for H3 */
    margin-bottom: 0.8rem; /* Bottom margin for H3 */
    line-height: 1.4;    /* Line height for H3 */
}

.consentTunnelGrid h4 {
    font-family: 'Montserrat', sans-serif; /* Heading font family */
    font-size: 1.25rem;  /* Font size for H4 */
    font-weight: 500;    /* Medium font weight for H4 */
    color: #E67E22;      /* Secondary heading color (Carrot Orange) */
    margin-top: 1.2rem;  /* Top margin for H4 */
    margin-bottom: 0.7rem; /* Bottom margin for H4 */
    line-height: 1.5;    /* Line height for H4 */
}

.consentTunnelGrid h5 {
    font-family: 'Montserrat', sans-serif; /* Heading font family */
    font-size: 1.1rem;   /* Font size for H5 */
    font-weight: 500;    /* Medium font weight for H5 */
    color: #E67E22;      /* Secondary heading color (Carrot Orange) */
    margin-top: 1rem;    /* Top margin for H5 */
    margin-bottom: 0.6rem; /* Bottom margin for H5 */
    line-height: 1.5;    /* Line height for H5 */
}

/* Paragraph styles within the consent tunnel grid */
.consentTunnelGrid p {
    font-family: 'Open Sans', sans-serif; /* Paragraph font family */
    font-size: 1rem;     /* Font size for paragraphs */
    color: #333333;      /* Standard text color */
    line-height: 1.7;    /* Line height for paragraphs */
    margin-bottom: 1rem; /* Bottom margin for paragraphs */
}

/* Unordered list styles within the consent tunnel grid */
.consentTunnelGrid ul {
    font-family: 'Open Sans', sans-serif; /* List font family */
    list-style-type: disc; /* Default bullet style */
    margin-top: 1rem;    /* Top margin for unordered lists */
    margin-bottom: 1rem; /* Bottom margin for unordered lists */
    padding-left: 25px;  /* Left padding for bullet points */
    color: #333333;      /* Standard text color for lists */
}

/* List item styles within unordered lists in the consent tunnel grid */
.consentTunnelGrid ul li {
    font-size: 1rem;     /* Font size for list items */
    line-height: 1.6;    /* Line height for list items */
    margin-bottom: 0.5rem; /* Bottom margin for list items */
}

/* Ordered list styles within the consent tunnel grid (added for completeness) */
.consentTunnelGrid ol {
    font-family: 'Open Sans', sans-serif; /* List font family */
    list-style-type: decimal; /* Default numbered style */
    margin-top: 1rem;    /* Top margin for ordered lists */
    margin-bottom: 1rem; /* Bottom margin for ordered lists */
    padding-left: 25px;  /* Left padding for numbers */
    color: #333333;      /* Standard text color for lists */
}

/* List item styles within ordered lists in the consent tunnel grid */
.consentTunnelGrid ol li {
    font-size: 1rem;     /* Font size for list items */
    line-height: 1.6;    /* Line height for list items */
    margin-bottom: 0.5rem; /* Bottom margin for list items */
}
