/********** Template CSS **********/

/*** Smooth Scroll ***/
html {
    scroll-behavior: smooth;
}

/*** Scroll Offset for Fixed Navbar ***/
section[id],
div[id] {
    scroll-margin-top: 80px;
}

/*** Floating CTA Button ***/
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 0;
    background: #0B0B0B;
    color: #FFFFFF;
    padding: 0;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.floating-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #0B0B0B;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.floating-cta-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta:hover {
    background: #FFFFFF;
    color: #0B0B0B;
    padding-right: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.floating-cta:hover .floating-cta-icon {
    background: #0B0B0B;
    color: #FFFFFF;
}

.floating-cta:hover .floating-cta-text {
    max-width: 120px;
    opacity: 1;
    margin-left: 5px;
}

@media (max-width: 576px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-cta-icon {
        width: 55px;
        height: 55px;
        font-size: 1.1rem;
    }
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 100px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Testimonial Item ***/
.testimonial-item {
    padding: 20px;
}

.testimonial-item img {
    border: 3px solid #0B0B0B;
    object-fit: cover;
}

.testimonial-text {
    position: relative;
}

.testimonial-text p {
    font-style: italic;
    color: #4B5563;
}

/*** Utilities ***/
.ls-2 {
    letter-spacing: 2px;
}

/*** Navbar Brand – styled as heading visually but NOT an H1 ***/
.navbar-brand-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    display: inline-block;
    color: var(--bs-dark);
}

footer .navbar-brand-text {
    color: #FFFFFF !important;
}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/* Hero Typography */
.hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #6B7280;
    line-height: 1.6;
    max-width: 520px;
}

.hero-text-col {
    text-align: left;
}

/* Hero Features */
.hero-features {
    margin-top: 2rem;
}

.hero-feature-item {
    padding: 12px 16px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 11, 11, 0.05);
    border-radius: 8px;
    margin-right: 12px;
    font-size: 1rem;
}

.hero-feature-text {
    font-size: 1rem;
    font-weight: 600;
    color: #0B0B0B;
    line-height: 1.3;
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}

/* Hero Image Enhancement */
.header-carousel img {
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    object-fit: cover;
    aspect-ratio: 4/3;
    width: 100%;
    border: 4px solid #FFFFFF;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}

/* About Section Image Enhancement */
.about-images {
    position: relative;
}

.about-images .row {
    min-height: 450px;
}

.about-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-images .col-6:first-child img {
    min-height: 400px;
}

.about-images .col-6:last-child {
    display: flex;
    flex-direction: column;
}

.about-images .col-6:last-child img {
    flex: 1;
    min-height: 300px;
    border-radius: 4px 4px 0 0;
}

.about-images .about-badge {
    background: #0B0B0B;
    padding: 25px 20px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-images .about-badge h4 {
    margin: 0;
    font-weight: 600;
    letter-spacing: 2px;
}

@media (max-width: 991.98px) {
    .about-images .row {
        min-height: 350px;
    }
    
    .about-images .col-6:first-child img {
        min-height: 300px;
    }
    
    .about-images .col-6:last-child img {
        min-height: 220px;
    }
}


/*** Project ***/
.project-item img {
    transition: .5s;
}
  
.project-item:hover img {
    transform: scale(1.2);
}
  
.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
    border: 1px solid #E5E7EB;
}

.service-item.bg-primary {
    border-color: transparent;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
    border-color: #E5E7EB;
}

.service-item.bg-primary p {
    color: rgba(255, 255, 255, 0.85);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary) !important;
    border-color: transparent;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: rgba(255, 255, 255, 0.85);
}

/* Service Image Styling */
.service-item .service-img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.service-item .service-img img {
    transition: .5s;
    border-radius: 4px;
}

.service-item:hover .service-img img {
    transform: scale(1.05);
}

.service-item .service-img h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    margin: 0;
    font-size: 1.25rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #FFFFFF;
    transition: .5s;
}

.service-item.bg-primary .service-img h3,
.service-item.bg-light .service-img h3 {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #FFFFFF;
}

.service-item:hover .service-img h3 {
    padding-bottom: 20px;
}

/* Service CTA Box */
.service-cta {
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-cta .btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-cta h3 {
    margin-bottom: 5px;
    font-weight: 600;
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** FAQ Section ***/
.accordion-item {
    border-radius: 4px !important;
    overflow: hidden;
}

.accordion-button {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #0B0B0B;
    background-color: #FFFFFF;
    padding: 20px 25px;
}

.accordion-button:not(.collapsed) {
    color: #0B0B0B;
    background-color: #FFFFFF;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #E5E7EB;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230B0B0B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230B0B0B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    background-color: #FFFFFF;
    border-top: 1px solid #E5E7EB;
}


/*** Contact Section ***/
.contact-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0B0B0B;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item h6 {
    color: #0B0B0B;
    font-weight: 600;
}

.contact-info-item a:hover {
    color: #0B0B0B !important;
}

.contact-form-wrapper {
    background: #F8F9FA;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.contact-form-wrapper h4 {
    font-weight: 600;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
}

.contact-form-wrapper .form-floating > .form-control,
.contact-form-wrapper .form-floating > .form-select {
    height: calc(3.5rem + 2px);
}

.contact-form-wrapper .form-floating > textarea.form-control {
    height: 150px;
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
    border-color: #0B0B0B;
    box-shadow: 0 0 0 0.2rem rgba(11, 11, 11, 0.1);
}

.contact-form-wrapper .btn-primary {
    border-radius: 8px;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}


/*** Global Responsive Typography ***/
@media (max-width: 991.98px) {
    h1, .h1 {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    h3, .h3 {
        font-size: 1.5rem;
    }
    
    .display-1 {
        font-size: 2.5rem;
    }
    
    /* Hero section responsive */
    .hero-header .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* About section responsive */
    .about-images img {
        min-height: 200px;
    }
    
    .about-images .col-6:first-child img {
        min-height: 250px;
    }
    
    .about-images .col-6:last-child img {
        min-height: 180px;
    }
    
    /* Service section responsive */
    .service-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .service-cta .btn-square {
        margin-bottom: 15px;
    }
    
    .service-cta .px-4 {
        padding: 15px !important;
    }
    
    /* Contact section responsive */
    .contact-info-item {
        flex-wrap: nowrap;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    .display-1 {
        font-size: 2rem;
    }
    
    /* Hero section mobile */
    .hero-header {
        padding-top: 120px;
        padding-bottom: 30px !important;
    }
    
    .hero-text-col {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin: 0 auto 1.5rem auto;
    }
    
    .hero-features {
        margin-top: 1.5rem;
    }
    
    .hero-feature-item {
        padding: 10px 12px;
    }
    
    .hero-feature-icon {
        width: 36px;
        height: 36px;
        margin-right: 10px;
        font-size: 0.875rem;
    }
    
    .hero-feature-text {
        font-size: 0.85rem;
    }
    
    /* Header carousel mobile */
    .header-carousel {
        padding: 20px 40px 20px 0;
    }
    
    .header-carousel::before {
        width: calc(50% + 20px);
    }
    
    .header-carousel .owl-dots {
        right: 15px;
    }

    /* Feature icons */
    .fa-5x {
        font-size: 3rem !important;
    }
    
    /* Footer responsive */
    footer .row > div {
        margin-bottom: 20px;
    }
    
    footer .footer-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    footer .footer-menu a {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
}

@media (max-width: 575.98px) {
    h1, .h1 {
        font-size: 1.5rem;
    }
    
    .display-1 {
        font-size: 1.75rem;
    }
    
    /* Prevent text overflow */
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero section extra small */
    .hero-header {
        margin-top: -80px;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.5;
    }
    
    .hero-feature-item {
        padding: 8px 10px;
        margin-bottom: 8px;
    }
    
    .hero-feature-icon {
        width: 32px;
        height: 32px;
        margin-right: 8px;
        font-size: 0.8rem;
    }
    
    .hero-feature-text {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .hero-text-col .btn-lg {
        padding: 12px 20px !important;
        font-size: 0.95rem;
    }
    
    /* Header carousel extra small */
    .header-carousel {
        padding: 15px 30px 15px 0;
    }
    
    .header-carousel::before {
        width: calc(50% + 15px);
    }
    
    .header-carousel .owl-dots {
        right: 8px;
    }
    
    .header-carousel .owl-dot {
        width: 10px;
        height: 10px;
        margin: 3px 0;
    }
    
    .header-carousel .owl-dot.active {
        height: 20px;
    }

    /* Service items */
    .service-item {
        padding: 20px 15px;
    }
    
    .service-item .service-img h3 {
        font-size: 1rem;
        padding: 10px;
    }
    
    /* Accordion FAQ */
    .accordion-button {
        font-size: 0.95rem;
        padding: 15px;
    }
    
    .accordion-body {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    /* CTA section */
    .bg-dark.py-5 h2 {
        font-size: 1.25rem;
    }
    
    /* Contact form */
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    .contact-info-item .ms-4 {
        margin-left: 0.75rem !important;
    }
    
    .contact-info-item h6 {
        font-size: 0.9rem;
    }
    
    .contact-info-item span,
    .contact-info-item a {
        font-size: 0.85rem;
    }
}


/*** Footer ***/
footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

footer .copyright a {
    color: rgba(255,255,255,.5);
}

footer .copyright a:hover {
    color: var(--bs-white);
}

footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Footer text visibility */
footer,
footer p,
footer a:not(.btn-outline-primary) {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer h1,
footer h5 {
    color: #FFFFFF !important;
}

footer .btn-outline-primary {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

footer .btn-outline-primary:hover {
    background-color: #FFFFFF !important;
    color: #0B0B0B !important;
}


/*** RENOSTRUCT Black & White Theme Overrides ***/

/* Primary button: black bg, white text */
.btn-primary {
    background-color: #0B0B0B !important;
    border-color: #0B0B0B !important;
    color: #FFFFFF !important;
}

/* Primary button hover: inverted to white bg, black text */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #FFFFFF !important;
    border-color: #0B0B0B !important;
    color: #0B0B0B !important;
}

/* Outline primary button */
.btn-outline-primary {
    border-color: #0B0B0B !important;
    color: #0B0B0B !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #0B0B0B !important;
    border-color: #0B0B0B !important;
    color: #FFFFFF !important;
}

/* Dark button styling */
.btn-dark {
    background-color: #0B0B0B !important;
    border-color: #0B0B0B !important;
    color: #FFFFFF !important;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #FFFFFF !important;
}

/* Light button styling */
.btn-light {
    background-color: #FFFFFF !important;
    border-color: #E5E7EB !important;
    color: #0B0B0B !important;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    background-color: #0B0B0B !important;
    border-color: #0B0B0B !important;
    color: #FFFFFF !important;
}

/* Secondary text color */
.text-secondary {
    color: #6B7280 !important;
}

/* Ensure proper border colors */
.border-primary {
    border-color: #0B0B0B !important;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(11, 11, 11, 0.25) !important;
}

/* Background classes */
.bg-primary {
    background-color: #0B0B0B !important;
}

.bg-light {
    background-color: #FFFFFF !important;
}

.bg-dark {
    background-color: #0B0B0B !important;
}

/* Text on primary background */
.bg-primary .text-white,
.bg-dark .text-white {
    color: #FFFFFF !important;
}

/* Links */
a.text-primary {
    color: #0B0B0B !important;
}

a.text-primary:hover {
    color: #333333 !important;
}

/* Enhanced Focus States for Accessibility */
a:focus,
button:focus,
.btn:focus,
.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
[tabindex]:focus {
    outline: 2px solid #0B0B0B !important;
    outline-offset: 2px !important;
}

.floating-cta:focus,
.back-to-top:focus {
    outline: 3px solid #0B0B0B !important;
    outline-offset: 3px !important;
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0B0B0B;
    color: #FFFFFF;
    padding: 8px 16px;
    z-index: 100000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}