/* Bootstrap Primary Color Override - Corporate Navy */
:root {
    --bs-primary: #1a3a52;
    --bs-primary-rgb: 26, 58, 82;
}

/* Primary Button Styles */
.btn-primary {
    background-color: #1a3a52 !important;
    border-color: #1a3a52 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #0f2438 !important;
    border-color: #0f2438 !important;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #0f2438 !important;
    border-color: #0f2438 !important;
    box-shadow: 0 0 0 0.25rem rgba(26, 58, 82, 0.5) !important;
}

.btn-primary:disabled {
    background-color: #1a3a52 !important;
    border-color: #1a3a52 !important;
    opacity: 0.65;
}

/* Primary Color for other elements */
.text-primary {
    color: #1a3a52 !important;
}

.bg-primary {
    background-color: #1a3a52 !important;
}

.border-primary {
    border-color: #1a3a52 !important;
}

/* Green Badge Styles - Corporate Green */
.bg-ndd-green-light {
    background-color: #e3f8ce !important;
}

.text-ndd-green {
    color: #44d62c !important;
}

.btn-outline-primary {
    color: #1a3a52 !important;
    border-color: #1a3a52 !important;
}

.btn-outline-primary:hover {
    background-color: #1a3a52 !important;
    border-color: #1a3a52 !important;
}

/* Full-screen hero alignment. */
.hero-section {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 120px;
}

.hero-section > .container {
    width: 100%;
}

/* Keep hero image constrained to its column on all screen sizes. */
.hero-section .mac-screen {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.hero-section .hero-screen-wrap {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
}

.hero-section .hero-screen-wrap .mac-screen {
    flex: 0 1 100% !important;
    width: 100% !important;
    margin-right: 0 !important;
}

.hero-section .mac-screen img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (min-width: 1200px) {
    .hero-section .mac-screen img {
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 1400px) {
    .hero-section .mac-screen img {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .hero-section .mac-screen img {
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .hero-section {
        padding-top: 160px;
        padding-bottom: 140px;
    }
}

.main-header .navbar .nav-link:hover,
.main-header .navbar .nav-link:focus,
.main-header .navbar .nav-link.active,
.offcanvas .nav-link:hover,
.offcanvas .nav-link:focus,
.offcanvas .nav-link.active {
    color: #44d62c;
}

.navbar-light.sticky-header.affix .main-menu li a.nav-link:hover,
.navbar-light.sticky-header.affix .main-menu li a.nav-link:focus,
.navbar-light.sticky-header.affix .main-menu li a.nav-link.active,
.navbar-dark.sticky-header.affix .main-menu li a.nav-link:hover,
.navbar-dark.sticky-header.affix .main-menu li a.nav-link:focus,
.navbar-dark.sticky-header.affix .main-menu li a.nav-link.active {
    color: #44d62c;
}

.promo-section .promo-border-hover:hover {
    border-color: #44d62c !important;
}

.promo-section .promo-card-info .h5 {
    font-size: 1.15rem;
    white-space: nowrap;
}

.promo-section .promo-card-info .display-5 {
    font-size: 2.4rem;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .promo-section .promo-card-info .h5 {
        white-space: normal;
    }

    .promo-section .promo-card-info .display-5 {
        white-space: normal;
    }
}

#managed-plan .promo-border-hover:hover {
    border-color: #44d62c !important;
}

.feature-section-two .img-overlay-list li i {
    background-color: #44d62c !important;
}

.feature-section-two .services-image {
    width: 65%;
    max-width: 65%;
}

.bg-ndd-green {
    background-color: #44d62c !important;
}

.text-ndd-green {
    color: #44d62c !important;
}

/* Footer uses template dark section color */
.footer-section,
.footer-section .footer-top,
.footer-section .footer-bottom {
    background-color: #111827 !important;
    color: #fff !important;
}

.footer-section .footer-top.bg-dark,
.footer-section .footer-bottom.bg-dark {
    background-color: #111827 !important;
}

.footer-section .footer-single-col h3,
.footer-section .footer-single-col p,
.footer-section .footer-nav-list li a,
.footer-section .copyright-text p,
.footer-section .copyright-text p a,
.footer-section .footer-social-list li a,
.footer-section .text-white,
.footer-section .text-white-50 {
    color: #fff !important;
    opacity: 1 !important;
}

.footer-section .footer-nav-list li a:hover,
.footer-section .footer-nav-list li a:focus,
.footer-section .copyright-text p a:hover,
.footer-section .copyright-text p a:focus {
    color: #fff !important;
    opacity: 1 !important;
}

.footer-nav-list a:hover,
.footer-nav-list a:focus {
    color: #44d62c !important;
}

.footer-section .border-white-15 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Integration logos - Uniform sizing */
.integration-logos img {
    max-width: 100%;
    height: auto;
    max-height: 38px;
    object-fit: contain;
}
/* Testimonial section */
.testimonial-section {
    overflow: visible;
}

/* Testimonial slides - Equal heights */
.testimonialSwiper .swiper-wrapper {
    align-items: stretch;
}

.testimonialSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonialSwiper .swiper-slide > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border: 2px solid #dee2e6;
    border-radius: 0.375rem;
    position: relative;
}

@media (min-width: 768px) {
    .testimonialSwiper .swiper-slide > div {
        min-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .testimonialSwiper .swiper-slide > div {
        min-height: 0;
    }
}

/* Testimonial swiper pagination */
.testimonial-swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.testimonial-swiper-pagination .swiper-pagination-bullet {
    background: #74b51b;
    opacity: 0.5;
}

.testimonial-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Contact section minimum height */
#contact.cta-subscribe {
    min-height: 600px;
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

/* Remove rounded corners from CTA section in case study pages */
.cta-section {
    border-radius: 0 !important;
}

/* FAQ accordion styling */
#faqAccordion .accordion-item.rounded-custom {
    overflow: hidden;
    border-radius: 0.75rem !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

#faqAccordion .accordion-button {
    border: 0;
    box-shadow: none;
    border-radius: 0 !important;
}

#faqAccordion .accordion-button:not(.collapsed) {
    background-color: #44d62c !important;
    color: #fff !important;
}

#faqAccordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}
