/* General Styles */
:root {
    --primary-dark: #1A1A1A; /* Very dark background */
    --secondary-dark: #0D0D0D; /* Even darker for some elements */
    --text-light: #ECF0F1; /* Light gray for general text */
    --text-muted-light: #BDC3C7; /* Lighter gray for muted text */
    --accent-blue: #00BFFF; /* Electric Blue */
    --accent-green: #32CD32; /* Lime Green */
    --border-color: #34495E; /* Dark Slate Gray for borders/dividers */
    --card-bg: #2C3E50; /* Darker background for cards */
    --btn-primary-bg: #00BFFF;
    --btn-primary-hover-bg: #009ACD;
    --btn-outline-color: #ECF0F1;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    font-weight: 600;
}

p {
    color: var(--text-light); /* Ensure standard text is visible */
}

a {
    color: var(--accent-blue);
    text-decoration: none;
}

a:hover {
    color: var(--accent-green);
    text-decoration: none;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-light);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

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

.highlight-text {
    font-weight: 700;
}

/* Custom Buttons */
.custom-cta-btn {
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background-color 0s, border-color 0s; /* No animation */
}

.custom-cta-btn:hover {
    background-color: var(--btn-primary-hover-bg);
    border-color: var(--btn-primary-hover-bg);
    color: var(--primary-dark);
}

.btn-outline-light {
    color: var(--btn-outline-color);
    border-color: var(--btn-outline-color);
    transition: color 0s, background-color 0s, border-color 0s; /* No animation */
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('static/media/fitness-gym-hero-bg.jpg') no-repeat center center / cover;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 100px; /* Adjust for fixed navbar */
}

.hero-content .display-1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero-content .lead {
    font-size: 1.3rem;
    font-weight: 400;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
    padding: 1rem 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1030;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand .logo-img {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-blue);
}

.navbar-nav .nav-link.cta-button {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    border-radius: 50px;
    padding: 8px 20px;
    margin-left: 15px;
    font-weight: 700;
    transition: background-color 0s, color 0s; /* No animation */
}

.navbar-nav .nav-link.cta-button:hover {
    background-color: var(--accent-blue);
    color: var(--primary-dark);
}

.navbar-toggler {
    border-color: var(--border-color);
}

.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%28236, 240, 241, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* About Section (Timeline) */
.about-section {
    background-color: var(--secondary-dark);
    padding-top: 80px;
    padding-bottom: 80px;
}

.timeline {
    position: relative;
    padding: 0 0 0 50px;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -30px;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--accent-blue);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 0 5px var(--secondary-dark);
}

.timeline-content {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    color: var(--accent-green);
    margin-bottom: 10px;
    font-size: 1.7rem;
}
@media (max-width:575px) {
    .timeline-content h3 {

    font-size: 1rem;
}
}
.timeline-content p {
    color: var(--text-muted-light);
}

/* Services Section (Accordion) */
.services-section {
    background-color: var(--primary-dark);
    padding-top: 80px;
    padding-bottom: 80px;
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background-color: var(--card-bg);
}

.accordion-button {
    background-color: var(--card-bg) !important;
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 20px 25px;
    border: none !important;
    box-shadow: none !important;
    transition: background-color 0s, color 0s; /* No animation */
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-blue) !important;
    color: var(--primary-dark) !important;
}

.accordion-button:not(.collapsed) .service-icon {
    color: var(--primary-dark);
}

.accordion-button::after {
    filter: invert(1); /* Adjust arrow color for dark theme */
}

.accordion-button:not(.collapsed)::after {
    filter: invert(0); /* Adjust arrow color for active state */
}

.accordion-body {
    background-color: var(--secondary-dark);
    color: var(--text-muted-light);
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.service-icon {
    font-size: 1.8rem;
    color: var(--accent-blue);
}

/* Pricing Section */
.pricing-section {
    background-color: var(--secondary-dark);
    padding-top: 80px;
    padding-bottom: 80px;
}

.price-toggle-switch {
    display: inline-flex;
    background-color: var(--card-bg);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid var(--border-color);
}

.price-toggle-switch .btn {
    border: none;
    background-color: transparent;
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0s, color 0s; /* No animation */
}
@media (max-width:575px) {
    .price-toggle-switch .btn {
           padding: 5px 15px;
    }
}
.price-toggle-switch .btn.active {
    background-color: var(--accent-blue);
    color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.pricing-card .card-title {
    color: var(--accent-green);
    font-size: 2.2rem;
    font-weight: 700;
}

.price-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.price-display .period {
    font-size: 1.2rem;
    color: var(--text-muted-light);
    font-weight: 400;
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-muted-light);
}

.feature-list .bi-check-circle-fill {
    color: var(--accent-green);
}

.feature-list .bi-x-circle-fill {
    color: var(--border-color);
}

/* Team Section (Carousel) */
.team-section {
    background-color: var(--primary-dark);
    padding-top: 80px;
    padding-bottom: 80px;
}

.team-member-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.team-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--accent-blue);
}

.team-member-card h4 {
    color: var(--accent-green);
    font-size: 1.8rem;
}

.team-member-card p {
    color: var(--text-muted-light);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--accent-blue);
    border-radius: 50%;
    padding: 15px;
}

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

.carousel-item {
    transition: transform 0s ease-in-out; /* Disable transition */
}

/* Spoiler styles */
.spoiler-container {
    margin-top: 15px;
}

.spoiler-toggle {
    cursor: pointer;
    font-weight: 600;
}

.spoiler-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding-top: 0;
    color: var(--text-muted-light);
    transition: max-height 0s, opacity 0s, padding-top 0s, visibility 0s; /* No animation */
}

.spoiler-content.active {
    max-height: 200px; /* Or a suitable max-height */
    opacity: 1;
    visibility: visible;
    padding-top: 15px;
}

/* Focus Areas Section (Industries) */
.focus-areas-section {
    background-color: var(--secondary-dark);
    padding-top: 80px;
    padding-bottom: 80px;
}

.focus-area-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    min-height: 280px; /* Ensure cards have similar height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.focus-area-card h4 {
    color: var(--accent-green);
    font-size: 1.6rem;
    margin-top: 15px;
    margin-bottom: 10px;
}

.focus-area-card p {
    color: var(--text-muted-light);
    text-align: center;
    flex-grow: 1;
}

.focus-link {
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.focus-link:hover {
    color: var(--accent-green);
}

/* FAQ Section */
.faq-section {
    background-color: var(--primary-dark);
    padding-top: 80px;
    padding-bottom: 80px;
}

.faq-question-list {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question-list .list-group-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0s, color 0s; /* No animation */
}

.faq-question-list .list-group-item:last-child {
    border-bottom: none;
}

.faq-question-list .list-group-item:hover {
    background-color: rgba(0, 191, 255, 0.1); /* Light blue hover */
    color: var(--accent-blue);
}

.faq-question-list .list-group-item.active {
    background-color: var(--accent-blue);
    color: var(--primary-dark);
    font-weight: 700;
}

.faq-answer-display {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    min-height: 250px; /* Ensure space for answers */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.faq-answer {
    font-size: 1.1rem;
    color: var(--text-muted-light);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--secondary-dark);
    padding-top: 80px;
    padding-bottom: 80px;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    position: relative;
    padding: 30px;
    min-height: 250px; /* Ensure consistent card height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Speech bubble effect */
.testimonial-card::before {
    content: "";
    position: absolute;
    top: -15px; /* Adjust to place the tail above the card */
    left: 20px;
    border-width: 0 15px 15px 15px;
    border-style: solid;
    border-color: transparent transparent var(--card-bg) transparent;
}

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

.testimonial-card h5 {
    color: var(--accent-blue);
    font-weight: 600;
}

.testimonial-card small {
    color: var(--text-muted-light);
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.testimonial-card .rating .bi-star-fill,
.testimonial-card .rating .bi-star-half {
    color: gold;
}

.testimonial-card .rating .bi-star {
    color: var(--text-muted-light);
}

/* Footer Section */
.footer-section {
    background-color: var(--secondary-dark);
    color: var(--text-muted-light);
    padding-top: 50px;
    padding-bottom: 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h5 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-link {
    color: var(--text-muted-light);
    display: block;
    margin-bottom: 8px;
    transition: color 0s; /* No animation */
}

.footer-link:hover {
    color: var(--accent-blue);
}

.footer-divider {
    border-color: var(--border-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.data-widget {
    font-size: 0.95rem;
    color: var(--text-muted-light);
}

.data-widget i {
    color: var(--accent-green);
}

.data-widget .status-online {
    color: var(--accent-green);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--secondary-dark);
        border-radius: 8px;
        margin-top: 10px;
        padding: 15px;
        border: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link {
        padding: 10px 15px;
        margin: 5px 0;
    }

    .navbar-nav .nav-link.cta-button {
        margin-left: 0;
        margin-top: 15px;
        display: block;
        text-align: center;
    }

    .hero-content .display-1 {
        font-size: 3rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 15px;
    }

    .timeline-icon {
        left: -10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .faq-answer-display {
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .hero-content .display-1 {
        font-size: 2.5rem;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

    .pricing-card {
        padding: 30px;
    }

    .pricing-card .card-title {
        font-size: 1.8rem;
    }

    .price-display {
        font-size: 2.5rem;
    }

    .team-member-card, .focus-area-card, .testimonial-card {
        margin-bottom: 20px;
    }

    .team-member-card:last-child, .focus-area-card:last-child, .testimonial-card:last-child {
        margin-bottom: 0;
    }
}/* New styles for .legalFoldBox and its content */

.legalFoldBox {
    /* Padding for the container itself, providing vertical and horizontal spacing */
    padding: 60px 40px;
    /* Background color to distinguish it, fitting the dark theme */
    background-color: var(--card-bg);
    /* Max width to prevent content from stretching too wide on large screens */
    max-width: 1000px;
    /* Center the box horizontally */
    margin: 40px auto;
    /* Optional: Rounded corners for a softer look */
    border-radius: 12px;
    /* Optional: A subtle border */
    border: 1px solid var(--border-color);
    /* Ensure text inside is readable by default */
    color: var(--text-light);
}

.legalFoldBox h1 {
    /* Heading 1 styles - suitable for a main title within the box */
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light); /* Using light text for general content titles */
}

.legalFoldBox h2 {
    /* Heading 2 styles */
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.legalFoldBox h3 {
    /* Heading 3 styles */
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.6rem;
    margin-bottom: 0.7rem;
    color: var(--text-light);
}

.legalFoldBox h4 {
    /* Heading 4 styles */
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
    color: var(--text-light);
}

.legalFoldBox h5 {
    /* Heading 5 styles */
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.legalFoldBox p {
    /* Paragraph styles */
    font-size: 1rem;
    line-height: 1.7; /* Increased line height for better readability */
    margin-bottom: 1rem;
    color: var(--text-muted-light); /* Muted light color for body text */
}

.legalFoldBox ul {
    /* Unordered list styles */
    list-style: disc; /* Standard disc bullet points */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 25px; /* Indent for bullet points */
    color: var(--text-muted-light); /* Inherit color from parent or set explicitly */
}

.legalFoldBox li {
    /* List item styles */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6;
    color: var(--text-muted-light); /* Inherit color from parent or set explicitly */
}

/* Optional: Link styles within .legalFoldBox for consistency */
.legalFoldBox a {
    color: var(--accent-blue);
    text-decoration: underline; /* Standard for links in content */
}

.legalFoldBox a:hover {
    color: var(--accent-green);
    text-decoration: none;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .legalFoldBox {
        padding: 40px 20px; /* Reduce padding on smaller screens */
        margin: 20px auto; /* Adjust margin */
    }

    .legalFoldBox h1 {
        font-size: 1.8rem;
    }

    .legalFoldBox h2 {
        font-size: 1.5rem;
    }

    .legalFoldBox h3 {
        font-size: 1.3rem;
    }
}
