:root {
    --bg: #f3faff;
    --muted: #6b7280;
    --blue: #1655a0;
    /* main brand blue */
    --green: #0064a6;
    /* actual green */
    --dark: #071128;
    --card: #ffffff;
    --btn-dark: #0b2b4a;
}

body {
    background: var(--bg);
    color: var(--dark);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Headings */
h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #061026;
}

h1 .accent {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 6px 18px rgba(22, 85, 160, 0.25);
}
.error
{
	color:red !important;
}

/* Text */
.lead {
    color: var(--muted);
    max-width: 520px;
}

/* Buttons */
.btn-primary {
    background: var(--blue);
    border: none;
}

.btn-dark {
    background: var(--btn-dark);
    border: none;
}

.navbar-custom {
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* After scroll */
.navbar-custom.navbar-scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

/* Links default (before scroll) */
.navbar-custom .nav-link {
    color: #f8f9fa;
    /* light text when navbar is transparent */
    position: relative;
    transition: color 0.3s ease;
}

/* Links hover & active */
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #0064a6 !important;
    /* blue text */
}

/* Underline animation */
.navbar-custom .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: #0064a6;
    transition: width 0.3s ease;
}

/* Show underline on hover or active */
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 100%;
}

/* Links after scroll (non-active) */
.navbar-custom.navbar-scrolled .nav-link {
    color: #333 !important;
    /* dark text when background is white */
}

/* Active link after scroll */
.navbar-custom.navbar-scrolled .nav-link.active {
    color: #0064a6 !important;
    /* keep active blue */
}


.hero-section {
    position: relative;
    background: url("../imgs/banner_cashflow.png") no-repeat center center/cover;
    min-height: 102vh;
    padding: 110px 0;
}

/* Overlay only for desktop */
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Mobile: remove background */
@media (max-width: 767px) {
    .hero-section {
        background: none !important;
        min-height: auto;
        padding: 60px 0 40px;
    }
}


/* Phone Image */
.phone {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 28px;
    display: block;
    margin: 0 auto;
}

/* Floating Card Base */
.floating-card {
    background: var(--card, #fff);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(6, 18, 36, 0.12);
    padding: 12px;
    font-size: 14px;
}

/* Large screen floating card */
.floating-card-lg {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 200px;
}

/* Small screen floating card */
.floating-card-sm {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0 auto;
}

/* Feature card hover effect */
.feature-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}


/* Feature Section */
#features {
    background: var(--blue);
    padding: 60px 0;
}

/* Feature Card */
.feature-card {
    background: #fff;
    color: #333;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Icon wrapper */
.feature-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--blue);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon image */
.feature-card .icon img {
    max-width: 40px;
    max-height: 40px;
}

.feature-card h5 {
    color: var(--blue);
}

.feature-card p {
    color: #555;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

/* Phone mockup */
.phone-mockup {
    max-width: 260px;
    position: relative;
    z-index: 2;
}

/* Background circle */
.circle-bg {
    position: absolute;
    width: 320px;
    height: 320px;
    background: #0a2342;
    /* dark blue or green accent */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.8;
}

/* Service item (feature box) */
.service-item {
    margin-bottom: 30px;
}

.service-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.service-item p {
    font-size: 14px;
    color: #f1f1f1;
    margin: 0;
}


/* Service Card Styling */
.service-card {
    background-color: #ffffff;
    /* White background */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease-in-out;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Icon Circle */
.service-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(22, 85, 160, 0.1);
    /* light primary background */
    margin: 0 auto 15px auto;
}

/* Responsive Text */
.service-card h5 {
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
}

#cta h2 {
    font-size: 2rem;
    line-height: 1.3;
}

#cta .btn-light {
    background-color: #ffffff;
    color: #1655a0;
    border-color: #ffffff;
    transition: all 0.3s ease;
}

#cta .btn-light:hover {
    background-color: #f0f0f0;
    color: #1655a0;
}

#cta .btn-outline-light {
    color: #ffffff;
    border-color: #ffffff;
    transition: all 0.3s ease;
}

#cta .btn-outline-light:hover {
    background-color: #ffffff;
    color: #1655a0;
}


/* Remove Bootstrap default accordion background & borders */
.accordion-item {
    border: none !important;
    background: transparent !important;
}

/* FAQ Button Custom Style */
.faq-btn {
    background-color: #1655a0 !important;
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.9rem 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: none !important;
}

/* Hover */
.faq-btn:hover {
    background-color: #0f3d75 !important;
    color: #fff !important;
}

/* Remove Bootstrap default arrow */
.accordion-button::after {
    background-image: none !important;
}

/* + icon */
.accordion-button.collapsed::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    position: absolute;
    right: 1.2rem;
    top: 40%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

/* − icon */
.accordion-button:not(.collapsed)::after {
    content: "−";
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Expanded/Focus */
.accordion-button:focus,
.accordion-button:not(.collapsed),
.accordion-button:active {
    background-color: #1655a0 !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Accordion Body */
.accordion-body {
    background-color: #f8f9fa;
    border-radius: 0 0 0.75rem 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1rem 1.25rem;
    color: #333;
    border: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-btn {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }

    .accordion-body {
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
    }
}

@media (max-width: 480px) {
    .faq-btn {
        font-size: 0.95rem;
        padding: 0.7rem 0.9rem;
    }

    .accordion-button::after {
        right: 1rem;
        font-size: 1.2rem;
    }

    .accordion-body {
        font-size: 0.85rem;
        padding: 0.8rem 0.9rem;
    }
}




/*footer section*/

.footer-section {
    background-color: #1655a0;
    color: #fff;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #d1e4ff;
}

.footer-divider {

    border-color: rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

.social-link {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #d1e4ff;
}

/* Responsive Fixes */
@media (max-width: 767px) {
    .footer-title {
        font-size: 1.1rem;
    }

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

    .social-link {
        margin: 0 10px;
    }
}



*/ #testimonials {
    background-color: #1655a0;
    color: #1655a0;
}

.testimonial-card {
    background-color: #ffffff;
    /* white box */
    color: #1655a0;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

#testimonials img {
    border: 4px solid #1655a0;
}

#testimonials .quote {
    font-size: 1.1rem;
    font-style: italic;
    position: relative;
    padding-left: 25px;
}

#testimonials .quote::before {
    content: "“";
    font-size: 2rem;
    color: #1655a0;
    position: absolute;
    left: 0;
    top: -5px;
}

#testimonials h6,
#testimonials small {
    color: #1655a0;
}

/* Carousel indicators */
#testimonials .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
    margin: 0 5px;
}

#testimonials .carousel-indicators .active {
    opacity: 1;
}

/* Carousel arrows visible */
#testimonials .carousel-control-prev,
#testimonials .carousel-control-next {
    width: 50px;
    top: 50%;
    transform: translateY(-50%);
}

#testimonials .carousel-control-prev-icon,
#testimonials .carousel-control-next-icon {
    background-image: none;
    /* remove default */
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    position: relative;
}

/* Custom arrow shapes */
#testimonials .carousel-control-prev-icon::after {
    content: "";
    border: solid #1655a0;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 7px;
    transform: rotate(135deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
}

#testimonials .carousel-control-next-icon::after {
    content: "";
    border: solid #1655a0;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 7px;
    transform: translate(-50%, -50%) rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
}

/* Go Top Button Styles */
.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1655a0;
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    /* hidden initially */
    z-index: 9999;
    transition: all 0.3s ease;
}

.go-top:hover {
    background-color: #0f3d80;
    text-decoration: none;
    color: #fff;
}


/* Make all text in the form same color and size */
#enquiryForm,
#enquiryForm input,
#enquiryForm select,
#enquiryForm textarea,
#enquiryForm option,
#enquiryForm .error-msg,
#enquiryForm .g-recaptcha {
    color: #000;
    /* Uniform text color */
    font-size: 16px;
    /* Uniform text size */
    font-family: Arial, sans-serif;
}

/* Placeholder text same color and size */
#enquiryForm ::placeholder {
    color: #000;
    opacity: 1;
    /* Ensure placeholder is fully visible */
    font-size: 16px;
}

/* Remove individual default styling for select */
#enquiryForm select {
    color: #000;
}

/* Optional: error messages same color & size */
#enquiryForm .error-msg {
    font-size: 16px;
    color: #dc3545;
    /* Bootstrap red for errors */
}

.contact-list i {
    color: #1655a0;
    /* Match heading color */
    display: flex;
    align-items: center;
    /* Align icon vertically with text */
    min-width: 30px;
    /* Optional: ensures consistent spacing */
}

.contact-list li {
    align-items: center;
    /* Ensure all list items align properly */
}


/* Terms and conditions */

.terms-container {
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
}

.terms-container h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background-color: #1655a0;
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
}

.terms-container h2 {
    color: #1655a0;
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.terms-container p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.terms-container ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.terms-container li {
    margin-bottom: 10px;
}