/* General Styles */
:root {
    --finance-blue: #003366;
    --finance-gold: #FFD700;
    --light-gray: #f8f9fa;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.bg-finance-blue {
    background-color: var(--finance-blue);
}

.btn-finance-gold {
    background-color: var(--finance-gold);
    color: var(--finance-blue);
    font-weight: bold;
}

.btn-finance-gold:hover {
    background-color: #E6C200;
    color: var(--finance-blue);
}

/* Navbar Styles */
.navbar {
    transition: background-color 0.3s ease;
	padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
}

.navbar-brand img {
    height: 40px;
}

/* Navigation Active/Hover States */
.navbar-nav .nav-link {	
    position: relative;
	padding: 0.5rem 1rem;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--finance-gold);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}


/* Navbar Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--finance-gold);
    color: var(--finance-blue) !important;
}

/* Active Link Underline */
.navbar-nav .nav-link.active {
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--finance-gold);
}

/* Hero Section Styles - Improved for full width responsiveness */
.hero-section {
    margin-top: 76px; /* Height of the navbar */
    width: 100vw; /* Use viewport width unit */
    max-width: 100%; /* Prevent horizontal scrolling */
    position: relative;
    overflow: hidden;
}

#heroCarousel,
.carousel-inner,
.carousel-item {
    width: 100vw;
    max-width: 100%;
}

.hero-content {
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}

.hero-slide.active {
    display: block;
}

.hero-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.hero-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.hero-controls span.active {
    background: #fff;
}


/* Carousel Section Styles */
.carousel-inner {
    width: 100%;
}

.carousel-item {
    height: calc(100vh - 76px);
}


.carousel-image {
    width: 100vw;
    max-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Force full width on all containers */
.container-fluid,
.container {
    padding-left: 0;
    padding-right: 0;
}

/* Ensure carousel doesn't inherit any max-width constraints */
.carousel {
    max-width: none;
}

/* Overlay for better text visibility */
.carousel-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    z-index: 1;
    padding: 0 15px;
}

.carousel-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 5;
}

.carousel-indicators {
    z-index: 5;
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}


/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Product Icons */
.product-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

/* Fund Managers */
.fund-manager-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form label {
    font-weight: 500;
}

.map-container {
    height: 450px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
}

.social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 0.5rem;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Contact Form Styles */
.contact-form label {
    font-weight: 500;
}

.captcha-image {
    height: 40px;
    border-radius: 4px;
}

.refresh-captcha {
    height: 40px;
    width: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Welcome Section */
.welcome-section {
    padding: 5rem 0;
}

.welcome-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.welcome-section .btn-know-more {
    background-color: var(--finance-blue);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.welcome-section .btn-know-more:hover {
    background-color: var(--finance-gold);
    color: var(--finance-blue);
}


/* Our Services Section */
.services-section {
    background-color: #8FA5B3;
    padding: 5rem 0;
    color: white;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-accordion .accordion-button {
    background-color: transparent;
    color: white;
    border: none;
    padding: 1rem 0;
}

.service-accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: white;
}

.service-accordion .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.service-accordion .accordion-body {
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.8);
}


/* What We Offer Section */
.offer-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}


/* Product Basket Page */
.products-grid .card {
    transition: transform 0.3s ease;
}

.products-grid .card:hover {
    transform: translateY(-5px);
}

.products-grid .card img {
    transition: transform 0.3s ease;
}

.products-grid .card:hover img {
    transform: scale(1.1);
}

/* Product Basket Section */
.product-slider {
    position: relative;
}

.product-slider .swiper-slide {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.product-basket {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #333;
}

/* Navigation Buttons */
.btn-nav {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #666;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background-color: #5cba99;
    border-color: #5cba99;
    color: #fff;
}

.carousel-controls .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #666;
    transition: all 0.3s ease;
}

.carousel-controls .btn:hover {
    background-color: #5cba99;
    border-color: #5cba99;
    color: #fff;
}


/* Product Cards */
.product-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.product-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}


/* Icon Styling */
.icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.product-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: #5cba99; /* Mint green color */
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.product-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}


/* Card Content */
.card-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
    margin: 0;
}


/* Horizontal Indicators */
/*.carousel-indicators {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 0;
    justify-content: center;
}*/

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    opacity: 0.5;
    transition: all 0.3s ease;
}
/*
.carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #ccc !important;
    border: none !important;
    margin: 0 5px !important;
    opacity: 0.5;
    transition: all 0.3s ease;
}
*/
.carousel-indicators button.active {
    background-color: #5cba99 !important;
    opacity: 1;
    transform: scale(1.2);
}

.carousel-indicators .active {
    background-color: #5cba99;
    opacity: 1;
    transform: scale(1.2);
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    color: #333;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #5cba99;
}


/* Why Choose Us Section */
.why-choose-us ul li {
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonial-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.testimonial-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}


/* Latest Blog Section */
.blog-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-content {
    padding: 20px;
}

/* Get in Touch Section */
.get-in-touch ul li {
    margin-bottom: 10px;
}


/* Terms & Privacy Pages */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

.content-wrapper address {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 0.5rem;
}


/* Why Us Section Styles */
.why-us-section {
    background-color: #f2f3f5;
    padding: 80px 0;
}

.why-us-section .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #002147;
    margin-bottom: 20px;
}

/* More specific selector for the icon container */
.why-us-section .why-us-item .why-us-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #0d6efd !important; /* Added !important to override any conflicting styles */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 20px;
}

/* More specific selector for the number inside the icon */
.why-us-section .why-us-item .why-us-icon span {
    color: white !important; /* Added !important to ensure text is white */
    font-size: 20px;
    font-weight: 700;
}

.why-us-content {
    flex-grow: 1;
}

.why-us-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #002147;
    margin-bottom: 10px;
}

.why-us-content p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Gallery Banner Styles */
.gallery-banner {
    background-color: #0d6efd;
    padding: 30px 0;
    color: white;
    margin-top: 76px; /* Adjust based on your header height */
}

.gallery-banner h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-banner .breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    background: transparent;
    padding: 0;
    margin: 0;
}

.gallery-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    margin-right: 5px;
}

.gallery-banner .breadcrumb a:hover {
    color: white;
}

.gallery-banner .breadcrumb span {
    color: white;
}

/* Gallery Section Styles */
.gallery-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Filter Buttons */
.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 25px;
    margin: 0 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #0d6efd;
    color: white;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Gallery Item */
.gallery-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay a {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 20px;
    transform: scale(0);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay a {
    transform: scale(1);
}

.gallery-caption {
    padding: 15px;
}

.gallery-caption h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.gallery-caption p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* Hide items based on filter */
.gallery-item.hide {
    display: none;
}

/* Magnific Popup Customization */
.mfp-bg {
    background-color: rgba(0, 0, 0, 0.9);
}

.mfp-figure:after {
    box-shadow: none;
    background: transparent;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}


@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .gallery-image {
        height: 220px;
    }
}
}


@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .social-icons {
        padding-top: 1rem;
        text-align: center;
    }
	
	.carousel-item {
        height: 70vh; /* Slightly shorter on medium screens */
    }
    
    .carousel-content h2 {
        font-size: 2.5rem;
    }
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-card {
        width: 280px;
        height: 280px;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .carousel-item {
        height: 60vh; /* Shorter on small screens */
    }

    /* Ensure full width on mobile */
    .hero-section,
    #heroCarousel,
    .carousel-inner,
    .carousel-item,
    .carousel-image {
        width: 100vw;
        max-width: 100%;
    }	
    .carousel-content {
        width: 90%;
    }
	
	.carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
	
    .carousel-content .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }	

    .why-us-section {
        padding: 60px 0;
    }
    
    .why-us-section .section-title h2 {
        font-size: 30px;
    }
    
    .why-us-item {
        flex-direction: column;
    }
    
    .why-us-section .why-us-item .why-us-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .gallery-section {
        padding: 40px 0;
    }
    
    .gallery-banner h1 {
        font-size: 28px;
    }
    
    .gallery-filter {
        justify-content: center;
    }
}


@media (max-width: 767.98px) {
    .carousel-item {
        height: 60vh; /* Shorter on small screens */
    }
	
    .carousel-content {
        padding: 0 10%;
    }
    
    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
	
	.carousel-content .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}



@media (max-width: 576px) {
    .hero-section {
        margin-top: 56px; /* Smaller navbar on mobile */
    }
    
    .carousel-item {
        height: 50vh; /* Even shorter on extra small screens */
    }
    
    .carousel-content h2 {
        font-size: 1.5rem;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-banner {
        margin-top: 56px; /* Adjust for mobile header height */
        padding: 20px 0;
    }
    
    .gallery-banner h1 {
        font-size: 24px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}
/* style(10).css */