/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

:root {
    --primary-blue: #0A3D62;
    --secondary-blue: #1C658C;
    --light-blue: #D2E0FB;
    --accent-cyan: #00BFFF; /* A vibrant blue for accents */
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --gradient-start: #0A3D62;
    --gradient-end: #1C658C;
    --hero-overlay: rgba(0, 0, 0, 0.5);
}

/* Utility Classes */
.bg-light-blue {
    background-color: var(--light-blue);
}

.bg-primary-dark {
    background-color: var(--primary-blue);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

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

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

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.btn-primary {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none !important; /* Remove underline */
}

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

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    text-decoration: none !important; /* Remove underline */
}

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

.section-title {
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-blue);
}

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

.section-title.text-white::after {
    background-color: var(--light-blue);
}

/* Navbar */
.navbar {
    background-color: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



.navbar-brand span {
    color: var(--text-light);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-light);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('uploads/graphics/board-game-table-bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 70px; /* Adjust for fixed navbar */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hero-overlay);
    z-index: 0;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--light-blue);
    position: relative;
    z-index: 2;
}

.hero-title span {
    color: var(--accent-cyan);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

.hero-cta {
    position: relative;
    z-index: 2;
}

.hero-image-element {
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.hero-image-element:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-diagonal-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
    fill: var(--light-blue);
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-diagonal-svg {
        height: 80px;
    }
}

/* About Section (Timeline) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 0;
    position: relative;
    width: 50%;
}

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

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-cyan);
    position: absolute;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    box-shadow: 0 0 0 3px var(--light-blue), 0 0 0 6px var(--primary-blue);
}

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

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

.timeline-content {
    background-color: var(--text-light);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.timeline-date {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
        text-align: left !important;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-icon {
        left: 0px !important;
        margin-left: 0;
    }
    .timeline-item:nth-child(odd) .timeline-icon {
        left: 0px;
        right: auto;
    }
}

/* Services Section */
.service-card {
    background-color: var(--text-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.service-select-btn {
    text-decoration: none !important;
}

/* Features Section */
.feature-item {
    background-color: var(--text-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-item.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

/* How It Works Section */
.process-diagram {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    position: relative;
    padding: 40px 0;
}

.process-diagram::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--light-blue);
    z-index: 0;
    transform: translateY(-50%);
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
    background-color: var(--secondary-blue);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin: 0 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: -50px auto 20px auto; /* Position above the card */
    border: 5px solid var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: relative;
}

.process-connector {
    flex-grow: 0;
    flex-shrink: 0;
    width: 80px;
    height: 4px;
    background-color: var(--light-blue);
    position: relative;
    top: 40px; /* Align with the line */
    z-index: 0;
    margin: 0 -15px;
}

.process-diagram .process-connector:last-of-type {
    display: none;
}

@media (max-width: 992px) {
    .process-diagram {
        flex-direction: column;
        align-items: center;
    }
    .process-diagram::before {
        left: 50%;
        top: 0;
        bottom: 0;
        width: 4px;
        height: auto;
    }
    .process-step {
        width: 80%;
        margin: 40px 0;
        padding-top: 50px;
    }
    .step-number {
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    .process-connector {
        display: none;
    }

     .process-diagram::before{
        display: none;
    }
}

/* Categories Section (Industries) */
.category-card {
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid var(--secondary-blue);
}

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

.category-card .card-content {
    height: 100%;
    transition: transform 0.3s ease;
}

.category-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.category-card:hover .card-content {
    transform: translateY(-100%);
}

.category-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0%);
}

.category-icon {
    font-size: 3.5rem;
    color: var(--accent-cyan);
}

/* Stats Section */
.stat-item {
    background-color: var(--secondary-blue);
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: #2a7ca8;
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
}

/* Testimonials Section */
.testimonial-card {
    background-color: var(--text-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

/* FAQ Section */
.faq-item {
    background-color: var(--secondary-blue);
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-button {
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    text-align: left;
    transition: background-color 0.3s ease;
    box-shadow: none !important;
    text-decoration: none !important;
}

.faq-button:not(.collapsed) {
    background-color: var(--accent-cyan);
    color: var(--primary-blue);
}

.faq-button:focus {
    box-shadow: none;
}

.faq-body {
    background-color: var(--secondary-blue);
    color: var(--text-light);
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Consultation Form Modal */
#consultationFormModal .modal-content {
    border-radius: 15px;
    border: none;
    background-color: var(--light-blue);
}

#consultationFormModal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

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

#consultationFormModal .form-label {
    font-weight: 600;
    color: var(--primary-blue);
}

#consultationFormModal .form-control {
    border-radius: 8px;
    border: 1px solid var(--secondary-blue);
    padding: 0.75rem 1rem;
}

#consultationFormModal .form-control:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.25);
}

#consultationFormModal .btn-primary {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
}

/* Footer */
.footer-section {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1050;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: var(--primary-blue) !important;
    color: var(--text-light) !important;
}

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

.cookie-banner .btn {
    text-decoration: none !important;
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    border-radius: 15px;
    background-color: var(--light-blue);
}

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

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

#cookieSettingsModal .form-check-label {
    font-weight: 600;
    color: var(--primary-blue);
}

#cookieSettingsModal .form-check-input:checked {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.25);
}
/*
 * New styles for common content elements within .userClauseNet
 * These styles are designed to provide standard typography and spacing
 * for blog posts, articles, or general text content.
 */

/* Container for user-generated content */
.userClauseNet {
    padding-top: 3rem; /* Top padding for the content area */
    padding-bottom: 3rem; /* Bottom padding for the content area */
    padding-left: 1rem; /* Left padding for smaller screens */
    padding-right: 1rem; /* Right padding for smaller screens */
    max-width: 960px; /* Maximum width for content readability */
    margin-left: auto; /* Center the content horizontally */
    margin-right: auto; /* Center the content horizontally */
    color: var(--text-dark); /* Default text color for this section */
}

@media (min-width: 768px) {
    .userClauseNet {
        padding-left: 2rem; /* Increase side padding on larger screens */
        padding-right: 2rem; /* Increase side padding on larger screens */
    }
}

/* Heading 1 styles */
.userClauseNet h1 {
    font-size: 2.2rem; /* Moderate font size for main headings */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 2rem; /* Top margin for separation */
    margin-bottom: 1.5rem; /* Bottom margin for separation */
    color: var(--primary-blue); /* Heading color */
}

/* Heading 2 styles */
.userClauseNet h2 {
    font-size: 1.8rem; /* Smaller than h1 */
    font-weight: 600; /* Slightly less bold */
    line-height: 1.3;
    margin-top: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-blue);
}

/* Heading 3 styles */
.userClauseNet h3 {
    font-size: 1.5rem; /* Smaller than h2 */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.6rem;
    margin-bottom: 1rem;
    color: var(--secondary-blue); /* Slightly different shade for hierarchy */
}

/* Heading 4 styles */
.userClauseNet h4 {
    font-size: 1.25rem; /* Smaller than h3 */
    font-weight: 500; /* Medium font weight */
    line-height: 1.5;
    margin-top: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-blue);
}

/* Heading 5 styles */
.userClauseNet h5 {
    font-size: 1.1rem; /* Smaller than h4 */
    font-weight: 500;
    line-height: 1.5;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

/* Paragraph styles */
.userClauseNet p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Generous line height for readability */
    margin-bottom: 1rem; /* Bottom margin between paragraphs */
    color: var(--text-dark);
}

/* Unordered list styles */
.userClauseNet ul {
    list-style: disc; /* Default bullet style */
    padding-left: 1.5rem; /* Indent list items */
    margin-bottom: 1rem; /* Bottom margin for the list */
    color: var(--text-dark);
}

/* List item styles */
.userClauseNet li {
    font-size: 1rem; /* Same font size as paragraphs */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
}

/* Ensure last paragraph/list item doesn't have excessive bottom margin if followed by another element */
.userClauseNet p:last-child,
.userClauseNet ul:last-child {
    margin-bottom: 0;
}


.features-section{
    overflow: hidden;
}