/* Hero Section Styling */
.hero {
    position: relative;
    width: 100%;
    background: #ffffff; /* White Background */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 100px 20px;
}

/* Flex Container */
.about_main_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
    z-index: 2;
}

/* Image Styling */
.hero-img {
    width: 600px;
    max-width: 100%; /* Image responsive */
    border-radius: 20px;
}

/* Text Content */
.hero-text {
    width: 40%;
    color: #4a76b8; /* Light Blue Theme Color */
}

.hero-text h1 {
    color: #1565C0; /* Darker Theme Blue */
    font-size: 40px;
    font-weight: 600;
}

.hero-text p {
    font-size: 17px;
    font-weight: 400;
    color: #4a76b8; /* Light Blue */
}

.hero-text button {
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    background-color: #1565C0;
    color: white;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-text button:hover {
    background-color: #0d47a1;
}

/* Bubble Animation */
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bubbles span {
    position: absolute;
    bottom: -10px;
    width: 30px;
    height: 30px;
    background: rgba(21, 101, 192, 0.2); /* Light Blue Theme */
    border-radius: 50%;
    animation: bubble-animation 6s linear infinite;
}

/* Random Bubble Positions */
.bubbles span:nth-child(1) { left: 10%; width: 20px; height: 20px; animation-duration: 7s; }
.bubbles span:nth-child(2) { left: 30%; width: 25px; height: 25px; animation-duration: 9s; }
.bubbles span:nth-child(3) { left: 50%; width: 15px; height: 15px; animation-duration: 8s; }
.bubbles span:nth-child(4) { left: 70%; width: 35px; height: 35px; animation-duration: 5s; }
.bubbles span:nth-child(5) { left: 90%; width: 18px; height: 18px; animation-duration: 10s; }

/* Bubble Animation Keyframes */
@keyframes bubble-animation {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1.5);
        opacity: 0;
    }
}

/* 🛠 Mobile Responsive Styles */
@media (max-width: 768px) {
    .about_main_container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        width: 90%;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-text button {
        padding: 8px 20px;
        font-size: 15px;
    }

    /* Bubbles smaller on mobile */
    .bubbles span {
        width: 15px;
        height: 15px;
    }
}




/* trader anylesis section start  */

.container_profile {
    display: flex;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 70%;
}

.profile {
    text-align: center;
    width: 35%;
    padding-right: 20px;
    border-right: 2px solid #ddd;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #2c6ed5;
}

h2 {
    color: #2c6ed5;
    margin: 10px 0;
}

.social-icons {
    margin: 10px 0;
}

.social-icons a {
    text-decoration: none;
    font-size: 20px;
    margin: 0 8px;
    color: #2c6ed5;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff0000;
}

.contact-btn {
    background: #2c6ed5;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #1a4c9f;
}

.content {
    width: 65%;
    padding-left: 20px;
}

.content p {
    color: #333;
    font-size: 14px;
    margin-bottom: 20px;
}

.skill {
    margin-bottom: 15px;
}

.skill span {
    font-weight: bold;
    font-size: 14px;
}

.percentage {
    float: right;
    font-weight: normal;
    color: #2c6ed5;
}

.progress-bar {
    height: 8px;
    width: 100%;
    background: #ddd;
    border-radius: 5px;
    margin-top: 5px;
    position: relative;
}

.progress {
    height: 8px;
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

.risk { width: 87%; background: #2c6ed5; }
.technical { width: 90%; background: #2c6ed5; }
.fundamental { width: 78%; background: #2c6ed5; }
.psychology { width: 85%; background: #2c6ed5; }




/* trader anylesis section close  */


@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-text button {
        font-size: 14px;
        padding: 7px 18px;
    }

    /* Reduce bubbles size */
    .bubbles span {
        width: 10px;
        height: 10px;
    }

    .container{
        display: flex;
        flex-direction: column;
        background: white;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
    }
    

     .profile{
        width: 100%;
        padding-right: 0px;
        padding-bottom: 30px;
        padding-top: 0px;
     }


     .content{
        width: 100%;
        padding: 30px;
     }
    
}


