/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #000;
}

h2 {
    font-size: 2.5rem;
}

/* Navbar Styles */
.navbar {
    background-color: black;
    padding: 1rem 2rem;
}

.navbar .navbar-brand img {
    max-height: 50px;
}

.navbar-toggler-icon {
    background-color: transparent;
}

.navbar .navbar-toggler {
    border-color: transparent;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
    background-color: transparent;
    outline: none;
}

.navbar .navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover {
    color: #04d444;
}

.navbar .navbar-nav .dropdown-menu {
    background-color: #fff;
}

.navbar .navbar-nav .dropdown-item {
    color: #000;
    transition: background-color 0.3s ease;
}

.navbar .navbar-nav .dropdown-item:hover {
    color: #007bff;
    background-color: #f8f9fa;
}

/* Introduction Section Styles */
.intro-section {
    padding: 2rem 0;
}

.main-content {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .main-content {
        flex-direction: row;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.intro-left-section {
    padding: 1rem;
    flex: 4;
    animation: 1.5s ease-out 0s 1 slideInFromLeft;
}

.impactful-text {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: inherit;
    line-height: 1.4;
}

.app-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
}

.app-icon img {
    width: auto;
    max-height: 50px;
    margin-right: 10px;
}

.app-icon:hover img {
    opacity: 0.8;
}

@keyframes slideAndTiltFromLeft {
    0% {
        transform: translateX(-100%) rotate(-10deg);
        opacity: 0;
    }

    100% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
}

.mobile-mockup {
    padding: 1rem;
    flex: 2;
    animation: 1.5s ease-out 0s 1 slideAndTiltFromLeft;
}

.mobile-mockup img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.enquiry-form-section {
    background-color: #04d444;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 45px 0;
    flex: 4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 767px) {
    .enquiry-form-section {
        padding: 20px;
    }
}

.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form input[type="tel"],
.enquiry-form textarea {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    transition: border-color 0.2s ease-in-out;
}

.enquiry-form input[type="text"]:focus,
.enquiry-form input[type="email"]:focus,
.enquiry-form input[type="tel"]:focus,
.enquiry-form textarea:focus {
    border-color: #007bff;
    outline: none;
}

.enquiry-form .form-group label {
    color: white;
}

.enquiry-form button {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.enquiry-form button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.enquiry-form button:active {
    transform: translateY(1px);
}

@media (min-width: 992px) {
    .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
        background-color: #ffffff;
    }

    .main-content {
        max-width: 99%;
    }
}

/* Why Fin2vastih Section Styles */
.why-Fin2vastih-section {
    background-color: #04d444;
    color: white;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.why-Fin2vastih-header {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    animation: 1.5s ease-out 0s 1 slideInFromLeft;
}

.why-Fin2vastih-content {
    width: 100%;
    text-align: left;
    padding: 10px 0;
}

@media (min-width: 768px) {
    .why-Fin2vastih-header {
        width: 20%;
    }

    .why-Fin2vastih-content {
        width: 80%;
    }

    .why-Fin2vastih-content .highlighted-text {
        font-size: 3.75rem;
    }

    .why-Fin2vastih-content ul {
        list-style: inside;
        padding-left: 0;
    }

    .why-Fin2vastih-content li {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {

    .why-Fin2vastih-header,
    .why-Fin2vastih-content {
        width: 100%;
        text-align: center;
    }

    .why-Fin2vastih-content {
        text-align: left;
    }

    .why-Fin2vastih-content .highlighted-text {
        font-size: 1.5rem;
    }

    .why-Fin2vastih-content ul {
        list-style: inside;
        padding-left: 0;
    }

    .why-Fin2vastih-content li {
        margin-bottom: 10px;
    }
}

/* Services Pills Styles */
.services-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.service-pill {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    padding: 10px 20px;
    margin: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1 1 auto;
    max-width: calc(100% / 4 - 10px);
}

.service-pill:hover {
    background-color: white;
    color: #04d444;
    transform: scale(1.1);
}

.service-pill.active {
    background-color: white;
    color: #04d444;
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .services-pills {
        flex-direction: column;
        align-items: center;
    }

    .service-pill {
        width: 80%;
        margin-bottom: 10px;
        max-width: 100%;
    }
}

/* Fin2vastih Steps Section Styles */
.Fin2vastih-steps-section {
    background-color: #fff;
    /* White background */
    padding: 40px 20px;
    /* Padding around the section */
    text-align: center;
    /* Center text for header */
}

.Fin2vastih-steps-header h2 {
    margin-bottom: 2rem;
    /* Space between header and steps */
}

.Fin2vastih-steps-content {
    display: flex;
    flex-direction: column;
    /* Stack steps vertically on mobile */
    align-items: center;
    /* Center steps horizontally */
    max-width: 1200px;
    /* Maximum width to align with 'why-Fin2vastih-content' */
    margin: 0 auto;
    /* Center the content within the section */
}

.step {
    display: flex;
    flex-direction: column;
    /* Stack elements vertically within each step */
    align-items: center;
    /* Center align step content */
    margin: 1rem;
    /* Margin around each step */
    max-width: 300px;
    /* Maximum width of each step */
}

.number-circle {
    background-color: #04d444;
    /* Circle color */
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    /* Space below the circle */
    font-size: 1.5em;
}

@media (min-width: 768px) {
    .Fin2vastih-steps-content {
        flex-direction: row;
        /* Align steps horizontally */
        justify-content: space-between;
        /* Space between the steps */
    }

    .step {
        /* On larger screens, we don't need the max-width */
        max-width: none;
    }
}

/* Investment Calculator Section */
.investment-calculator-section {
    background-color: #04d444;
    /* Blue background for the section */
    color: white;
    /* White text color */
    padding: 40px 20px;
    box-sizing: border-box;
    width: 100%;
}

/* Calculator Header */
.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-header h2 {
    font-size: 2.5rem;
    /* Larger font size for the header */
    margin-bottom: 10px;
}

.calculator-header p {
    font-size: 1.2rem;
    /* Subtitle size */
}

/* Calculator Content */
.calculator-content {
    display: flex;
    flex-direction: row;
    /* Align children horizontally */
    align-items: stretch;
    /* Stretch children to fill the container */
    justify-content: space-evenly;
    /* Space out children evenly */
    max-width: 1200px;
    /* Maximum width of the content */
    margin: auto;
}


/* Styling for input section to match the enquiry form */
.input-section {
    background: #f8f9fa;
    /* Light background for the input fields */
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.input-section label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    /* Dark color for text */
    font-weight: bold;
}

.input-section input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    /* White background for inputs */
    color: black;
    /* Black text for readability */
}

/* Output Section for Graph */
.output-section {
    flex-basis: 100%;
    /* Full width on smaller screens */
    padding: 20px;
    margin: 10px;
    background: #f8f9fa;
    /* Light background for contrast */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto;
    /* Auto height for responsiveness */
}

/* Responsive Design */
@media (min-width: 768px) {
    .calculator-content {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .input-section,
    .output-section {
        flex: 1;
        /* Equal width for form and graph */
        margin: 0 10px;
    }
}

/* Graph Container */
.chart-container {
    width: 100%;
    height: auto;
}

#investmentChart {
    width: 100%;
    /* Ensures the chart is not wider than its container */
    height: auto;
    /* Adjust height automatically */
    aspect-ratio: 1 / 1;
    /* Maintain aspect ratio (you can adjust this) */
}

@media (max-width: 767px) {
    #investmentChart {
        aspect-ratio: 2 / 1;
        /* Adjust for a better fit on smaller screens */
    }

    .calculator-content {
        flex-direction: column;
    }
}

/* Blog Section Styles */
.blog-section {
    background-color: white;
    padding: 40px 0;
    text-align: center;
}

.blog-title {
    color: #333;
    margin-bottom: 30px;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Space between blog items */
    justify-content: center;
    padding: 20px;
}

.blog-item {
    flex: 1 0 calc(25% - 20px);
    /* Four items per row minus the gap */
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #FFF;
    /* Set background to white */
    align-items: stretch;
    /* Stretch children to fill the item */
}

.blog-image-container {
    width: 100%;
    /* Full width of the container */
    padding-top: 56.25%;
    /* Aspect ratio of 16:9 */
    position: relative;
    /* Relative positioning for absolute child */
}

.blog-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the area, might crop the image */
}

.blog-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Distributes space evenly */
    flex-grow: 1;
    /* Ensures all .blog-info sections grow equally */
}

.blog-date,
.blog-read-time {
    font-size: 0.8em;
    /* Slightly smaller font size */
    color: #777;
}

.blog-headline {
    font-size: 1em;
    /* Adjust headline font size */
    color: #333;
    margin: 5px 0;
}

.blog-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    /* Adjust the color to match your design */
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .blog-item {
        flex: 0 0 calc(50% - 20px);
        /* Two items per row on smaller desktops */
    }
}

@media (max-width: 768px) {
    .blog-container {
        flex-direction: column;
        align-items: center;
    }

    .blog-item {
        width: 90%;
        /* Full width of the container */
        max-width: 600px;
        /* Maximum width can help if the screen is very wide */
        margin-bottom: 20px;
        /* Space between stacked items */
    }

    .blog-image-container {
        padding-top: 56.25%;
        /* Keeping aspect ratio for images */
    }
}

@media (max-width: 480px) {
    .blog-item {
        flex-basis: 100%;
        /* Take full width on very small screens */
    }
}

.testimonials-section {
    padding: 40px 0;
    text-align: center;
    color: white;
    /* For contrast against the background */
    background-color: #04d444;
}

.testimonials-title {
    color: white;
    margin-bottom: 30px;
}

.testimonials-container {
    display: flex;
    overflow-x: auto;
    /* Enables horizontal scrolling */
    gap: 20px;
    /* Space between testimonial items */

    /* Hide scrollbar for Webkit browsers like Safari and Chrome */
    &::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge, and Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-item {
    flex: 0 0 calc(25% - 20px);
    /* Same width as blog-item */
    border-radius: 8px;
    background: #FFF;
    /* Set background to white */
    color: #333;
    /* Text color */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    /* Prevents the items from shrinking */
}

.testimonial-remark {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-profile {
    display: flex;
    align-items: center;
}

.testimonial-image {
    width: 50px;
    /* Adjust as necessary */
    height: 50px;
    /* Adjust as necessary */
    border-radius: 50%;
    /* Circular images */
    margin-right: 15px;
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-size: 1em;
    margin-bottom: 5px;
}

.testimonial-designation {
    font-size: 0.8em;
    color: #777;
}

/* Responsive Styles for Testimonials (similar to blog-item) */
@media (max-width: 1024px) {
    .testimonial-item {
        flex: 0 0 calc(50% - 20px);
        /* Two items per row on smaller desktops */
    }
}

@media (max-width: 768px) {
    .testimonial-item {
        flex: 0 0 100%;
        /* Full width of the container on mobile devices */
        margin-bottom: 20px;
        /* Space between stacked items */
    }
}

.testimonials-container {
    -webkit-overflow-scrolling: touch;
}

/* Footer Styles */
.footer {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    padding: 20px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    margin: 10px;
    flex: 1;
    min-width: 150px;
    /* Ensures that on smaller screens the items don't get too narrow */
}

.footer-logo {
    max-width: 150px;
    /* Adjust as needed */
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    margin-bottom: 10px;
    /* Space above the social icons */
}

.social-icons a {
    margin-right: 10px;
}

.social-icons img {
    width: 2rem;
    /* Adjust as needed */
    height: auto;
}

.footer-section h4 {
    margin-top: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
    /* Ensures list is left-aligned */
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #A8CFFF;
    /* Light blue for hover state */
}

.footer-apps {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center the app links */
}

.footer-apps .app-link {
    margin-bottom: 10px;
}

.app-link img {
    width: 140px;
    /* Adjust as needed */
    height: auto;
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Optional divider */
    padding-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-content {
        justify-content: flex-start;
        /* Align content to the start */
    }

    .footer-section {
        flex-basis: 100%;
        /* Full width of the container */
        text-align: left;
        /* Align text to the left */
    }

    .footer-apps {
        flex-direction: row;
        justify-content: center;
        /* Center the app links horizontally */
        gap: 10px;
        /* Respectable space between the app store and play store icons */
    }

    .footer-bottom {
        text-align: center;
    }
}


.mutual-funds-header {
    position: relative;
    text-align: center;
    color: white;
}

.header-image {
    width: 100%;
    height: auto;
    opacity: 1;
}

.main-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    /* Larger font size */
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    padding: 10px;
}

.content-section {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.content-section {
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    padding: 1rem;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.office-address-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.office-address-box:hover {
    transform: translateY(-5px);
}

.about-page-title {
    margin-bottom: 2rem;
}

.about-section-title,
.team-section-title {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.about-text,
.team-member-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.team-section {
    margin-top: 3rem;
}

.team-member-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member-contact {
    margin-top: 1rem;
}

.team-member-email {
    color: #007bff;
}

.team-member-email:hover {
    text-decoration: underline;
}

.team-member {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.team-member-image {
    width: 120px;
    /* Adjust the width as necessary */
    height: 120px;
    /* Adjust the height as necessary */
    object-fit: cover;
    /* This will ensure the image covers the area without being stretched */
    margin-right: 15px;
}

.team-member-info {
    flex: 1;
    /* Takes the remaining space in the flex container */
}

@media (max-width: 767px) {
    .team-member {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .team-member-image {
        margin-bottom: 15px;
    }

    .team-member-info {
        text-align: center;
    }
}

/* Results Section */
.result-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #04d444;
    margin: 10px 0;
}

.result-group {
    text-align: center;
}

.result-value {
    font-size: 1.5rem;
    color: white;
    /* Theme color for the values */
}