/********** Template CSS **********/
:root {
    --primary: #16D5FF;
    --secondary: #999999;
    --light: #F2F8FE;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 60px;
    z-index: 99;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.hero-header h1 {
    color: #212529; /* Dark text for readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Subtle shadow to improve readability */
}

.hero-header .breadcrumb a {
    color: #007bff; /* Accent color for breadcrumb links */
    transition: color 0.3s ease; /* Smooth hover transition */
}

.hero-header .breadcrumb a:hover {
    color: #0056b3; /* Darker shade of blue on hover */
}

.hero-header img {
    position: relative;
    z-index: 2; /* Ensure the foreground image stays above the background */
    animation: pulse infinite 3s; /* Maintain the pulse animation */
    max-width: 100%; /* Allow the image to scale with its container */
    width: 80%; /* Adjust the width to make the image larger */
    height: auto; /* Maintain the aspect ratio of the image */
    margin: 0 auto; /* Center the image horizontally */
    display: block; /* Ensure the image behaves as a block element */
}




/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -80px;
    right: -80px;
    border: 80px solid;
    transform: rotate(45deg);
    opacity: 1;
    transition: .5s;
}

.service-item.bg-white::after {
    border-color: transparent transparent var(--light) transparent;
}

.service-item.bg-light::after {
    border-color: transparent transparent #FFFFFF transparent;
}

.service-item:hover::after {
    opacity: 0;
}


/*** Roadmap ***/
.roadmap-carousel {
    position: relative;
}

.roadmap-carousel::before {
    position: absolute;
    content: "";
    height: 0;
    width: 100%;
    top: 20px;
    left: 0;
    border-top: 2px dashed var(--secondary);
}

.roadmap-carousel .roadmap-item .roadmap-point {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 6px;
    left: 50%;
    margin-left: -15px;
    background: #FFFFFF;
    border: 2px solid var(--primary);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-carousel .roadmap-item .roadmap-point span {
    display: block;
    width: 18px;
    height: 18px;
    background: var(--primary);
}

.roadmap-carousel .roadmap-item {
    position: relative;
    padding-top: 150px;
    text-align: center;
}

.roadmap-carousel .roadmap-item::before {
    position: absolute;
    content: "";
    width: 0;
    height: 115px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-right: 2px dashed var(--secondary);
}

.roadmap-carousel .roadmap-item::after {
    position: absolute;
    content: "";
    width: 14px;
    height: 14px;
    top: 111px;
    left: 50%;
    margin-left: -7px;
    transform: rotate(45deg);
    background: var(--primary);
}

.roadmap-carousel .owl-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.roadmap-carousel .owl-nav .owl-prev,
.roadmap-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: var(--light);
    background: var(--primary);
    transition: .5s;
}

.roadmap-carousel .owl-nav .owl-prev:hover,
.roadmap-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: var(--dark);
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.footer .btn.btn-square:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(17, 17, 17, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: var(--dark);
}

/*** Investment Plan Styling ***/
.plan-card {
    border: 2px solid #007bff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.plan-card h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #007bff;
}

.plan-card h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.plan-card .weekly {
    font-size: 14px;
    color: #666;
    display: block;
    margin-bottom: 15px;
}

.plan-card ul {
    list-style: none;
    padding: 0;
}

.plan-card ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

.plan-card .btn {
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-top: 15px;
    background-color: #007bff;
    color: white;
    border: 2px solid #007bff;
    transition: background 0.3s ease, color 0.3s ease;
}

.plan-card .btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Apply consistent styling across all plans */
.plan-card.bronze-plan,
.plan-card.silver-plan,
.plan-card.golden-plan,
.plan-card.diamond-plan,
.plan-card.care-plan,
.plan-card.ultimate-plan {
    border-color: #007bff;
}

.plan-card.bronze-plan h2,
.plan-card.silver-plan h2,
.plan-card.golden-plan h2,
.plan-card.diamond-plan h2,
.plan-card.care-plan h2,
.plan-card.ultimate-plan h2 {
    color: #007bff;
}

.plan-card.bronze-plan .btn,
.plan-card.silver-plan .btn,
.plan-card.golden-plan .btn,
.plan-card.diamond-plan .btn,
.plan-card.care-plan .btn,
.plan-card.ultimate-plan .btn {
    background-color: #007bff;
    border-color: #007bff;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .plan-card h2 {
        font-size: 2.5rem;
    }
    .plan-card .btn {
        font-size: 14px;
        padding: 10px 18px;
    }
}

@media (max-width: 768px) {
    .plan-card {
        padding: 15px;
    }
    .plan-card h2 {
        font-size: 2rem;
    }
    .plan-card ul li {
        font-size: 13px;
    }
}


/*** Benefit Page  ***/
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: #007bff;
}

.icon {
    flex-shrink: 0;
    width: 40px; /* Smaller image size */
    height: 40px;
}

.info-box h5 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.description {
    margin: 5px 0 0;
    font-size: 12px; /* Reduced font size */
    color: #777;
    line-height: 1.5;
}

.wow {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .info-box {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .icon {
        margin: 0 0 10px;
    }
}

/*** Auto-copy Page  ***/
/* General Styling */
.animated-image {
    max-width: 100%;
    height: auto;
    animation: float 4s infinite ease-in-out;
    transition: transform 0.3s ease;
}

.animated-image:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.container-xxl {
    background-color: #f8f9fa; /* Light background color */
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
}

.texts-primary {
    color: #007bff !important;
    font-size: 16px;
}

.text-muted {
    color: #6c757d !important;
    font-size: 12px;
}

.icon-small {
    width: 34px;
    height: 34px;
}

.fs-6 {
    font-size: 14px;
}

 /* Services  */
 
/* Container Animation */
.container-xxl {
    animation: fadeIn 2s ease-in-out;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Fade-in Keyframes */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced Font Sizes */
h1 {
    font-size: 2rem; /* Smaller main heading */
}

h2 {
    font-size: 1rem; /* Smaller secondary heading */
}

p {
    font-size: 0.9rem; /* Smaller paragraph text */
}

button {
    font-size: 0.8rem; /* Smaller button text */
}

/* Unique Animation for the First Image */
.animated-image {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Subtle Animation for the Video */
.animated-video {
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Shares  */
Header Styling
/* Container Animation */
.container-xxl {
    animation: fadeIn 2s ease-in-out;
    background-color: #f8f9fa;
}

/* Fade-in Keyframes */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Unique Animation for the Image */
.animated-images {
    width: 250px; /* Larger image */
    height: auto;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Info Box Styling */
.info-boxes {
    background-color: #fff;
    border-radius: 12px;
    width: 30%; /* Equal width for all boxes */
    height: 120px; /* Equal height for all boxes */
    margin: 0 10px;
    color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    text-align: center;
    transition: transform 0.3s ease;
}

.info-boxes:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.info-boxes h3 {
    font-size: 1.4rem; /* Adjust size to fit */
    margin-bottom: 5px; /* Space between text */
}

.info-boxes p {
    font-size: 0.9rem; /* Adjust size to fit */
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .info-boxes {
        width: 100%; /* Full width on small screens */
        margin-bottom: 15px;
        height: auto; /* Adjust height for mobile */
    }
}

/* Icon Grid Styling */
.icons-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Hover Animation for Icon */
.icons {
    width: 100%;
    max-width: 400px; /* Ensure the image is large */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icons:hover {
    transform: scale(1.05);
}

/* forex page */
/* Forex Section */
.forex-img {
    width: 300px;
    height: auto;
    animation: float 5s ease-in-out infinite;
}

/* Digital Assets Section */
.icon-forex img {
    width: 300px;
    height: auto;
    margin: 10px;
    animation: scaleUp 5s ease-in-out infinite;
}

/* Animations */

@keyframes scaleUp {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* General Styles */
.text-black {
    color: black;
}

.forex-img,
.iconx {
    width: 100%;
    max-width: 350px; /* Increased size */
    height: auto;
    animation: float 5s ease-in-out infinite;
}

/* General Flexbox Styling */
.forex-list {
    flex-wrap: wrap; /* Allows boxes to wrap onto the next row if needed */
    gap: 10px; /* Adds spacing between boxes */
}

/* Forex Section (2 Boxes) */
.info-forex-forex {
    background-color: #fff;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    flex: 1 1 calc(50% - 10px); /* Two boxes side by side, with spacing */
    box-sizing: border-box; /* Ensures padding is included in the width */
}

/* Digital Assets Section (3 Boxes) */
.info-forex-digital {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    flex: 1 1 calc(33.33% - 10px); /* Three boxes side by side, with spacing */
    box-sizing: border-box; /* Ensures padding is included in the width */
}

/* Hover Effects */
.info-forex-forex:hover,
.info-forex-digital:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.info-forex-forex h3 {
    font-size: 1.2rem; /* Reduced size for better fit */
    margin-bottom: 5px;
}

.info-forex-forex p {
    font-size: 0.8rem; /* Reduced size */
    white-space: nowrap; /* Prevents line breaking */
}

.info-forex-digital h3 {
    font-size: 1.2rem; /* Reduced size for better fit */
    margin-bottom: 5px;
}

.info-forex-digital p {
    font-size: 0.8rem; /* Reduced size */
    white-space: nowrap; /* Prevents line breaking */
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Adjustments */

/* For screens up to 567px (smaller phones) */
@media (max-width: 567px) {
    .container-fluid {
        padding: 20px 10px; /* Reduce padding for smaller screens */
    }

    .forex-img,
    .iconx {
        max-width: 200px; /* Reduce image size */
    }

    .info-forex-forex,
    .info-forex-digital {
        width: 100%; /* Full width for better readability */
        margin-bottom: 15px; /* Add spacing between info boxes */
    }

    .info-forex-forex h3,
    .info-forex-digital h3 {
        font-size: 1rem; /* Adjust heading size */
    }

    .info-forex-forex p,
    .info-forex-digital p {
        font-size: 0.75rem; /* Adjust paragraph size */
    }

    .info-forex-forex,
    .info-forex-digital {
        flex: 1 1 100%; /* Full width for each box */
        margin-bottom: 15px; /* Add spacing between rows */
    }

    .row {
        flex-direction: column; /* Stack elements vertically */
        text-align: center; /* Center align text */
    }

    .col-lg-6 {
        width: 100%; /* Full width for columns */
        margin-bottom: 20px; /* Add spacing between stacked sections */
    }
}

/* For screens between 568px and 768px (medium phones and small tablets) */
@media (min-width: 568px) and (max-width: 768px) {
    .container-fluid {
        padding: 30px 15px; /* Slightly more padding */
    }

    .forex-img,
    .iconx {
        max-width: 250px; /* Adjust image size */
    }

    .info-forex-forex,
    .info-forex-digital {
        width: 48%; /* Fit two boxes per row */
        margin: 5px;
    }

    .info-forex-forex {
        flex: 1 1 48%; /* Two boxes fit side by side */
    }

    .info-forex-digital {
        flex: 1 1 48%; /* Boxes adjust to two per row */
    }

    /* Center the last box in the row for info-forex-digital */
    .info-forex-digital:nth-child(3) {
        flex: 1 1 100%; /* Makes the last box occupy full width */
    }

    .row {
        text-align: center; /* Center align text */
    }

    .col-lg-6 {
        width: 100%; /* Ensure columns stack well */
        margin-bottom: 20px; /* Add spacing */
    }
}

/* For screens between 769px and 992px (tablets) */
@media (min-width: 769px) and (max-width: 992px) {
    .container-fluid {
        padding: 40px 20px; /* Slightly more padding for tablets */
    }

    .forex-img,
    .iconx {
        max-width: 300px; /* Keep images larger for tablets */
    }

    .info-forex-forex,
    .info-forex-digital {
        width: 48%; /* Keep two boxes per row */
        margin: 10px;
    }

    .info-forex-forex {
        flex: 1 1 calc(50% - 10px); /* Two boxes fit side by side */
    }

    .info-forex-digital {
        flex: 1 1 calc(33.33% - 10px); /* Three boxes fit side by side */
    }

    .row {
        text-align: left; /* Left-align text for larger screens */
    }

    .col-lg-6 {
        width: 50%; /* Use 50% width for columns */
    }
}



/*************************** About Page  ***************************************/
/* General Styles */
.bg-dark {
    background-color: #0b1120;
    animation: fadeIn 2s ease-in-out; /* Whole container animation */
}

.text-primary {
    color: #007bff;
}

.about-texting {
    margin-left: 0;
    max-width: 800px; /* Restrict the width of the text for wrapping */
    word-wrap: break-word; /* Ensure words wrap properly */
    line-height: 1.5; /* Adjust line spacing for readability */
}

.about-text {
    font-size: 1rem;
}

.about-header-img {
    width: 150px;
    height: auto;
    animation: bounce 2s infinite; /* Image animation */
}

.about-image {
    display: flex;
    justify-content: flex-end;
}

.about-features {
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
}

.feature-row {
    display: flex;
    justify-content: center; /* Center-align the feature boxes */
    flex-wrap: nowrap; /* Prevent wrapping to the next line */
    gap: 20px; /* Add space between boxes */
}

.feature-box {
    background-color: #f8f9fa; /* Light gray background for feature boxes */
    border: 1px solid #dee2e6; /* Border for feature boxes */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle box shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation effects */
    margin: 20px; /* Add spacing between feature boxes */
    flex: 1; /* Ensure equal width for all feature boxes */
    max-width: 300px; /* Optional: Limit the maximum width */
    min-width: 200px; /* Optional: Set a minimum width */
}

.feature-box:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

.feature-content {
    padding: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
}

.feature-text {
    font-size: 1rem;
    color: #000000;
}

.about-image img {
    animation: fadeInUp 1s ease-out; /* Add fade-in animation */
    max-width: 120%; /* Slightly larger image */
    width: 200px; /* Set a specific width */
    height: auto; /* Maintain aspect ratio */
}

/* Keyframes for Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .about-header-img {
        width: 150px; /* Smaller width for smaller screens */
    }

    .feature-box {
        max-width: 100%; /* Allow feature boxes to take full width */
        margin: 10px 0; /* Reduce margin between boxes */
    }

    .about-texting {
        max-width: 100%; /* Allow text to take full width */
        margin: 0 15px; /* Add some padding */
    }

    .feature-row {
        flex-wrap: wrap; /* Allow feature boxes to wrap */
        justify-content: space-between; /* Adjust layout to space out items */
    }

    .about-image {
        justify-content: center; /* Center image on smaller screens */
    }

    .about-image img {
        max-width: 100%; /* Make image responsive */
    }
}

/* 567px breakpoint */
@media (max-width: 567px) {
    .about-header-img {
        width: 120px; /* Reduce image size */
    }

    .feature-box {
        max-width: 100%; /* Allow feature boxes to take full width */
        margin: 10px 0; /* Reduced spacing */
    }

    .feature-row {
        flex-direction: column; /* Stack features vertically */
        align-items: center; /* Center content */
    }

    .service-card {
        flex-direction: column; /* Stack the content */
        max-width: 100%; /* Ensure full width */
    }

    .service-card img {
        width: 50px; /* Adjust image size */
        height: 50px;
    }

    .service-card .content {
        align-items: center; /* Center the text */
    }
}

/* 992px breakpoint */
@media (max-width: 992px) {
    .feature-row {
        flex-wrap: wrap; /* Allow feature boxes to wrap */
        justify-content: space-around; /* Distribute space evenly */
    }

    .feature-box {
        max-width: 48%; /* Allow boxes to take up less space */
    }

    .about-texting {
        max-width: 90%; /* Allow text to take more space */
    }

    .service-card {
        max-width: 280px; /* Slightly adjust the max-width */
    }

    .feature-card {
        height: 170px; /* Adjust height for better fitting */
    }

    .feature-card p {
        font-size: 14px; /* Adjust text size for readability */
    }
}

/* Stock Page Adjustments */
h1 {
    font-size: 2.5rem;
    line-height: 1.3;
}

p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Features Section */
.feature-group {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Subtle box shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation effects */
}

.feature-group:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
}

.feature-group ul li {
    font-size: 1rem;
    line-height: 1.7;
}

/* New Feature Box */
.new-feature-box {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.new-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #007bff; /* A deep blue tone */
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #0c0c0c;
}

/* Numbering Circle Styling */
.new-feature-box h4::before {
    content: attr(data-number); /* Use the data-number attribute for numbering */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: #007bff; /* Gradient background */
    color: #ffffff;
    border-radius: 50%; /* Creates the circle */
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
}

@media (max-width: 992px) {
    .main-title {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 0.9rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }

    .new-feature-box h4::before {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Responsive Design for List Page */
.feature-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 150px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.icon-check {
    position: absolute;
    top: -15px;
    left: 10%;
    transform: translateX(-50%);
    background-color: #007bff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.icon-check i {
    color: #fff;
    font-size: 20px;
}

.feature-img {
    width: 100px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    margin-top: 20px;
}

.feature-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    display: flex;
    align-items: center;
}

.btn-list {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-list:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Service Page */
.service-card {
    background: #ffffff;
    color: #030303;
    display: flex; /* Use flexbox to align items */
    align-items: center; /* Align content vertically */
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    gap: 15px; /* Space between the image and text */
    text-align: left; /* Align text to the left */
    width: 100%; /* Full width for responsiveness */
    max-width: 300px; /* Max width to ensure consistency */
    height: auto; /* Allow for dynamic height based on content */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 70px; /* Adjust image size */
    height: 70px; /* Maintain proportions */
    object-fit: contain; /* Ensure the image fits without distortion */
    border-radius: 8px; /* Slightly rounded image corners */
    flex-shrink: 0; /* Prevent image from shrinking */
}

.service-card .content {
    display: flex;
    flex-direction: column; /* Stack text vertically */
    justify-content: center; /* Center text vertically */
}

.service-card h5 {
    font-size: 18px;
    margin: 0; /* Remove default margin */
    font-weight: bold;
}

.service-card p {
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0 0; /* Space between heading and paragraph */
}

.text-primary {
    color: #0d6efd;
}

.text-secondary {
    color: #adb5bd;
}

/* Media Queries for responsiveness */

/* For screens up to 567px (small screens, mobile phones) */
@media (max-width: 567px) {
    .service-card {
        padding: 15px; /* Reduce padding */
        max-width: 100%; /* Full width for small screens */
        flex-direction: column; /* Stack content vertically */
        gap: 10px; /* Reduce space between image and text */
    }

    .service-card img {
        width: 50px; /* Reduce image size */
        height: 50px;
    }

    .service-card h5 {
        font-size: 16px; /* Reduce font size */
    }

    .service-card p {
        font-size: 12px; /* Reduce font size */
    }
}

/* For screens up to 768px (tablets) */
@media (max-width: 768px) {
    .service-card {
        padding: 18px; /* Adjust padding */
        max-width: 100%; /* Full width for tablets */
        flex-direction: row; /* Align image and text horizontally */
    }

    .service-card img {
        width: 60px; /* Slightly increase image size */
        height: 60px;
    }

    .service-card h5 {
        font-size: 17px; /* Adjust font size */
    }

    .service-card p {
        font-size: 13px; /* Adjust font size */
    }
}

/* For screens up to 992px (medium screens, like smaller laptops) */
@media (max-width: 992px) {
    .service-card {
        padding: 20px; /* Keep padding consistent for medium screens */
        max-width: 300px; /* Keep max width consistent */
        flex-direction: row; /* Align image and text horizontally */
    }

    .service-card img {
        width: 70px; /* Keep image size consistent */
        height: 70px;
    }

    .service-card h5 {
        font-size: 18px; /* Keep font size consistent */
    }

    .service-card p {
        font-size: 14px; /* Keep font size consistent */
    }
}


/*************************** services Page  ***************************************/
/* Base Styles */
/* range of market page */
.container.mb-4.bg-white.rounded.p-4.shadow {
    background-color: #fff;
    border-radius: 35px;
    padding: 2rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    max-width: 1000px;
}

/* Styling for the col-lg-8 section */
.col-lg-8 {
    position: relative;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Small image before the h3 header */
.col-lg-8 h3 img.section-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 50%;
}

/* Limit paragraph text size and wrapping */
.col-lg-8 p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 600px;
    margin-bottom: 1rem;
    word-wrap: break-word;
}

/* Right-side card styling */
.info-card {
    border-radius: 10px;
    text-align: left;
}

/* Buttons styling */
a.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
}

a.btn-dark {
    background-color: #212529;
    color: #fff;
    border: none;
}

a.btn-dark:hover {
    background-color: #343a40;
}

a.btn-outline-light {
    color: #fff;
    border: 1px solid #fff;
}

a.btn-outline-light:hover {
    background-color: #fff;
    color: #000;
}

/* Heading */
.text-centering h1 {
    color: #212529;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Paragraph */
.text-centering p {
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Button */
.text-centering .btn-primary {
    background-color: #007bff;
    border: none;
    border-radius: 50px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.text-centering .btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Styling for col-lg-4 container */
.col-lg-4.text-centering {
    background-color: #000;
    color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
}

/* Styling for the list items in col-lg-4 */
.col-lg-4.text-centering ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.col-lg-4.text-centering ul li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #fff;
}

/* Green circular check icon */
.col-lg-4.text-centering ul li::before {
    content: '\2713';
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    margin-right: 10px;
}

/* Navigation Bar */
.bg-dark {
    background-color: #fff;
    padding: 1rem 0;
    margin-bottom: 0;
}

.btn-group a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    background-color: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-right: 5px;
    white-space: nowrap; /* Prevent text wrapping inside the button */
}

.btn-group a:hover,
.btn-group a:focus {
    background-color: #e9ecef;
    color: #000;
}

.btn-group a.active {
    background-color: #007bff;
    color: #fff;
}

.btn-group a:last-child {
    margin-right: 0;
}

/* Flex container for button group */
.btn-group {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap onto a new line */
    justify-content: center; /* Center buttons in the container */
    gap: 10px; /* Add space between buttons */
}

/* Ensure container does not overflow */
.container-fluid {
    max-width: 100%; /* Prevent container from exceeding screen width */
    overflow-x: hidden; /* Hide horizontal overflow */
}
/* Media Queries */
/* Media Queries for Responsiveness */

/* For small phones (max-width: 567px) */
@media (max-width: 567px) {
    .container.mb-4.bg-white.rounded.p-4.shadow {
        padding: 1rem;
    }

    .col-lg-8 p {
        font-size: 12px;
    }

    .col-lg-8 h3 img.section-icon {
        width: 30px;
        height: 30px;
    }

    a.btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .text-centering h1 {
        font-size: 20px;
    }

    .text-centering p {
        font-size: 10px;
    }

    .col-lg-4.text-centering {
        margin-top:30px;
    }
    .btn-group a {
        padding: 8px 15px; /* Reduce padding for smaller screens */
        font-size: 14px;  /* Adjust font size for better readability */
        border-radius: 15px; /* Slightly smaller border radius */
        margin-right: 4px; /* Narrower spacing between buttons */
    }
}

/* For tablets and small laptops (max-width: 768px) */
@media (max-width: 768px) {
    .container.mb-4.bg-white.rounded.p-4.shadow {
        padding: 1.5rem;
        max-width: 90%; /* Adjust container width */
    }

    .col-lg-8 p {
        font-size: 14px;
    }

    a.btn {
        padding: 10px 20px;
    }

    .text-centering h1 {
        font-size: 24px;
    }
    .btn-group a {
        padding: 9px 18px; /* Moderate padding for tablets */
        font-size: 15px;  /* Slightly smaller font size */
        border-radius: 18px; /* Adjust border radius */
        margin-right: 4px; /* Consistent spacing */
    }
}

/* For larger tablets and desktops (max-width: 992px) */
@media (max-width: 992px) {
    .container.mb-4.bg-white.rounded.p-4.shadow {
        max-width: 800px;
    }

    .col-lg-8 p {
        font-size: 15px;
    }

    a.btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    .btn-group a {
        padding: 10px 20px; /* Default padding */
        font-size: 16px;  /* Default font size */
        border-radius: 20px; /* Default border radius */
        margin-right: 5px; /* Default margin */
    }
}

 /*********** Commodities cfd ***************/
.section-title {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.section-content {
    margin-bottom: 2rem;
}

 /*********** indices cfd ***************/
/* Container wrapping the scrollable body */
#table-container {
    max-height: 300px; /* Set maximum height */
    overflow-y: auto;  /* Enable vertical scrolling */
}

/* Ensure the table layout stays intact */
table {
    width: 100%; /* Adjust as needed */
    border-collapse: collapse;
}

thead th {
    position: sticky; /* Make header sticky (optional) */
    top: 0;
    z-index: 1;
    background: #333; /* Match header background color */
    color: white;
}

/*********** digital assets  cfd ***************/
.card {
    background-color: #efeff3;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
}

.card h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
}

.icon {
    font-size: 1.5rem;
    color: #f39c12;
    margin-right: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.container {
    margin-top: 30px;
}