:root {
    --primary-color: #2C3E50; /* Deep Blue/Charcoal */
    --secondary-color: #1ABC9C; /* Teal/Turquoise for accents */
    --accent-color: #E67E22; /* Orange for CTA */
    --light-bg: #F8F9FA; /* Light Gray for sections */
    --dark-bg: #212529; /* Dark background for some sections/footer */
    --text-color: #34495E; /* Dark Gray for general text */
    --light-text: #ECF0F1; /* Light text for dark backgrounds */
    --muted-text: #6C757D;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
}

.display-3, .display-4, .display-5 {
    color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary-dark {
    background-color: var(--primary-color) !important;
}

.bg-light-50 {
    background-color: rgba(255, 255, 255, 0.05) !important; /* For subtle light backgrounds on dark sections */
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.btn-primary, .custom-btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover, .custom-btn-primary:hover { filter: brightness(90%); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

.btn-outline-light {
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-outline-light:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('/site-files/img/media/businesswoman-in-smiling-finances-office-on-the-working.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--light-text);
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
}

.hero-section h1 {
    color: var(--light-text);
    font-size: 3.5rem;
}

.hero-section p.lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Navigation */
.custom-transparent-nav {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.custom-transparent-nav.scrolled {
    background-color: rgba(var(--primary-color-rgb), 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo-img {
    height: 40px; /* Default height */
    transition: height 0.3s ease;
    filter: invert(1);
    --filter: invert(1);
}

.navbar-brand .logo-img.scrolled {
    height: 30px; /* Smaller height when scrolled */
}

.navbar-nav .nav-link {
    color: var(--light-text);
    font-weight: 500;
    margin: 0 0.75rem;
    position: relative;
    transition: color 0.3s ease;
}

.custom-transparent-nav.scrolled .navbar-nav .nav-link {
    color: var(--light-text);
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* About Us Section */
#about h2 {
    color: var(--primary-color);
}

#about h3 {
    color: var(--primary-color);
}

/* Our Services Section */
.service-step {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.service-step .display-5 {
    color: var(--primary-color);
}



/* Core Features Section */
.custom-tabs .nav-link {
    color: var(--primary-color);
    border: none;
    border-bottom: 2px solid transparent;
    margin: 0 1rem;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-tabs .nav-link.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    background-color: transparent;
}

.custom-tabs .nav-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.tab-content .tab-pane {
    border: none;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pricing Plans Section */
.pricing-comparison-wrapper {
    position: relative;
    overflow: hidden;
}

.pricing-plan-col {
    position: relative;
    padding: 2rem;
}

.pricing-plan {
    transition: opacity 0.3s ease;
}

.pricing-slider-container {
    padding-top: 2rem;
    border-top: 1px solid var(--light-bg);
}

.pricing-slider-container .form-range {
    width: 80%;
    margin: 0 auto;
    display: block;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features .bi {
    font-size: 1.1rem;
}

/* FAQ Section */
.custom-faq-list .list-group-item {
    background-color: var(--light-bg);
    border: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    color: var(--text-color);
}

.custom-faq-list .list-group-item:hover {
    background-color: var(--secondary-color);
    color: white;
}

.custom-faq-list .list-group-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.faq-answer {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-answer.d-none {
    display: none !important;
}

/* Our Team Section */
.custom-timeline-wrapper {
    position: relative;
    padding-bottom: 2rem;
}

.custom-timeline {
    position: relative;
    white-space: nowrap;
    padding-top: 2rem;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.custom-timeline::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


.timeline-item {
    position: relative;
    display: inline-block;
    width: 200px; /* Fixed width for each item */
    margin: 0 2rem;
    vertical-align: top;
    z-index: 1;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border: 3px solid var(--primary-color);
}

.timeline-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
    background-color: var(--light-bg);
}

.timeline-item h4 {
    color: var(--light-text);
}

.timeline-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* Our Milestones & Stats Section */
.custom-stats-timeline-wrapper {
    position: relative;
    padding-bottom: 2rem;
}

.custom-stats-timeline {
    position: relative;
    white-space: nowrap;
    padding-top: 2rem;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.custom-stats-timeline::-webkit-scrollbar {
    display: none;
}



.stat-item {
    position: relative;
    display: inline-block;
    width: 200px;
    margin: 0 2rem;
    vertical-align: top;
    z-index: 1;
}



.stat-item h3 {
    color: var(--primary-color);
    font-size: 3.5rem;
}

.stat-item p {
    color: var(--text-color);
}

/* Client Testimonials Section */
.testimonial-map {
    min-height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.map-marker {
    position: absolute;
    z-index: 2;
    color: var(--secondary-color);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.map-marker:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.map-marker .marker-label {
    font-size: 0.8rem;
    color: var(--light-text);
    background-color: rgba(var(--primary-color-rgb), 0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    margin-top: 0.2rem;
    white-space: nowrap;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.map-marker[data-aos] {
    animation: pulse 2s infinite ease-in-out;
}

.testimonial-modal-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

/* Contact Form Section */
#contact-form .form-control, #contact-form .form-select, #newsletterForm .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

#contact-form .form-control:focus, #newsletterForm .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--secondary-color-rgb), 0.25);
}

#contact-form .form-check-label a, #newsletterForm .form-check-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

#contact-form .form-check-label a:hover, #newsletterForm .form-check-label a:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.footer-brand .footer-logo-img {
    height: 50px;
    filter: invert(1);
    --filter: invert(1);
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.8rem;
    margin-right: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.footer .input-group .form-control {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border-right: none;
}

.footer .input-group .btn {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.footer .form-check-label a {
    color: var(--light-text);
    text-decoration: underline;
}

.footer .form-check-label a:hover {
    color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(var(--primary-color-rgb), 0.95);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        text-align: center;
    }

    .navbar-nav .nav-link::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1.1rem;
    }

    .service-step .service-arrow {
        display: none !important;
    }

    .custom-timeline::before, .custom-stats-timeline::before {
        display: none;
    }

    .custom-timeline, .custom-stats-timeline {
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
    }

    .timeline-item, .stat-item {
        width: 100%;
        max-width: 250px;
        margin: 1rem auto;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.5rem;
    }

    .timeline-item::before, .stat-item::before {
        display: none;
    }

    .pricing-plan-col {
        border-end: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .pricing-plan-col:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .custom-tabs .nav-link {
        margin: 0.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .testimonial-map {
        min-height: 300px;
    }

    .map-marker {
        font-size: 2rem;
    }

    .map-marker .marker-label {
        font-size: 0.7rem;
        padding: 0.1rem 0.3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p.lead {
        font-size: 1rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .custom-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    .footer-brand .footer-logo-img {
        height: 40px;
    }

    .footer h5 {
        margin-top: 1.5rem;
        margin-bottom: 1rem !important;
    }
}

/* Custom CSS variables for JS */
body {
    --primary-color-rgb: 44, 62, 80;
    --secondary-color-rgb: 26, 188, 156;
    --accent-color-rgb: 230, 126, 34;
}
/* Styles for the main content block */
.trustPillarUnit {
    padding: 3rem 1.5rem; /* Top/bottom and side padding */
    margin-top: 3rem; /* Top margin for separation */
    background-color: var(--light-bg); /* Background color for the unit */
    border-radius: 0.75rem; /* Slightly rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

/* Heading styles within .trustPillarUnit */
.trustPillarUnit h1 {
    font-size: 2.5rem; /* Main heading size */
    margin-top: 0; /* No top margin for the first heading */
    margin-bottom: 1.5rem; /* Space below heading */
    line-height: 1.2;
    color: var(--primary-color);
}

.trustPillarUnit h2 {
    font-size: 2rem; /* Sub-heading size */
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1.25rem; /* Space below heading */
    line-height: 1.3;
    color: var(--primary-color);
}

.trustPillarUnit h3 {
    font-size: 1.75rem; /* Smaller sub-heading size */
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--primary-color);
}

.trustPillarUnit h4 {
    font-size: 1.5rem; /* Even smaller sub-heading size */
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--primary-color);
}

.trustPillarUnit h5 {
    font-size: 1.25rem; /* Smallest heading size */
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--primary-color);
}

/* Paragraph styles within .trustPillarUnit */
.trustPillarUnit p {
    font-size: 1rem; /* Base paragraph font size */
    margin-bottom: 1rem; /* Space below paragraph */
    line-height: 1.7; /* Improved readability */
    color: var(--text-color);
}

/* Unordered list styles within .trustPillarUnit */
.trustPillarUnit ul {
    list-style: disc; /* Default disc bullet points */
    padding-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1rem; /* Space below the list */
    color: var(--text-color);
}

/* List item styles within .trustPillarUnit */
.trustPillarUnit li {
    font-size: 1rem; /* Base list item font size */
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.6; /* Line height for readability */
    color: var(--text-color);
}

/* Responsive adjustments for headings and padding */
@media (max-width: 767.98px) {
    .trustPillarUnit {
        padding: 2rem 1rem; /* Adjust padding for smaller screens */
        margin-top: 2rem;
    }

    .trustPillarUnit h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .trustPillarUnit h2 {
        font-size: 1.75rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .trustPillarUnit h3 {
        font-size: 1.5rem;
        margin-top: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .trustPillarUnit h4 {
        font-size: 1.25rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .trustPillarUnit h5 {
        font-size: 1.1rem;
        margin-top: 0.75rem;
        margin-bottom: 0.25rem;
    }
}


.navbar-brand, .footer-brand{
    display: flex !important;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    text-decoration: none !important;
}

.navbar-brand h2, .footer-brand h2{
    font-size: clamp(18px,2.5vw,22px);
    margin: 0;
    color: #ffff !important;
}