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);
}

/* FLAG DROPDOWN STYLES - Updated class name */
.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;
}

/* FLAG DROPDOWN CONTACT INFO - Renamed to avoid conflict */
.flag-contact-info {
    color: #333;
}

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

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

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

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

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

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

.flag-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;
    }

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

/* HERO SECTION */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    font-family: 'Poppins', sans-serif; /* Modern Font */
}

/* Background Image Carousel */
#hero .carousel-inner img {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    filter: brightness(0.7) contrast(1.5); /* Stylish look */
}

/* Overlay for Contrast */
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark Overlay */
    z-index: 1;
}

/* Hero Content */
#hero .container {
    position: relative;
    z-index: 2;
}

/* Hero Title */
#hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 3px 3px 10px rgba(255, 255, 255, 0.2);
    margin-bottom: 0px;
    text-align: center;
    width: 100%;
}


#text-carousel {
    position: relative;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center; /* Optional: ensures multiline text stays centered */
}

#text-carousel p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20px); /* Start slightly below */
    opacity: 0;
    font-size: 2rem;
    font-weight: 700;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    margin-top: -20px !important;
    width: 100%; /* optional: for responsiveness */
    text-align: center; /* centers text inside the p tag */
}

#text-carousel p.active {
    opacity: 1;
    transform: translate(-50%, 0); /* Slides into center */
}

/* Carousel Controls Styling (Optional Custom) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 40px;
}

/* Curved Bottom Effect */
.hero-bottom-curve {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: white;
    clip-path: ellipse(100% 50% at 50% 100%);
    z-index: 3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 3rem;
    }
    #text-carousel {
        height: 100px;
    }
    #text-carousel p {
        font-size: 1.4rem;
    }
}


/* ABOUT US ////////////////////////////////////// */
#about {
    background-color: #ffffff;
    padding: 50px 0;
    text-align: center;
}

/* Title with Small Line Below */
.section-title3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000; /* Black Title */
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    cursor: pointer;
}

.section-title3::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px; /* Default small width */
    height: 4px;
    background-color: #007bff; /* Blue underline */
    border-radius: 2px;
    transition: all 0.4s ease-in-out;
    transform: translateX(-50%);
}

/* Expand underline on hover */
.section-title3:hover::after {
    width: 100%; /* Expands to match text width */
    left: 0;
    transform: none;
}

/* Centered Circular Image */
.about-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.about-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Feature Items (Points) */
.feature-item {
    margin-bottom: 30px;
}

.feature-item h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
    color: #000;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.feature-item p {
    font-size: 1rem;
    color: #666;
    max-width: 300px;
    margin: 0 auto;
}

/* Smooth Zoom + Blue Text + Subtle Glow */
.feature-item:hover h4 {
    color: #007bff;
    transform: scale(1.05); /* subtle zoom */
    text-shadow: 0 2px 8px rgba(0, 123, 255, 0.2); /* soft glow */
}

/* Icons */
/* .icon {
    font-size: 2rem;
    color: #007bff;
} */
.icon {
    font-size: 2rem; /* Adjust icon size */
    color: #007bff; /* Blue color */
    margin-bottom: 10px;
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .row {
        flex-direction: column;
    }

    .col-lg-4 {
        margin-bottom: 20px;
    }

    .about-img {
        width: 200px;
        height: 200px;
    }
}


/* Contact Section ///////////////////////////////////// */
/* Contact Section */
.contact-section {
    padding: 60px 10%;
    background-color: #f8f9fa;
    text-align: center;
}

/* Heading with Underline */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #333;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.underline {
    display: inline-block;
    width: 30%;
    height: 4px;
    background: #007bff;
    margin: 8px 0 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover .underline {
    width: 100%;
}

/* Contact Container */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
}

/* Contact Form & Contact Info */
.contact-form, .contact-info1 {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 50%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

/* Contact Form Hover */
.contact-form:hover, .contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contact Form Styling */
.contact-form {
    background: white;
}

/* Contact Heading */
.contact-heading {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Form Inputs */
.input-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0056b3, #003f7f);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Info with Background Image */
.contact-info {
    background: url('your-image.jpg') no-repeat center center / cover;
    color: rgba(0, 0, 0, 0.877);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 50%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

/* Contact Info Text */
.contact-info p {
    font-size: 1.1rem;
    color: rgb(0, 0, 0);
    margin: 3px 0;
    display: flex;
    align-items: center;
}

/* Contact Info Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

/* Icons */
.contact-info i {
    color: #007bff;
    font-size: 1.3rem;
}

/* Links for Email & Phone */
.contact-link1 {
    text-decoration: none;
    color: rgb(0, 0, 0) !important;
    transition: 0.3s ease;
}

.contact-link1:hover {
    color: #007bff !important;
}

/* Full Screen Map */
.map-container {
    margin-top: 30px;
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

    .contact-form,
    .contact-info {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }

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


/* 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  ///////////////////////////////////////////////////// */
/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: none; /* Hidden initially */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

#scrollTopBtn:hover {
    background: #0a2a4d;
}