
:root {
    --primary-color: #6A1B9A; /* Deep Purple */
    --secondary-color: #FFD54F; /* Amber Yellow */
    --accent-color: #4CAF50; /* Green */
    --dark-bg: #212121; /* Dark Grey */
    --light-bg: #F8F9FA; /* Light Grey */
    --text-color: #333333; /* Dark Grey for text */
    --text-light: #F8F9FA; /* Light text for dark backgrounds */
    --font-family-base: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family-base);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

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

.display-3, .display-5 {
    color: var(--primary-color);
}

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

.bg-primary {
    background-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: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    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);
    transition: all 0.3s ease;
}

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

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

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

/* Header & Navigation */
.header {
    background-color: rgba(33, 33, 33, 0.95); /* Dark background for header */
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

.header .navbar-brand .logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.header .navbar-brand .brand-name {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.5rem;
}

.header .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background-color: var(--dark-bg);
    padding-top: 170px;
    overflow: hidden;
}

.hero-bg-img {
    filter: brightness(0.5);
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.7) 0%, rgba(33, 33, 33, 0.7) 100%);
    z-index: 0;
}

.hero-section h1 {
    color: var(--secondary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section p.lead {
    color: rgba(255, 255, 255, 0.85);
}

.hero-features {
    margin-top: 6rem !important;
}

.feature-tile {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.feature-tile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4) !important;
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

.about-map-container {
    height: 500px;
    background-color: #ddd;
    background-image: url('photos/graphics/games-board-playing-at-home-family.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.about-map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
    z-index: 1;
}

.map-pin {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    animation: pulse 2s infinite;
    z-index: 2;
    transition: all 0.3s ease;
}

.map-pin:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    animation: none;
}

.map-pin .pin-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-pin:hover .pin-label {
    opacity: 1;
}

.pin-1 { top: 20%; left: 15%; }
.pin-2 { top: 15%; right: 20%; }
.pin-3 { bottom: 25%; left: 30%; }
.pin-4 { bottom: 10%; right: 10%; }

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Services Section */
.services-section .service-card {
    transition: all 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

.services-section .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.services-section .service-card img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.services-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* Features Section */
.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    margin-top: 4px;
    flex-shrink: 0;
}

/* Team Section */
.team-member {
    overflow: hidden;
    position: relative;
}

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.team-member:hover .team-avatar {
    transform: scale(1.05);
}

.team-overlay {
    background-color: rgba(106, 27, 154, 0.9);
    color: white;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease-out;
}

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

.team-overlay .social-icons a {
    color: white;
    transition: color 0.3s ease;
}

.team-overlay .social-icons a:hover {
    color: var(--secondary-color);
}

/* Portfolio Section */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
}

.portfolio-item {
    transition: all 0.4s ease-in-out;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.portfolio-card {
    transition: all 0.3s ease;
}

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

.portfolio-card img {
    height: 280px;
    object-fit: cover;
    width: 100%;
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, var(--primary-color), darken(var(--primary-color), 15%));
}

.process-path {
    position: relative;
    padding: 2rem 0;
}

.path-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(255, 213, 79, 0.7);
    animation: pulse-yellow 2s infinite;
    transition: all 0.3s ease;
}

.process-step.aos-animate .step-icon-wrapper {
    animation: none; /* Stop pulse after AOS animates */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.process-step:nth-child(even) .step-icon-wrapper {
    order: 2;
    margin-left: 2rem;
    margin-right: 0;
}

.process-step:nth-child(odd) .step-icon-wrapper {
    order: 1;
    margin-right: 2rem;
    margin-left: 0;
}

@keyframes pulse-yellow {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 213, 79, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 213, 79, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 213, 79, 0); }
}

/* Contact Section */
.contact-form .form-control, .contact-form .form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.contact-form .form-control:focus, .contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(106, 27, 154, 0.25);
}

.contact-form .invalid-feedback {
    font-size: 0.875em;
}

/* Testimonials Section */
.testimonials-section .testimonial-card {
    background-color: #fff;
    transition: all 0.3s ease;
}

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

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

.testimonials-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* Footer Section */
.footer {
    background-color: var(--dark-bg) !important;
    color: rgba(255, 255, 255, 1) !important;
}

.footer .logo-img-footer {
    height: 35px;
    width: auto;
}

.footer .brand-name {
    color: var(--text-light);
    font-size: 1.3rem;
}

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

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

.footer .policy-links a {
    color: rgba(255, 255, 255, 1) !important;
    transition: color 0.3s ease;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    display: none; /* Hidden by default */
    animation: fadeIn 0.5s ease-out;
}

.cookie-banner p {
    color: var(--text-color);
}

.cookie-banner a {
    color: var(--primary-color);
}

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

.cookie-banner .btn-outline-secondary {
    color: var(--text-color);
    border-color: #ccc;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .header .navbar-collapse {
        background-color: var(--dark-bg);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.5rem;
    }

    .header .nav-link {
        padding: 0.5rem 1rem;
        margin: 0;
    }

    .hero-section {
        min-height: 80vh;
        padding-top: 150px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

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

    .hero-features .col-md-4 {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .about-map-container {
        height: 400px;
    }

    .process-path .path-line {
        left: 30px;
    }

    .process-step {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left !important;
        padding-left: 50px;
    }

    .process-step:nth-child(even) .step-icon-wrapper,
    .process-step:nth-child(odd) .step-icon-wrapper {
        order: 0;
        margin-left: 0;
        margin-right: 0;
        position: absolute;
        left: 0;
        top: -40px;
    }

    .process-step .step-content {
        margin-top: 10px;
    }

    .cookie-banner {
        width: 90%;
        left: 5%;
        right: 5%;
        bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

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

    .hero-features .col-md-4 {
        flex: 0 0 95%;
        max-width: 95%;
    }

    .about-map-container {
        height: 300px;
    }

    .map-pin {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .map-pin .pin-label {
        font-size: 0.7rem;
        bottom: -20px;
    }

    .portfolio-grid .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Base styles for content within .secureTermsHub */
.secureTermsHub {
    padding-top: 4rem; /* Top padding for the section */
    padding-bottom: 4rem; /* Bottom padding for the section */
    padding-left: 1rem; /* Left padding for the section */
    padding-right: 1rem; /* Right padding for the section */
    max-width: 1200px; /* Max width for content containment */
    margin-left: auto; /* Center the content block */
    margin-right: auto; /* Center the content block */
}

.secureTermsHub h1 {
    font-size: 2.5rem; /* Heading 1 font size */
    line-height: 1.2; /* Line height for readability */
    margin-bottom: 1.5rem; /* Spacing below heading */
    color: var(--dark-bg); /* Heading color from variable */
}

.secureTermsHub h2 {
    font-size: 2rem; /* Heading 2 font size */
    line-height: 1.3; /* Line height for readability */
    margin-bottom: 1.25rem; /* Spacing below heading */
    color: var(--dark-bg); /* Heading color from variable */
}

.secureTermsHub h3 {
    font-size: 1.75rem; /* Heading 3 font size */
    line-height: 1.4; /* Line height for readability */
    margin-bottom: 1rem; /* Spacing below heading */
    color: var(--dark-bg); /* Heading color from variable */
}

.secureTermsHub h4 {
    font-size: 1.5rem; /* Heading 4 font size */
    line-height: 1.5; /* Line height for readability */
    margin-bottom: 0.75rem; /* Spacing below heading */
    color: var(--dark-bg); /* Heading color from variable */
}

.secureTermsHub h5 {
    font-size: 1.25rem; /* Heading 5 font size */
    line-height: 1.5; /* Line height for readability */
    margin-bottom: 0.5rem; /* Spacing below heading */
    color: var(--dark-bg); /* Heading color from variable */
}

.secureTermsHub p {
    font-size: 1rem; /* Paragraph font size */
    line-height: 1.7; /* Line height for readability */
    margin-bottom: 1rem; /* Spacing between paragraphs */
    color: var(--text-color); /* Paragraph text color from variable */
}

.secureTermsHub ul {
    list-style: disc; /* Default bullet style for unordered lists */
    padding-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1rem; /* Spacing below the list */
    color: var(--text-color); /* List item text color */
}

.secureTermsHub ol {
    list-style: decimal; /* Default numbering style for ordered lists */
    padding-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1rem; /* Spacing below the list */
    color: var(--text-color); /* List item text color */
}

.secureTermsHub li {
    font-size: 1rem; /* List item font size */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
    color: var(--text-color); /* List item text color */
}

/* Responsive adjustments for headings */
@media (max-width: 767.98px) {
    .secureTermsHub h1 {
        font-size: 2rem; /* Smaller H1 on mobile */
    }
    .secureTermsHub h2 {
        font-size: 1.75rem; /* Smaller H2 on mobile */
    }
    .secureTermsHub h3 {
        font-size: 1.5rem; /* Smaller H3 on mobile */
    }
    .secureTermsHub h4 {
        font-size: 1.25rem; /* Smaller H4 on mobile */
    }
    .secureTermsHub h5 {
        font-size: 1.1rem; /* Smaller H5 on mobile */
    }
    .secureTermsHub p,
    .secureTermsHub li {
        font-size: 0.95rem; /* Slightly smaller text on mobile */
    }
}

.navbar > .container{
    flex-direction: column;
}
.navbar-nav{
    flex-wrap: wrap;
}

@media (max-width: 1199px){
    .navbar > .container{
    flex-direction: row;
}
}
.card-title.fw-bold.text-primary{
    font-size: 20px;
}

.process-step{
    padding: 25px;
    border-radius: 20px;
    justify-content: space-between;
    box-shadow: 2px 3px 16px #ffffffb7;
}

@media (max-width: 575px){
    .header .navbar-brand .brand-name{
        font-size: 20px;
    }
}

.card-body{
    padding: 0;
}

#how-it-works{
    h2{
        color: #fff !important;
    }
}