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

/* Apply Full-Screen Background Image */
/* 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;
    }
}


/* History ////////////////////////////////////*/
/* History Section */
.history-section {
    padding: 50px 0;
    text-align: center;
    background-color: #f6f6f6;
}

/* Timeline Container */
.history-timeline {
    position: relative;
    max-width: 1200px;
    margin: auto;
    padding-top: 20px;
}

/* Timeline Items */
.history-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four cards per row on desktop */
    gap: 20px;
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2; /* Cards appear above the timeline line */
}

/* Each History Item */
.history-item {
    position: relative;
    text-align: center;
    padding-top: 50px;
    opacity: 0; /* Initially Hidden */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Fade-In Animation for Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay Animation for Each Item */
.history-item:nth-child(1) { animation-delay: 0.2s; }
.history-item:nth-child(2) { animation-delay: 0.4s; }
.history-item:nth-child(3) { animation-delay: 0.6s; }
.history-item:nth-child(4) { animation-delay: 0.8s; }
.history-item:nth-child(5) { animation-delay: 1s; }
.history-item:nth-child(6) { animation-delay: 1.2s; }
.history-item:nth-child(7) { animation-delay: 1.4s; }
.history-item:nth-child(8) { animation-delay: 1.6s; }

/* Optional Dashed Connector for Each Item */
.history-item:before {
    content: "";
    position: absolute;
    height: 36px;
    border-right: 2px dashed #1e74ca;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Small Blue Line Above Each Card */
.history-item::after {
    content: "";
    position: absolute;
    top: 35px;
    left: 50%;
    width: 120px;
    height: 3px;
    background-color: #3489de;
    transform: translateX(-50%);
    z-index: 2;
}

/* Event Date Styling */
.event-date {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    width: fit-content;
    z-index: 3;
}

/* History Content Box */
.history-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-height: 270px;
    margin: auto;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect - Lift & Shadow */
.history-content:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

/* Smooth Color Transition */
.history-content p {
    transition: color 0.3s ease;
}

/* Title Color Change on Hover */
.history-content:hover h5 {
    color: #007bff;
}

/* History Card Title */
.history-content h5 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* History Card Paragraph */
.history-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Order for Second Row Items on Desktop */
.history-item:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.history-item:nth-child(6) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
.history-item:nth-child(7) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}
.history-item:nth-child(8) {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .history-items {
        grid-template-columns: repeat(2, 1fr); /* Two cards per row on tablets */
        width: 90%;
        margin: auto;
    }
    
    /* Adjust grid ordering for tablet */
    .history-item:nth-child(5) {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .history-item:nth-child(6) {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }
    .history-item:nth-child(7) {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }
    .history-item:nth-child(8) {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }
}

/* Mobile Responsive - Force One Card per Row */
@media (max-width: 768px) {
    .history-items {
        grid-template-columns: 1fr; /* Only one card per row */
        width: 90%;
        margin: 0 auto;
    }
    
    /* Override custom ordering */
    .history-item:nth-child(n) {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    /* Ensure timeline line remains centered */
    .history-timeline:before {
        top: 50px;
        left: 5%;
        width: 90%;
    }
}


/* vission and misssion ////////////////////////////////////////////////////////////*/
@import url('https://fonts.googleapis.com/css?family=Raleway');

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    background-color: #f6f6f6;
}

.container-mission {
    max-width: 1500px;
    margin: auto;
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    color: #333;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
}

.flex-container-mission {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.flex-slide-mission {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    height: 300px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.flex-slide-mission:hover {
    height: auto;
    padding-bottom: 20px;
}

.flex-title-mission {
    font-size: 2em;
    font-weight: bold;
    position: absolute;
    /* transform: translate(-50%, -50%); */
    text-align: center;
    width: 100%;
    transition: opacity 0.5s ease;
}

/* Center align the content */
.flex-about-mission {
    opacity: 0;
    color: rgb(0, 0, 0);
    font-size: 1.2em;
    padding: 20px;
    width: 90%;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.85);
    position: relative;
    text-align: center; /* Center-align the text */
    transform: translateY(20px);
    border-radius: 8px;
}

/* Add padding inside the content */
.flex-about-mission ul {
    padding: 0;
    list-style: none;
    text-align: left; /* Align bullet points to the left */
    display: inline-block; /* Keeps the list centered as a block */
}

.flex-about-mission ul li {
    font-size: 1em;
    color: #333;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

/* Add a custom bullet icon */
.flex-about-mission ul li::before {
    content: "•"; 
    color: #007bff; 
    font-size: 1.2em;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 5px;
}

/* Hover effects */
.flex-slide-mission:hover .flex-title-mission {
    opacity: 0;
}

.flex-slide-mission:hover .flex-about-mission {
    opacity: 1;
    transform: translateY(0);
}

/* Background Images */
.home-mission {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('image/vision.jpg');
    background-size: cover;
    background-position: center;
}

.about-mission {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('image/mision.jpg');
    background-size: cover;
    background-position: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flex-slide-mission {
        width: 100%;
        max-width: 100%;
    }

    .flex-about-mission {
        font-size: 1em;
        padding: 15px;
    }
}



/* expertice //////////////////////////////////////////*/
/* Expertise Section */
.expertise {
    padding: 80px 0;
    background: #f6f6f6; /* Soft background for contrast */
    text-align: center;
}

/* Section Title with Animation */
.section-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #007bff;
    display: block;
    margin: auto;
    border-radius: 2px;
    transition: width 0.3s ease-in-out;
}

.section-title:hover::after {
    width: 100%;
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500&family=Raleway:wght@400;600&display=swap');

.expert-subtitle {
    color: #007bff; /* Blue color */
    font-size: 12px; /* Slightly larger for readability */
    font-weight: 800; /* Medium weight for clarity */
    font-family: "Raleway", sans-serif; /* Clean & modern font */
    font-style: italic; /* Gives a testimonial feel */
    
    padding: 0px;
}
.expert-content h4 {
    color: #007bff; /* Deep blue for a professional look */
    font-size: 20px; /* Slightly larger for impact */
    font-weight: 700; /* Bold for emphasis */
    font-family: "Poppins", sans-serif; /* Modern and clean font */
    letter-spacing: 1px; /* Slight spacing for elegance */
    margin-top: 20px; /* Spacing above */
    margin-bottom: 12px; /* Spacing below */
    border-left: 4px solid #007bff; /* Adds a stylish blue left border */
    padding-left: 12px; /* Adjusts text position after the border */
}



/* Expert Content Box */
.expert-content {
    text-align: left;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.expert-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Expert Name & Role */
.expert-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000000;
}

.expert-role {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 15px;
}

/* Expert Description */
.expert-description {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

/* Bullet Points */
.custom-bullets {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.custom-bullets li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #333;
}

/* Custom Bullet Styling */
.custom-bullets li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #007bff;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Expert Image with Hover Effect */
.expert-image {
    display: inline-block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.expert-image img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}

/* Image Hover Effect */
.expert-image:hover img {
    transform: scale(1.05);
}






/* 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;
}