html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Debug styles - temporary to identify overflow */
* {
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

/* Navbar constraint - matches hero-row-constraint responsive breakpoints */
.navbar-constraint {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    display: flex;
    align-items: center;
}

@media (min-width: 1400px) {
    .navbar-constraint {
        max-width: 1320px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-constraint {
        max-width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-constraint {
        max-width: 960px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-constraint {
        max-width: 720px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar-constraint {
        max-width: 540px;
    }
}

/* Instagram highlights constraint - matches hero-row-constraint responsive breakpoints */
.instagram-constraint {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

@media (min-width: 1400px) {
    .instagram-constraint {
        max-width: 1320px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .instagram-constraint {
        max-width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .instagram-constraint {
        max-width: 960px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .instagram-constraint {
        max-width: 720px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .instagram-constraint {
        max-width: 540px;
    }
}

/* Footer constraint - matches hero-row-constraint responsive breakpoints */
.footer-constraint {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1400px) {
    .footer-constraint {
        max-width: 1320px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .footer-constraint {
        max-width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .footer-constraint {
        max-width: 960px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-constraint {
        max-width: 720px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .footer-constraint {
        max-width: 540px;
    }
}

/* Contact info constraint - matches responsive breakpoints */
.contact-info-constraint {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* contact row fix for desktop */
.contact-row {
    width: 100%;
}

/* Contact Form constraint - matches hero-row-constraint responsive breakpoints */
.contact-form-constraint {
    display: flex;
    flex-direction: column;
    max-width: 1320px;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .contact-form-constraint {
        max-width: 540px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .contact-form-constraint {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .contact-form-constraint {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .contact-form-constraint {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .contact-form-constraint {
        max-width: 1320px;
    }
}

/* Responsive adjustments for contact form */
@media (max-width: 768px) {
    .contact-form-constraint {
        padding-left: 20px;
        padding-right: 20px;
    }
}


@media (min-width: 1400px) {
    .contact-info-constraint {
        max-width: 1320px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .contact-info-constraint {
        max-width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .contact-info-constraint {
        max-width: 960px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .contact-info-constraint {
        max-width: 720px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .contact-info-constraint {
        max-width: 540px;
    }
}

/* Services constraint - matches responsive breakpoints */
.services-constraint {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

@media (min-width: 1400px) {
    .services-constraint {
        max-width: 1320px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .services-constraint {
        max-width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .services-constraint {
        max-width: 960px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .services-constraint {
        max-width: 720px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .services-constraint {
        max-width: 540px;
    }
}

/* About constraint - matches responsive breakpoints */
.about-constraint {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

@media (min-width: 1400px) {
    .about-constraint {
        max-width: 1320px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .about-constraint {
        max-width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .about-constraint {
        max-width: 960px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .about-constraint {
        max-width: 720px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .about-constraint {
        max-width: 540px;
    }
}

/* Check for elements extending beyond viewport */
body > * {
    max-width: 100vw;
}

section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Force all containers to stay within bounds */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 100%;
    overflow-x: hidden;
}

.navbar-brand {
    color: #B11C2E !important;
    letter-spacing: 1px;
}

footer {
    font-size: 0.95rem;
}

.card-title {
    color: #B11C2E;
}

.btn-primary {
    background-color: transparent;
    border: none;
}

.btn-primary:hover, .btn-outline-primary:hover {
    background-color: #B11C2E;
    border-color: #B11C2E;
}

.logo-img {
    height: 75px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

@media (max-width: 576px) {
    .logo-img {
        height: 52px;
        max-width: 120px;
    }
}




/* Transparent navbar (default) */
.navbar {
    transition: background-color 0.3s, box-shadow 0.3s;
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom-left-radius: 23px;
    border-bottom-right-radius: 23px;
}

/* Solid navbar when scrolled */
.navbar.scrolled {
    background-color: rgba(255,255,255,0.8) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 2px solid #b11c2e;
    border-top: none;
    border-bottom-left-radius: 23px;
    border-bottom-right-radius: 23px;
}

/* Nav link color default */
.navbar .nav-link {
    color: #212529 !important;
    transition: color 0.3s;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
}

.navbar .nav-link.active {
    color: #B11C2E !important;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: #B11C2E;
    border-radius: 2px;
}

/* Nav link color when scrolled */
.navbar.scrolled .nav-link {
    color: #B11C2E !important;
}

/* Custom Hamburger */
.custom-hamburger {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1202;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}
.custom-hamburger .bar {
    display: block;
    width: 35px;
    height: 4px;
    margin: 3px 0;
    background: #212529;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(.68,-0.55,.27,1.55);
}
.custom-hamburger.active .bar.top {
    transform: translateY(12px) rotate(45deg);
    background: #B11C2E;
}
.custom-hamburger.active .bar.middle {
    opacity: 0;
    transform: scaleX(0.5);
}
.custom-hamburger.active .bar.bottom {
    transform: translateY(-8px) rotate(-45deg);
    background: #B11C2E;
}

/* Hide default toggler */
.navbar-toggler {
    display: none !important;
}

.navbar-nav {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--bs-navbar-color);
    --bs-nav-link-hover-color: var(--bs-navbar-hover-color);
    --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    justify-content: flex-end;
}

/* Mobile Slide Menu */
.mobile-slide-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 400px;
    height: 100vh;
    background: url('../img/nav-img.gif') center center/contain repeat, rgba(255,255,255,0.98);
    box-shadow: -2px 0 16px rgba(0,0,0,0.07);
    z-index: 1201;
    transition: right 0.45s cubic-bezier(.68,-0.55,.27,1.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 32px;
    position: fixed;
    overflow: hidden;
}
.mobile-slide-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 22%);
    z-index: 0;
    pointer-events: none;
}
.mobile-slide-menu > * {
    position: relative;
    z-index: 1;
}
.mobile-slide-menu.open {
    right: 0;
}
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-list li {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s, transform 0.4s;
}
.mobile-nav-list li.show {
    opacity: 1;
    transform: translateY(0);
}
.mobile-nav-link {
    display: block;
    font-size: 1.9rem;
    color: #B11C2E;
    text-decoration: none;
    margin: 18px 0;
    font-weight: 690;
    text-transform: uppercase;
    transition: color 0.2s;
}
.mobile-nav-link:hover {
    color: #B11C2E;
}

/* Backdrop for mobile menu */
.mobile-menu-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.18);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-menu-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* Hide mobile menu on desktop */
@media (min-width: 992px) {
    .custom-hamburger,
    .mobile-slide-menu,
    .mobile-menu-backdrop {
        display: none !important;
    }
    .navbar .collapse {
        display: block !important;
    }
}

.hero-section {
    min-height: 100vh;
    width: 100%;
    background: url('../img/hero_bg.jpg') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(255 255 255 / 84%) 0%, #f8f9fa 100%);
    z-index: 1;
    pointer-events: none;
}
.hero-content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 120px;
    padding-bottom: 60px;
}
.hero-flex {
    min-height: 320px;
    position: relative;
    margin-bottom: 10%;
}
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-pre-top-line {
    font-size: 3.2rem;
    font-weight: 700;
    color: #B11C2E;
    text-transform: uppercase;
    margin-bottom: -2.5rem;
}
.hero-top-line {
    font-size: 5.5rem;
    font-weight: 700;
    color: #414141;
    margin-bottom: -1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.hero-bottom-line {
    display: flex;
    align-items: flex-end;
}
.hero-designs {
    font-size: 8rem;
    font-weight: 700;
    color: #414141;
    letter-spacing: 0.0em;
    line-height: 1;
    margin-right: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: relative;
    left: 27.5rem;
    text-transform: uppercase;
}
.hero-right-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 5rem;
    min-width: 5rem;
    margin-left: 28rem !important;
    /* margin-bottom: 10px; */
}
.hero-right-design, .hero-right-signs {
    font-size: 2.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #212529;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.hero-right-design {
    margin-bottom: 0rem;
}
.hero-right-signs {
    color: #B11C2E;
}

.half-gradient-text {
    background: linear-gradient(to bottom, #B11C2E 0 38%, #414141 38% 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.nav-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    background: #000000;
    margin: 0 16px;
    vertical-align: middle;
    align-self: center;
    opacity: 0.7;
}

@media (max-width: 991.98px) {
    .nav-separator {
        display: none !important;
    }
}


.hero-divider {
    width: 100%;
    height: 4px;
    background-color: #343a40;
    border-radius: 2px;
    opacity: 0.85;
}

.hero-subrow {
    margin-top: 1.5rem;
}

.hero-subtext {
    text-align: left;
}

.hero-subtext .lead {
    line-height: 1.6;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-subtext-line {
    font-size: 1.35rem;
    color: #212529;
    font-weight: 500;
    line-height: 1.2;
}

.hero-cta-btn {
    min-width: 180px;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75rem 2.2rem 0.75rem 1.2rem;
    border-radius: 10px;
    color: black;
    border: 2px solid black;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    background: transparent;
    transition: color 0.25s;
}

.hero-cta-btn::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: #B11C2E;
    z-index: 0;
    transition: width 0.5s cubic-bezier(.77,0,.18,1);
    border-radius: 10px;
}

.hero-cta-btn:hover,
.hero-cta-btn:focus {
    color: #fff;
    border-color: #B11C2E !important;
    background-color:#B11C2E !important;
}

.hero-cta-btn:hover::before,
.hero-cta-btn:focus::before {
    width: 100%;
}

.hero-cta-btn > * {
    position: relative;
    z-index: 1;
    transition: color 0.25s;
}

.hero-cta-btn:hover .hero-cta-icon svg rect,
.hero-cta-btn:focus .hero-cta-icon svg rect {
    fill: #fff;
}
.hero-cta-btn:hover .hero-cta-icon svg path,
.hero-cta-btn:focus .hero-cta-icon svg path {
    stroke: #B11C2E;
}

@media (max-width: 768px) {
    .hero-divider {
        height: 3px;
    }
    .hero-subtext-line {
        font-size: 1rem;
    }
    .hero-cta-btn {
        width: 100%;
        min-width: unset;
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
    .hero-subrow {
        margin-top: 1rem;
    }
    .logo-loader-gif {
        width: 70%;
        height: 70%;
    }
}

.logo-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.9s cubic-bezier(.77,0,.18,1), opacity 0.5s;
    will-change: transform, opacity;
}
.logo-loader-gif {
    width: 460px;
    height: 460px;
    object-fit: contain;
    display: block;
}
.logo-loader.lift-up {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* HERO ANIMATION INITIAL STATES */
.hero-anim-slide-down {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}
.hero-anim-slide-down-active {
    opacity: 1;
    transform: translateY(0);
}

.hero-anim-letters .hero-anim-letter {
    opacity: 0;
    transform: translateY(30px);
    display: inline-block;
    transition: opacity 0.4s cubic-bezier(.77,0,.18,1), transform 0.4s cubic-bezier(.77,0,.18,1);
}
.hero-anim-letters .hero-anim-letter.hero-anim-letter-active {
    opacity: 1;
    transform: translateY(0);
}

.hero-anim-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}
.hero-anim-slide-right-active {
    opacity: 1;
    transform: translateX(0);
}

/* Horizontal bar reveal animation */
.hero-divider-anim {
    position: relative;
    overflow: hidden;
    background: transparent !important; /* Ensure background is transparent */
}
.hero-divider-anim::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: #343a40;
    border-radius: 2px;
    opacity: 0.85;
    z-index: 2;
    transition: width 0.7s cubic-bezier(.77,0,.18,1);
}
.hero-divider-anim-active::before {
    width: 100%;
}
.hero-divider-anim-active {
    background: transparent !important;
}

/* Slide up animation for hero subrow */
.hero-subrow-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}
.hero-subrow-anim.hero-subrow-anim-active {
    opacity: 1;
    transform: translateY(0);
}

/* Services cards animation */
.service-card-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}
.service-card-anim-active {
    opacity: 1;
    transform: translateY(0);
}

.service-card-icon {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 2px 8px rgba(177,28,46,0.08));
    filter: brightness(0) saturate(100%) invert(14%) sepia(97%) saturate(2966%) hue-rotate(-9deg) brightness(0.95) contrast(1.1);
}


.service-card-anim .card-body {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 12% var(--bs-card-spacer-x);
    border-radius: 5px;
}
@media (max-width: 991.98px) {
    .service-card-anim .card-body {
        min-height: 280px;
    }
}


/* Testimonial Gradient Section */
.testimonial-gradient-section {
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
    background: linear-gradient(to bottom, #f8f9fa 1%, #ffffff 24%, #ffffff 80%, #f8f9fa 99%);
    overflow: hidden;
}

.testimonial-center {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    z-index: 1;
}
.testimonial-quote {
    color: #154a80;
    background: none;
    font-size: 1.6rem;
    font-weight: 600;
    max-width: 743px;
    text-align: center;
    line-height: 0.9;
    margin: 0 auto;
    padding: 2.5rem 2rem 2rem 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(.77,0,.18,1), transform 1.2s cubic-bezier(.77,0,.18,1);
    letter-spacing: 0.01em;
}

/* Remove pulsing animation from active state */
.testimonial-quote-anim-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    /* animation: testimonial-glow-pulse 2.2s ease-in-out infinite; */ /* Remove animation */
}

.testimonial-quote-mark {
    font-size: 3.5rem;
    color: #132a4d;
    vertical-align: middle;
    font-family: serif;
    font-weight: bold;
    margin: 0 0.2em;
    opacity: 0.7;
}

.testimonial-quote-mark-left {
    left: 5px;
    position: absolute;
    top: 30px;
}

.testimonial-quote-mark-right {
    margin-top: 5px;
    
    position: absolute
}

.testimonial-cite {
    display: block;
    color: #363636;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 1.5rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .testimonial-quote {
        font-size: 1.2rem;
        padding: 1.5rem 0.7rem 1.2rem 0.7rem;
    }
    .testimonial-quote-mark {
        font-size: 2.2rem;
    }
    .testimonial-center {
        min-height: 28vh;
    }
    .testimonial-gradient-section {
        min-height: 85vh;
    }
}

.first-card {
    background: #B11C2E !important;
    color: #fff !important;
}
.first-card .card-title,
.first-card .card-text {
    color: #fff !important;
}
.first-card .service-card-icon {
    filter: drop-shadow(0 2px 8px rgba(255,255,255,0.18));
}

.service-card-btn {
    border: 2px solid #B11C2E;
    border-radius: 5px;
    background: transparent;
    color: #B11C2E;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.first-card .service-card-btn {
    border: 2px solid #ffffff;
    border-radius: 5px;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 15px;
}
.service-card-btn:hover,
.service-card-btn:focus {
    background: #B11C2E;
    color: #fff;
    border-color: #B11C2E;
    text-decoration: none;
}
.service-card-btn-white {
    background: #fff;
    color: #B11C2E;
    border: 2px solid #fff;
}
.service-card-btn-white:hover,
.service-card-btn-white:focus {
    background: #B11C2E;
    color: #fff;
    border-color: #B11C2E;
    text-decoration: none;
}

/* Footer Styles */
.footer-main {
    background: #18191a;
    color: #fff;
    font-size: 1rem;
}
.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
    color: #fff;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-list li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-size: 0.98rem;
}
.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}
.footer-link:hover,
.footer-link:focus {
    color: #B11C2E;
    text-decoration: underline;
}
.footer-bottom-bar {
    font-size: 0.97rem;
    color: #bbb;
    margin-top: 1.5rem;
}
.footer-bws-link {
    color: #B11C2E;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bws-link:hover,
.footer-bws-link:focus {
    color: #fff;
    text-decoration: underline;
}


/* word flip animation */


    @import url(https://fonts.googleapis.com/css?family=Open+Sans:600);


    .text {
    position: absolute;
    left: 5%;
    top:40vh;
    margin-top: -25%;
    width: 90%;
    text-transform: uppercase;
}

    .text h3 {
        color: white;
        font-size: 2.3rem;
        margin-left: 1%;
        /* adjust height of the font */
        line-height: 1.5;
        letter-spacing: -1px;
    }

    .text p {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    font-size: 8rem;
    color: white;
    font-weight: 900;
    text-shadow: 0px 1px, 1px 0px, 1px 1px;
    letter-spacing: -3px;
    text-transform: uppercase;

    }

    .word {
    position: absolute;
    opacity: 0;
    }

    .letter {
    display: inline-block;
    position: relative;
    float: left;
    transform: translateZ(25px);
    transform-origin: 50% 50% 25px;
    }

    .letter.out {
    transform: rotateX(90deg);
    transition: transform 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    .letter.behind {
    transform: rotateX(-90deg);
    }

    .letter.in {
    transform: rotateX(0deg);
    transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .wisteria {
    color: #f2f590;
    }

    .belize {
    color: #6adffb;
    }

    .pomegranate {
    color: #f69090;
    }

    .green {
    color: #b297f1;
    }

    .midnight {
    color: #9dffa7;
    }

    .orange {
    color: #ff9f43;
    }

    .purple {
    color: #a55eea;
    }

    .teal {
    color: #26de81;
    }

    .flip-words {
        font-size: 3rem;
        position: static;
        margin-bottom: 7.8% !important;
        margin-top: -20px;
        font-weight: 700;
        text-transform: none;
        color: inherit;
        font-family: inherit;
    }
    /* word flip animation end */

    /* contact form */
    .contact-info-item {
        border: 2px solid #B11C2E;
    }
    .contact-info-item a {
        color:#363636;
    }


    /* about page about content */
    .about-content {
        margin-top: 10%;
    }





@media (max-width: 767.98px) {

    .btn-hero-cta {
        display: flex;
        justify-content: center;
    }
    .testimonial-quote-mark-left {
        top: 7px;
    }
    .testimonial-quote-mark-right {
        margin-top: 18px;
        right: 5px;
    }

    .footer-main {
        text-align: center;
    }
    .footer-heading {
        margin-top: 2rem;
    }
    .footer-bottom-bar {
        margin-top: 2rem;
    }

    /* contact form */
    .contact-info-text {
        margin: 0 auto 1rem auto;
    }

    /* logo animation on mobile */
    .logo-loader-gif {
        width: 360px;
        height: 360px;
        object-fit: contain;
        display: block;
    }


    /* testimonial wrapper for the better mobile diplay */

    .testimonial-wrapper {
        flex-direction: column;
    }

    /* Mobile hero builds container - stack vertically */
    .hero-builds-container {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    /* Mobile flip-words styling */
    .flip-words {
        font-size: 2rem !important;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        width: 100%;
    }

    /* Ensure proper spacing for "For your business" on mobile */
    .hero-builds-container + br + .hero-h1 {
        margin-top: 1rem !important;
    }

    /* Mobile hero-subtext improvements */
    .hero-subtext .lead {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        max-width: 75%
    }



    /* hero words */
    .hero-flex {
        min-height: 50vh;
        position: relative;
        margin-bottom: 10%;
        display: flex !important;
        justify-content: center;
    }
    .hero-pre-top-line {
        font-size: 2.5rem;
        font-weight: 700;
        color: #B11C2E;
        text-transform: uppercase;
        margin-bottom: 0rem;
        top: 11px;
        /* position: relative; */
    }
    .hero-top-line {
        font-size: 1.8rem !important;
        font-weight: 700;
        color: #414141;
        margin-bottom: 0rem;
        line-height: 1rem;
        letter-spacing: -0.03em;
        text-shadow: 0 2px 8px rgba(0,0,0,0.07);
    }

    .hero-right-stack {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 0rem !important;
        margin-bottom: 4px;
    }

    .hero-designs {
        left: 0rem;
    }

        .hero-section {
        min-height: 40vh;
    }
    .hero-top-line {
        font-size: 1.3rem;
    }
.hero-designs {
    font-size: 3.3rem;
}
    .hero-right-stack {
        height: 2.2rem;
        min-width: 3.2rem;
    }
    .hero-right-design, .hero-right-signs {
        font-size: 1.1rem;
    }
    .hero-content-container {
        padding-top: 150px;
        padding-bottom: 32px;
        height: 100vh;
    }
    .hero-bottom-line {
    display: flex;
    align-items: flex-end;
    margin-top: 10px;
    width: 100%;
    text-align: right;
    right: 0;
}

.mobile-hero-anim-space {
    width: 0.3em !important;
}

.hero-logo-word {
    height: 2rem !important;
}

/* Card Carousel Styles */
#carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding: 2rem 0;
}

.cards {
    width: 100%;
    max-width: 100%;
    display: flex;
    overflow: hidden;
}

.card {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    position: relative;
    box-sizing: border-box;
}

/* Hide all radio inputs */
input[name="slider"] {
    display: none;
}

/* Navigation and info styles */
.carousel-navigation,
.carousel-info {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin: 1rem 0;
}

.nav-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-dot:hover,
input[name="slider"]:checked + * ~ .carousel-navigation label[for] {
    background: #fff;
}

/* Mobile carousel adjustments - show partial previous/next cards */
@media (max-width: 768px) {
    .carousel-container {
        padding: 2rem 0;
        overflow: visible;
    }
    
    .cards {
        overflow: visible;
        padding: 0 10%;
        transform: translateX(-10px);
    }
    
    .card {
        width: 80%;
        max-width: 80%;
        flex: 0 0 80%;
        margin: 0 10%;
        border-radius: 15px;
        transition: all 0.3s ease;
    }
}
}

/* Contact Card Styling */
.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-card .card-body {
    padding: 3rem;
}

/* Form Control Styling for Contact Card */
.contact-card .form-control,
.contact-card .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.15);
    background-color: white;
}

.contact-card .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

/* File Upload Area Styling */
.contact-card .file-upload-area {
    border-color: #dee2e6 !important;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-card .file-upload-area:hover {
    border-color: #ffc107 !important;
    background-color: #fff5cc;
}



/* Button Styling for Contact Form */
.contact-card .btn-primary {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.contact-card .btn-primary:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ff8f00 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

.contact-card .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

/* Responsive adjustments for contact card */
@media (max-width: 768px) {
    .contact-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .contact-card .form-control,
    .contact-card .form-select {
        padding: 12px 16px;
        font-size: 14px;
    }
}
