body {
    font-family: Arial, sans-serif;
    color: white;
}
/* Active Page Link Color */
.navbar {
    background-color: #ffffff;
    height: 80px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Desktop navigation */
.nav-item {
    position: relative;
}

.nav-link {
    color: black;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 25px !important;
    background-color: white;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Active link styling - full width */
.nav-item .nav-link.active {
    background-color: #dddddd !important;
    border-radius: 0;
}

/* Divider styling */
.divider {
    border-left: 1px solid #b0b0b0;
    height: 25px;
    margin: auto 0;
    display: inline-block;
}

/* Country Flags Section - Desktop */
.country-flags {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.flag-container {
    position: relative;
    cursor: pointer;
}

.flag-icon {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    display: block;
    object-fit: cover;
}

.flag-icon:hover {
    transform: scale(1.1);
    border-color: #ffd700;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

/* Dropdown Styles */
.flag-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 20px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.flag-container:hover .flag-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.dropdown-flag {
    width: 40px;
    height: 30px;
    border-radius: 6px;
    margin-right: 12px;
}

.dropdown-country {
    font-size: 18px;
    font-weight: bold;
    color: #1e3c72;
}

.contact-info {
    color: #333;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background-color: #f8f9fa;
}

.contact-item i {
    color: #1e3c72;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-text {
    margin: 0;
    font-size: 14px;
}

.contact-name {
    font-weight: 600;
    color: #1e3c72;
}

.contact-phone {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
}

.contact-phone:hover {
    color: #218838;
    text-decoration: underline;
}

/* Arrow pointer for dropdown */
.flag-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* Mobile styles */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 80px);
        background-color: white;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 9999;
    }

    /* Move flags to top in mobile */
    .country-flags {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 15px 0;
        justify-content: center;
        width: 100%;
        background: white;
        border-bottom: 1px solid #eee;
        gap: 20px;
    }

    /* Navigation menu positioning */
    .navbar-nav {
        padding-top: 80px; /* Space for flags at top */
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #ccc;
        font-size: 18px;
        color: black;
    }

    .divider {
        display: none;
    }

    /* Mobile flag styling */
    .flag-container {
        position: relative;
    }

    .flag-icon {
        width: 40px;
        height: 30px;
        border: 2px solid #007bff;
    }

    /* Mobile dropdown positioning */
    .flag-dropdown {
        position: fixed;
        top: 50%;
        left: 10%;
        transform: translate(-50%, -50%);
        width: 90vw;
        max-width: 350px;
        z-index: 10000;
        border: 1px solid #ddd;
    }

    .flag-dropdown::before {
        display: none; /* Hide arrow in mobile */
    }
}

/* Responsive Design for flags */
@media (max-width: 768px) {
    .country-flags {
        gap: 15px;
    }

    .flag-dropdown {
        min-width: 280px;
        padding: 15px;
    }

    .contact-text {
        font-size: 13px;
    }
}

/* Blog Header */
.blog-header {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.blog-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    position: absolute;
}

.blog-header-content {
    position: relative;
    max-width: 800px;
    padding: 20px;
}

.blog-header h1 {
    font-size: 2.8rem;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
}

.blog-header p {
    font-size: 1.2rem;
}

/* Blog Container */
/* General Styles */
/* body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #fff, #f1f3f6);
    color: #333;
} */
.back-button {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #dd2476; /* Red shade matching your theme */
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: color 0.3s ease-in-out;
}

.back-button:hover {
    color: #ff512f; /* Lighter red on hover */
    text-decoration: underline;
}

/* Container */
.container1 {
    width: 90%;
    max-width: 100%;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
}

/* Back Button */
.back-button {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.back-button:hover {
    color: #007bff;
}

/* Headings */
h1 {
    color: #007bff;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

h2 {
    color: #007bff;
    border-left: 4px solid #007bff;
    padding-left: 10px;
    font-size: 22px;
    margin-top: 30px;
}



/* Conclusion Text */
.conclusion-text {
    background: #e1efff;
    padding: 15px;
    border-left: 4px solid #007bff;
    font-weight: bold;
    color: #333;
    border-radius: 5px;
    font-size: 16px;
    /* text-align: center; */
}

/* Author Section */
.author {
    margin-top: 20px;
    font-weight: bold;
    color: #444;
    text-align: right;
    font-size: 14px;
}
/* Global Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}



/* Back Button */
.back-button {
    display: inline-block;
    text-decoration: none;
    color: #0077ff;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Headings */
h2, h3 {
    color: #0077ff;
}
h1{
    color: white;
}
h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

h2 {
    font-size: 22px;
    margin-top: 20px;
}

h3 {
    font-size: 20px;
}

/* Paragraphs */
p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Section Styling */
.section-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Reduce space between elements */
    padding: 20px;
    background: linear-gradient(to right, #e6eef5, #ffffff);
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    width: 100%; /* Ensure it takes full width */
}
/* Alternate Gradient */
.section-container:nth-child(even) {
    background: linear-gradient(to left, #e6eef5, #ffffff);
}

/* Ensure content and image balance properly */
.section-image {
    flex: 1; /* Adjusts width dynamically */
    max-width: 40%; /* Ensures image doesn't take excessive space */
}

.section-image img {
    width: 100%;
    height: 400PX;
    display: block;
    border-radius: 10px;
}

/* Adjust content area so it doesn't leave extra space */
.section-content {
    flex: 1; /* Allows content to take remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}



/* Section Items */
.section-item {
    padding: 5px;
    margin-bottom: 12px;
    /* background: #ffffff; */
    /* border-left: 5px solid #0077ff; */
    border-radius: 8px;
    /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease-in-out;
}

.section-item:hover h3 {
    color: black; /* Change heading color to black */
}
/* Footer Text */
.author {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-container {
        flex-direction: column;
        text-align: center;
    }

    .section-image {
        max-width: 100%;
    }
}





/* FOOTER ////////////////////////////////////////////////////////////*/
/* Footer Styling */
.footer {
    background: #000; /* Black background */
    color: white;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Footer Container */
.footer .container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Footer Columns */
.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
}

/* Footer Logo */
.footer-logo img {
    height: 80px;
    display: block;
    margin: 0; /* Center the logo */
    transition: transform 0.3s ease-in-out;
    /* filter: drop-shadow(2px 2px 5px rgba(255, 255, 255, 0.3)); */
}

/* Logo Hover Effect */
.footer-logo:hover img {
    transform: scale(1.1);
}

/* Footer Titles */
.footer-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 5px;
}

/* Footer Text */
.footer-text {
    font-size: 14px;
    color: #e0e0e0;
    max-width: 250px;
}

/* Footer Links */
.footer-link {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover Effects */
.footer-link:hover {
    color:  #007bff;
    transform: translateX(5px);
}

/* Contact Info */
.footer ul {
    padding: 0;
    list-style: none;
}

.footer ul li {
    font-size: 14px;
    margin-bottom: 8px;
}

/* Contact Links */
.contact-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s, transform 0.1s;
}

/* Hover effect */
.contact-link:hover {
    color: #007bff;
    transform: scale(1.05);
}

/* Social Media Icons */
.footer .social-icons {
    margin-top: 20px;
}

.social-icon {
    color: white;
    font-size: 18px;
    margin-right: 15px;
    display: inline-block;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Social Icons Hover */
.social-icon:hover {
    transform: scale(1.3);
    color: #007bff;
}

/* Footer Divider */
.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 20px 0;
}

/* Copyright */
.footer .text-center p {
    font-size: 14px;
    color: #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer .row {
        flex-direction: column;
        text-align: center;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-text {
        font-size: 13px;
        max-width: none;
    }

    .footer ul li {
        font-size: 13px;
    }

    .social-icon {
        font-size: 16px;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}


/* Floating animated elements */
.animated-bg {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 5s infinite ease-in-out alternate;
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.4;
    }
}
/* Base styling for animated objects with lower opacity */
.animated-object {
    position: absolute;
    opacity: 0.3; /* Reduced opacity for lighter effect */
}

/* Candlestick Bars */
.candlestick {
    width: 12px;
    height: 50px;
    border-radius: 3px;
    position: absolute;
}

.bullish {
    background: #00ff00;
    border-top: 20px solid #00ff00;
    border-bottom: 20px solid #00ff00;
    opacity: 0.3; /* Lower opacity */
}

.bearish {
    background: #ff0000;
    border-top: 20px solid #ff0000;
    border-bottom: 20px solid #ff0000;
    opacity: 0.3; /* Lower opacity */
}

/* Trading Arrows */
.arrow {
    width: 0;
    height: 0;
    position: absolute;
    opacity: 0.3; /* Lower opacity */
}

.up-arrow {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #00ff00;
}

.down-arrow {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid #ff0000;
}

/* Floating Coins */
.dollar-coin, .bitcoin-coin, .rupee-coin {
    width: 40px;
    height: 40px;
    background: gold;
    border-radius: 50%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    font-size: 18px;
    box-shadow: 0px 0px 10px rgba(255, 215, 0, 0.4); /* Reduced shadow intensity */
    opacity: 0.3; /* Lower opacity */
}
.etf-symbol {
    font-size: 24px;
    font-weight: bold;
    color: #e7fb0b;
}
.dollar-coin::after { content: "$"; }
.bitcoin-coin { background: orange; opacity: 0.3; }
.bitcoin-coin::after { content: "₿"; }
.rupee-coin { background: rgb(255, 255, 255); opacity: 0.3; }
.rupee-coin::after { content: "₹"; }

/* Moving Stock Chart */
.stock-chart {
    width: 100px;
    height: 2px;
    background: white;
    position: absolute;
    transform: rotate(30deg);
    opacity: 0.3; /* Lower opacity */
}

/* Pie Chart Segments */
.pie-chart {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(#ff0000 0% 30%, #00ff00 30% 70%, #0000ff 70% 100%);
    position: absolute;
    opacity: 0.3; /* Lower opacity */
}

/* Moving Percentage Symbols */
.percentage-symbol {
    font-size: 24px;
    font-weight: bold;
    color: #f9a825;
    position: absolute;
    opacity: 0.3; /* Lower opacity */
}

/* Random Positioning */
.candlestick:nth-child(1) { top: 10%; left: 10%; }
.candlestick:nth-child(2) { top: 30%; right: 15%; }
.arrow:nth-child(3) { top: 50%; left: 40%; }
.arrow:nth-child(4) { top: 70%; right: 30%; }
.dollar-coin { top: 40%; left: 50%; }
.bitcoin-coin { top: 20%; right: 60%; }
.rupee-coin { bottom: 30%; left: 70%; }
.stock-chart { bottom: 10%; left: 60%; }
.pie-chart { bottom: 20%; right: 40%; }
.percentage-symbol { top: 35%; right: 50%; }
.etf-symbol:nth-child(11) { top: 45%; left: 20%; }
.etf-symbol:nth-child(12) { top: 50%; right: 25%; }
/* .etf-symbol:nth-child(13) { bottom: 20%; left: 50%; } */
.etf-symbol:nth-child(14) { bottom: 5%; right: 10%; }


/* button  ///////////////////////////////////////////////////// */
