body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6F00; /* Deep Orange */
    --secondary-color: #FF8F00; /* Lighter Orange */
    --accent-color: #FFD54F; /* Amber for highlights */
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-white: #ffffff;
}

.navbar-brand .site-title-text {
    font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.8rem);
    color: var(--dark-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

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

.offcanvas-header .offcanvas-title {
    font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.8rem);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    padding: 0.8rem 2rem;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

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

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: var(--text-white);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #138496;
}

.section-title-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.8rem);
    text-transform: uppercase;
}

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

/* Hero Section */
.hero-section {
    background-image: url('media/uploads/stock-market-hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    padding-top: 100px; /* Adjust for fixed header */
    padding-bottom: 50px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextFadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

.hero-section p {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextFadeIn 1s ease-out forwards;
    animation-delay: 0.8s;
}

.hero-section .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextFadeIn 1s ease-out forwards;
    animation-delay: 1.1s;
}

@keyframes heroTextFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Us Section */
#about p {
    font-size: 1.1rem;
}

/* Our Services Section */
.service-card {
    background-color: var(--text-white);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.problem-solution-block {
    background-color: var(--light-color);
    border: 1px solid #dee2e6;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-solution-block:first-child {
    border-left: 5px solid #dc3545; /* Red accent for problem */
}

.problem-solution-block:last-child {
    border-left: 5px solid #28a745; /* Green accent for solution */
}

.service-icon-color {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Case Studies Section */
#case-studies .img-fluid {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

#case-studies .list-unstyled li {
    font-size: 1.05rem;
}

/* How It Works Section */
.how-it-works-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.central-block {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    max-width: 350px;
}

.central-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 0;
    width: 100%;
    max-width: 1000px;
}
@media (max-width: 768px) {
.card-grid {
 grid-template-columns: 1fr;
}
}


.custom-card {
    background-color: var(--text-white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.icon-gradient-bg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6a00, #ee0979);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem auto;
    font-size: 1.8rem;
    color: var(--text-white);
}

/* Lines for How It Works (simplified for responsiveness) */
@media (min-width: 768px) {
    .how-it-works-diagram::before {
        content: '';
        position: absolute;
        top: calc(50% - 100px);
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 100px;
        background-color: #ccc;
        z-index: 0;
    }

    .how-it-works-diagram .card-grid::before {
        content: '';
        position: absolute;
        top: -1.5rem;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #ccc;
        z-index: -1;
    }

    .how-it-works-diagram .custom-card::before {
        content: '';
        position: absolute;
        top: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 1.5rem;
        background-color: #ccc;
        z-index: -1;
    }
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
    color: var(--dark-color);
    background-color: var(--text-white);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}

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

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    display: none;
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(45deg);
    content: '\f286'; /* bi-dash-circle-fill */
}

.accordion-button.collapsed .accordion-icon {
    content: '\f4fe'; /* bi-plus-circle-fill */
}

.accordion-body {
    background-color: var(--light-color);
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem;
}

/* Pricing Plans Section */
.pricing-card {
    background-color: var(--text-white);
    color: var(--dark-color);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.pricing-card.border-primary {
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 0.5rem 1rem rgba(255, 111, 0, 0.2) !important;
}

.pricing-card .card-title {
    color: var(--primary-color);
}

.pricing-card ul li {
    font-size: 1rem;
}

.pricing-card .text-secondary {
    color: #6c757d !important;
}

.pricing-card .accordion-button {
    padding: 0;
    background-color: transparent;
    border: none;
    color: var(--text-white);
}

.pricing-card .accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background-color: transparent;
}

.pricing-card .accordion-body {
    background-color: transparent;
    border: none;
    color: #ccc;
}

/* Footer */
.footer {
    background-color: var(--dark-color) !important;
    color: var(--text-white);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.live-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #dc3545; /* Red for offline */
    animation: none;
}

.live-status-indicator.online {
    background-color: #28a745; /* Green for online */
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

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

#cookieConsentModal .modal-footer {
    border-top: none;
    padding-top: 0;
}

#cookieConsentModal .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#cookieConsentModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 111, 0, 0.25);
}

/* Animation classes for Intersection Observer */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Typography */
@media (max-width: 1023px) {
    .site-title-text {
        font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.6rem);
    }
    .section-title-gradient {
        font-size: clamp(1.8rem, 1.5rem + 1vw, 2.2rem);
    }
    .hero-section h1 {
        font-size: clamp(2rem, 1.8rem + 2vw, 3.5rem);
    }
    .hero-section p {
        font-size: clamp(0.9rem, 0.8rem + 0.4vw, 1.2rem);
    }
}

@media (max-width: 767px) {
    .site-title-text {
        font-size: 1.25rem;
    }
    .section-title-gradient {
        font-size: 1.5rem;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .navbar-toggler {
        font-size: 1.25rem;
    }
    .offcanvas-body .nav-link {
        font-size: 1.1rem;
    }

    .problem-solution-block {
        min-height: auto;
    }

    .how-it-works-diagram .central-block {
        padding: 2rem 1rem;
    }
    .how-it-works-diagram .central-icon {
        font-size: 2.5rem;
    }
    .how-it-works-diagram .card-grid {
        grid-template-columns: 1fr;
    }
    .how-it-works-diagram .custom-card::before,
    .how-it-works-diagram .card-grid::before,
    .how-it-works-diagram::before {
        display: none;
    }
    .pricing-card .display-4 {
        font-size: 3rem;
    }
    .modal-footer .btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .modal-footer.flex-column-reverse .btn:not(:last-child) {
        margin-bottom: 0.5rem;
    }
}
/* Styles for the main container of the privacy content */
.privacyNestZone {
    margin-top: 2rem; /* Top margin for spacing from elements above */
    padding: 0 1.5rem; /* Side padding for content inside the zone, ensuring space from screen edges */
    max-width: 800px; /* Limit content width for improved readability on large screens */
    margin-left: auto; /* Center the container horizontally */
    margin-right: auto; /* Center the container horizontally */
}

/* Heading 1 styles */
.privacyNestZone h1 {
    font-size: 1.75rem; /* Moderate font size for main headings */
    line-height: 1.2; /* Tighter line height for headings */
    margin-bottom: 1.5rem; /* Space below the heading */
    font-weight: 700; /* Bold font weight */
}

/* Heading 2 styles */
.privacyNestZone h2 {
    font-size: 1.5rem; /* Smaller than h1, still prominent */
    line-height: 1.2;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

/* Heading 3 styles */
.privacyNestZone h3 {
    font-size: 1.3rem; /* Smaller than h2 */
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Heading 4 styles */
.privacyNestZone h4 {
    font-size: 1.15rem; /* Smaller than h3 */
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* Heading 5 styles */
.privacyNestZone h5 {
    font-size: 1.05rem; /* Slightly larger than base text, but not too big */
    line-height: 1.4;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

/* Paragraph styles */
.privacyNestZone p {
    font-size: 1rem; /* Standard base font size */
    line-height: 1.6; /* Good line height for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
}

/* Unordered list styles */
.privacyNestZone ul {
    list-style-type: disc; /* Default disc bullets */
    padding-left: 1.5rem; /* Indent for list items */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1rem; /* Space below the list */
}

/* List item styles */
.privacyNestZone li {
    font-size: 1rem; /* Inherit or explicitly set base font size */
    line-height: 1.6; /* Consistent line height with paragraphs */
    margin-bottom: 0.5rem; /* Space between list items */
}
main {
    overflow: hidden;
}