/* EXACT Color Replacement: Green (#1ba12d) to Purple (#7B68EE) */
/* Maintaining the EXACT same design and appearance as accounting-master */

/* Replace the main template green color #1ba12d with Acculitax purple #7B68EE */

/* Links — exclude buttons so their text stays white */
a:not(.btn) {
    color: #7B68EE !important;
}

a:not(.btn):hover,
a:not(.btn):focus {
    color: #7B68EE !important;
}

/* Social Media Hover */
.social-media p a:hover {
    background: #7B68EE !important;
    border-color: #7B68EE !important;
}

/* Navigation */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:before {
    background-color: #7B68EE !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
    color: #7B68EE !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover:before {
    background-color: #7B68EE !important;
}

.ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu .dropdown-item:hover,
.ftco-navbar-light .navbar-nav > .nav-item .dropdown-menu .dropdown-item:focus {
    background: #7B68EE !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.cta > a {
    background: #7B68EE !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.active > a {
    color: #7B68EE !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.active > a:before {
    background-color: #7B68EE !important;
}

/* Hero Section */
.hero-wrap.hero-wrap-2 .overlay {
    background: #7B68EE !important;
}

.hero-wrap .slider-text h1 span {
    color: #7B68EE !important;
}

.hero-wrap .slider-text .subheading {
    color: #7B68EE !important;
}

.hero-wrap .slider-text .breadcrumbs span a:hover,
.hero-wrap .slider-text .breadcrumbs span a:focus {
    color: #7B68EE !important;
}

.hero-wrap .slider-text .breadcrumbs span a:hover i,
.hero-wrap .slider-text .breadcrumbs span a:focus i {
    color: #7B68EE !important;
}

/* Owl Carousel Navigation */
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    color: #7B68EE !important;
}

/* Background Primary */
.bg-primary {
    background: #7B68EE !important;
}

/* Buttons */
.btn.btn-primary,
.btn-primary {
    background: #7B68EE !important;
    background-color: #7B68EE !important;
    border-color: #7B68EE !important;
    color: #fff !important;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus {
    background: #6A5ACD !important;
    background-color: #6A5ACD !important;
    border-color: #6A5ACD !important;
    color: #fff !important;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    background-color: #6A5ACD !important;
    border-color: #6A5ACD !important;
    color: #fff !important;
}

/* Outline Buttons */
.btn-outline-primary {
    color: #7B68EE !important;
    border-color: #7B68EE !important;
    background: transparent !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: #7B68EE !important;
    background-color: #7B68EE !important;
    border-color: #7B68EE !important;
    color: #fff !important;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: #7B68EE !important;
    border-color: #7B68EE !important;
    color: #fff !important;
}

/* Success Colors (Bootstrap) - Replace with Purple */
.btn-success {
    background-color: #7B68EE !important;
    border-color: #7B68EE !important;
}

.btn-success:hover {
    background-color: #6A5ACD !important;
    border-color: #6A5ACD !important;
}

.btn-outline-success {
    color: #7B68EE !important;
    border-color: #7B68EE !important;
}

.btn-outline-success:hover {
    background-color: #7B68EE !important;
    border-color: #7B68EE !important;
}

/* Badges */
.badge-success {
    background-color: #7B68EE !important;
}

.badge-primary {
    background-color: #7B68EE !important;
}

/* Backgrounds */
.bg-success {
    background-color: #7B68EE !important;
}

/* Borders */
.border-success {
    border-color: #7B68EE !important;
}

.border-primary {
    border-color: #7B68EE !important;
}

/* Text Colors */
.text-success {
    color: #7B68EE !important;
}

.text-primary {
    color: #7B68EE !important;
}

/* Form Validation */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #7B68EE !important;
}

.was-validated .form-control:valid:focus,
.form-control.is-valid:focus {
    border-color: #7B68EE !important;
    box-shadow: 0 0 0 0.2rem rgba(123, 104, 238, 0.25) !important;
}

.was-validated .custom-select:valid,
.custom-select.is-valid {
    border-color: #7B68EE !important;
}

.was-validated .custom-select:valid:focus,
.custom-select.is-valid:focus {
    border-color: #7B68EE !important;
    box-shadow: 0 0 0 0.2rem rgba(123, 104, 238, 0.25) !important;
}

.was-validated .form-check-input:valid ~ .form-check-label,
.form-check-input.is-valid ~ .form-check-label {
    color: #7B68EE !important;
}

.was-validated .custom-control-input:valid ~ .custom-control-label,
.custom-control-input.is-valid ~ .custom-control-label {
    color: #7B68EE !important;
}

.was-validated .custom-control-input:valid ~ .custom-control-label::before,
.custom-control-input.is-valid ~ .custom-control-label::before {
    border-color: #7B68EE !important;
}

.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before,
.custom-control-input.is-valid:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #7B68EE !important;
}

.was-validated .custom-file-input:valid ~ .custom-file-label,
.custom-file-input.is-valid ~ .custom-file-label {
    border-color: #7B68EE !important;
}

.was-validated .custom-file-input:valid:focus ~ .custom-file-label,
.custom-file-input.is-valid:focus ~ .custom-file-label {
    border-color: #7B68EE !important;
    box-shadow: 0 0 0 0.2rem rgba(123, 104, 238, 0.25) !important;
}

/* CSS Variables Override */
:root {
    --green: #7B68EE !important;
    --success: #7B68EE !important;
    --primary: #7B68EE !important;
}

/* Any remaining #1ba12d references */
*[style*="#1ba12d"] {
    color: #7B68EE !important;
    background-color: #7B68EE !important;
    border-color: #7B68EE !important;
}

/* Any remaining #28a745 references */
*[style*="#28a745"] {
    color: #7B68EE !important;
    background-color: #7B68EE !important;
    border-color: #7B68EE !important;
}

/* Search form */
.searchform .search {
    background: #7B68EE !important;
    border-color: #7B68EE !important;
}

/* Submit buttons */
.submit,
input[type="submit"] {
    background: #7B68EE !important;
    border-color: #7B68EE !important;
}

.submit:hover,
input[type="submit"]:hover {
    background: #6A5ACD !important;
    border-color: #6A5ACD !important;
}

/* Focus states */
.form-control:focus {
    border-color: #7B68EE !important;
    box-shadow: 0 0 0 0.2rem rgba(123, 104, 238, 0.25) !important;
}

/* MAIN SERVICES SECTION - Keep original white/light gray icon styling */
.services .icon span {
    color: #e6e6e6 !important; /* Keep original light gray as in accounting-master */
}

/* ABOUT SECTION ICONS - Apply shaded purple backgrounds (services-2) */
.services-2 .icon {
    background: #7B68EE !important; /* Solid purple background like original green */
    color: #FFFFFF !important;
    -webkit-box-shadow: 0px 10px 30px -4px rgba(123, 104, 238, 0.15) !important;
    -moz-box-shadow: 0px 10px 30px -4px rgba(123, 104, 238, 0.15) !important;
    box-shadow: 0px 10px 30px -4px rgba(123, 104, 238, 0.15) !important;
}

.services-2 .icon span {
    color: #FFFFFF !important;
}

/* Block icons (About page values section) - Apply purple */
.block-6 .icon {
    background: #7B68EE !important;
    color: #FFFFFF !important;
    -webkit-box-shadow: 0px 10px 30px -4px rgba(123, 104, 238, 0.15) !important;
    -moz-box-shadow: 0px 10px 30px -4px rgba(123, 104, 238, 0.15) !important;
    box-shadow: 0px 10px 30px -4px rgba(123, 104, 238, 0.15) !important;
}

.block-6 .icon span {
    color: #FFFFFF !important;
}

/* Media icons (general about sections) - Apply purple */
.media .icon {
    background: #7B68EE !important;
    color: #FFFFFF !important;
    -webkit-box-shadow: 0px 10px 30px -4px rgba(123, 104, 238, 0.15) !important;
    -moz-box-shadow: 0px 10px 30px -4px rgba(123, 104, 238, 0.15) !important;
    box-shadow: 0px 10px 30px -4px rgba(123, 104, 238, 0.15) !important;
}

.media .icon span {
    color: #FFFFFF !important;
}

/* Counter numbers */
.counter-wrap .number {
    color: #7B68EE !important;
}

/* Pricing */
.block-7 .excerpt {
    background: #7B68EE !important;
}

.block-7 .price .number {
    color: #7B68EE !important;
}

/* Blog elements */
.blog-entry .meta a {
    color: #7B68EE !important;
}

.blog-entry .heading a {
    color: #7B68EE !important;
}

/* FAQ - Fix all accordion issues */
.ftco-faqs .card-header button {
    color: #000000 !important; /* Black text like original */
}

.ftco-faqs .card-header button:hover,
.ftco-faqs .card-header button:focus {
    color: #000000 !important; /* Keep black on hover - no purple */
    text-decoration: none !important;
}

/* Fix accordion content visibility */
.ftco-faqs .card-body {
    color: #000000 !important; /* Ensure accordion content is visible */
}

.ftco-faqs .card-body p,
.ftco-faqs .card-body ol,
.ftco-faqs .card-body li {
    color: #000000 !important; /* Make sure all text is visible */
}

/* Remove any green colors from accordion */
.ftco-faqs .card-header button[aria-expanded="true"] {
    color: #000000 !important; /* No green when expanded */
    background-color: transparent !important;
}

/* Override any Bootstrap default colors */
.ftco-faqs .btn-link {
    color: #000000 !important;
}

.ftco-faqs .btn-link:hover,
.ftco-faqs .btn-link:focus {
    color: #000000 !important;
    text-decoration: none !important;
}

/* Ensure accordion content is always visible */
.ftco-faqs .collapse .card-body {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Remove any conflicting styles */
.ftco-faqs * {
    color: inherit !important;
}

/* PRICING SECTION - Match original accounting-master exactly */
/* Remove purple background from pricing section headers */
.block-7 .excerpt {
    background: transparent !important; /* Remove purple background */
    color: #7B68EE !important; /* Purple text instead of green */
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Keep all other pricing text black like original */
.block-7 .price {
    color: #000000 !important; /* Black price text */
}

.block-7 .price .number {
    color: #000000 !important; /* Black price numbers */
}

.block-7 .pricing-text li {
    color: #000000 !important; /* Black feature text */
}

/* Keep check icons the original light blue color */
.block-7 .pricing-text li span.fa {
    color: #8fd0d2 !important; /* Original light blue check marks */
}

/* Ensure pricing cards have white background */
.block-7 {
    background: #fff !important; /* White background like original */
}

/* Ensure uniform height and alignment for pricing cards */
.block-7 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.block-7 .text-center {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Make pricing lists uniform height */
.block-7 .pricing-text {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 200px !important; /* Ensure consistent height */
}

.block-7 .pricing-text li {
    margin-bottom: 15px !important;
    text-align: left !important;
    padding-left: 0 !important;
}

/* Ensure buttons are aligned at bottom */
.block-7 .btn {
    margin-top: auto !important;
}

/* Ensure button text is white */
.block-7 .btn-primary {
    color: #fff !important;
}

.block-7 .btn-primary:hover,
.block-7 .btn-primary:focus {
    color: #fff !important;
}

/* ALL SECTION HEADERS - Change from green to purple */
.subheading {
    color: #7B68EE !important; /* Purple instead of green */
}

.heading-section .subheading {
    color: #7B68EE !important; /* Purple for all section subheadings */
}

.heading-section-white .subheading {
    color: #7B68EE !important; /* Purple for white section subheadings */
}

/* Specific section subheadings */
.ftco-section .subheading,
.testimony-section .subheading,
.ftco-faqs .subheading {
    color: #7B68EE !important; /* Purple for all subheadings */
}

/* KEEP VALUES/COMPANY ICONS WHITE - Like accounting-master */
/* These are the Innovation, Reliability, Excellence icons */
.block-6 .icon {
    background: transparent !important; /* Remove purple background */
    color: #e6e6e6 !important; /* Light gray like original */
    box-shadow: none !important; /* Remove purple shadow */
}

.block-6 .icon span {
    color: #e6e6e6 !important; /* Light gray icons like original */
}

/* General values/company section icons - keep white/light gray */
.ftco-section .block-6 .icon,
.about-section .block-6 .icon,
.values-section .icon {
    background: transparent !important;
    color: #e6e6e6 !important;
    box-shadow: none !important;
}

.ftco-section .block-6 .icon span,
.about-section .block-6 .icon span,
.values-section .icon span {
    color: #e6e6e6 !important;
}

/* Ensure main services icons stay white/light gray like original */
.services .icon span {
    color: #e6e6e6 !important; /* Keep original light gray */
}

/* Blog/News section image fixes */
.blog-entry .block-20 {
    height: 250px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: block !important;
}

/* Ensure blog images have proper fallback */
.blog-entry .block-20:not([style*="background-image"]) {
    background-image: url('../images/image_1.jpg') !important;
}

/* Blog entry styling */
.blog-entry {
    background: #fff !important;
    box-shadow: 0px 10px 18px -8px rgba(0, 0, 0, 0.1) !important;
}

/* Testimonial icons - Keep icons white, make container purple */
.testimony-wrap .icon {
    background: #7B68EE !important; /* Purple background instead of green */
}

.testimony-wrap .icon span {
    color: #fff !important; /* Keep white icons */
}

/* Testimonial section dots - Change green to purple */
.testimony-section .owl-dots .owl-dot.active {
    background: #7B68EE !important; /* Purple instead of green */
}

/* Footer elements */
.footer a:hover {
    color: #7B68EE !important;
}