/********** BRAVE NUTEC & ROOFING UI **********/
:root {
    --primary: #F59A23;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #132C3F;
}

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


/*** 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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.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;
}


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

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

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

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

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

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

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


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .65);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

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

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

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

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
/* BRAVE NUTEC & ROOFING brand adaptation */
:root {
    --primary: #F39A1E;
    --primary-bright: #FEB930;
    --secondary: #66727D;
    --light: #F7F9FA;
    --dark: #132C3F;
    --dark-deep: #0B1E2C;
}

html { scroll-behavior: smooth; }
body { color: #5F6870; background: #fff; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
h1,h2,h3,h4,h5,h6,.navbar .navbar-nav .nav-link { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--dark); }
a { text-decoration: none; }
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.bg-dark { background-color: var(--dark-deep) !important; }
.btn-primary { background-color: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
.btn-primary:hover,.btn-primary:focus { background-color: #D98012 !important; border-color: #D98012 !important; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.topbar { min-height: 42px; }
.topbar a { color: #53616C; }
.topbar a:hover { color: var(--primary); }

.brave-brand-logo { width: 245px; max-height: 72px; object-fit: contain; object-position: left center; }
.navbar { min-height: 88px; box-shadow: 0 1px 0 rgba(19,44,63,.08); }
.navbar .navbar-nav .nav-link { color: #51606C; font-weight: 600; letter-spacing: .01em; }
.navbar .navbar-nav .nav-link:hover,.navbar .navbar-nav .nav-link.active { color: var(--primary); }
.navbar-toggler { border-color: rgba(19,44,63,.18); padding: .5rem .65rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(243,154,30,.15); }

.carousel-item img { max-height: 760px; object-fit: cover; }
.carousel-caption { background: linear-gradient(90deg, rgba(6,23,34,.86) 0%, rgba(6,23,34,.62) 52%, rgba(6,23,34,.3) 100%); }
.carousel-caption h1 { max-width: 960px; line-height: 1.08; }
.carousel-caption h5 { color: var(--primary-bright) !important; letter-spacing: .08em; }
.carousel-caption .btn { box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.carousel-caption .breadcrumb { flex-wrap: wrap; }

.page-header { min-height: 310px; display: flex; align-items: center; background-position: center 48%; }
.page-header h1 { text-shadow: 0 4px 16px rgba(0,0,0,.25); }

.facts-overlay { background: linear-gradient(180deg, rgba(7,24,36,.4), rgba(7,24,36,.84)); }
.facts-overlay p { max-width: 300px; }

.service-item { border-radius: 4px; box-shadow: 0 10px 35px rgba(19,44,63,.07); }
.service-item img { width: 100%; height: 245px; object-fit: cover; }
.service-item:hover { box-shadow: 0 18px 50px rgba(19,44,63,.13); }
.service-text p { color: #6B747D; }

.appointment { background-image: linear-gradient(rgba(7,24,36,.80), rgba(7,24,36,.80)), url(../img/carousel-2.jpg); }
.appointment .form-control,.appointment .form-select { min-height: 56px; border: 1px solid rgba(255,255,255,.18); background: #fff; }
.appointment textarea.form-control { min-height: 120px; }

.team-item { overflow: hidden; background: #f6f7f8; min-height: 410px; }
.team-item > img { width: 100%; height: 410px; object-fit: cover; }
.team-text { width: 82%; box-shadow: 0 10px 25px rgba(19,44,63,.10); }
.team-item:hover .team-text { width: 100%; }
.store-meta { font-size: .9rem; color: #68737D; }
.store-price { color: var(--primary); font-weight: 700; }
.store-badge { display: inline-flex; padding: .25rem .55rem; background: rgba(243,154,30,.12); color: #B96C07; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }

.testimonial-item img { object-fit: cover; border-radius: 50%; }
.testimonial-item .fs-5 { color: #4F5D68; }

.footer-logo-box { display: inline-flex; background: transparent; padding: 0; border-radius: 0; }
.footer-brand-logo { width: 225px; max-width: 100%; height: auto; }
.footer { color: #B3BDC5; }
.footer h4 { color: #fff !important; }
.footer p { color: #AAB5BE; }
.footer-contact-link { color: #AAB5BE; }
.footer-contact-link:hover { color: #fff; }
.footer-email-row { display: flex; align-items: flex-start; }
.footer-email-link { overflow-wrap: anywhere; word-break: normal; }
.footer .btn.btn-link { color: #AAB5BE; }
.footer .btn.btn-link:hover { color: #fff; }
.footer .copyright { color: #AAB5BE; }

.brave-contact-card { height: 100%; padding: 30px; background: var(--light); border-left: 4px solid var(--primary); }
.brave-contact-card i { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.brave-map { width: 100%; min-height: 420px; border: 0; }

.calc-panel { background: #fff; border: 1px solid #E7EBEE; box-shadow: 0 14px 45px rgba(19,44,63,.08); padding: 32px; }
.calc-result { background: var(--dark); color: #fff; padding: 26px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.calc-result .price { color: var(--primary-bright); font-family: inherit; font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; }
.calc-result .area { color: #D4DEE5; }
.calc-panel label { font-weight: 500; color: #374551; margin-bottom: .45rem; }
.calc-panel .form-control,.calc-panel .form-select { min-height: 54px; }

.product-detail-card { border: 1px solid #E8ECEF; background: #fff; height: 100%; box-shadow: 0 10px 32px rgba(19,44,63,.06); }
.product-detail-card img { width: 100%; height: 280px; object-fit: cover; }
.product-detail-card .body { padding: 24px; }
.product-specs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.product-specs span { background: #F2F5F6; padding: .4rem .65rem; font-size: .85rem; color: #4E5B65; }

.project-card { position: relative; overflow: hidden; min-height: 360px; background: #EDEFF1; }
.project-card img { width: 100%; height: 360px; object-fit: cover; transition: .5s; }
.project-card:hover img { transform: scale(1.04); }
.project-card .overlay { position: absolute; inset: auto 0 0 0; padding: 24px; color: #fff; background: linear-gradient(transparent, rgba(5,20,30,.92)); }
.project-card .overlay h5 { color: #fff; }

.blog-card { height: 100%; background: var(--light); padding: 30px; border-top: 4px solid var(--primary); }
.blog-card i { color: var(--primary); font-size: 2rem; }

@media (max-width: 991.98px) {
    .brave-brand-logo { width: 205px; max-height: 62px; }
    .navbar { min-height: 76px; }
    .navbar .navbar-nav { margin-top: 12px; padding-bottom: 15px; }
    .navbar .navbar-nav .nav-link { padding: 11px 0; }
    .navbar .dropdown-menu { border: 0; padding-left: 12px; }
    .carousel-caption { background: rgba(7,24,36,.72); }
    .carousel-caption .display-2 { font-size: clamp(2.1rem, 7vw, 4rem); }
    .facts-overlay h1 { font-size: 85px; }
    .team-item,.team-item > img { min-height: 360px; height: 360px; }
}

@media (max-width: 767.98px) {
    .navbar { padding-left: 1rem !important; padding-right: 1rem !important; }
    .brave-brand-logo { width: 180px; }
    #header-carousel .carousel-item { min-height: 520px; }
    .carousel-caption { padding-top: 15px; padding-bottom: 15px; }
    .carousel-caption h1 { font-size: 2.35rem; }
    .carousel-caption .breadcrumb-item { font-size: 1rem !important; }
    .carousel-control-prev,.carousel-control-next { width: 12%; }
    .carousel-control-prev-icon,.carousel-control-next-icon { width: 2.4rem; height: 2.4rem; border-width: 9px; }
    .facts-overlay { padding: 24px; }
    .facts-overlay h1 { font-size: 72px; }
    .service-item img { height: 230px; }
    .page-header { min-height: 245px; }
    .page-header h1 { font-size: 2.35rem; }
    .calc-panel { padding: 22px; }
    .footer-logo-box { display: flex; width: fit-content; }
}

@media (max-width: 575.98px) {
    .brave-brand-logo { width: 160px; }
    .navbar-toggler { padding: .4rem .5rem; }
    .carousel-caption h5 { font-size: .78rem; }
    .carousel-caption h1 { font-size: 2rem; }
    .carousel-caption .btn { padding: .8rem 1.2rem !important; }
    .position-relative.overflow-hidden.ps-5.pt-5 { padding-left: 1.25rem !important; padding-top: 1.25rem !important; }
    .position-relative.overflow-hidden.ps-5.pt-5 > .position-absolute.top-0.start-0 { width: 145px !important; height: 145px !important; }
    .team-text { bottom: 18px; }
    .footer-brand-logo { width: 190px; }
    .back-to-top { right: 18px; bottom: 18px; }
}


/* BRAVE identity refinements — project-specific finish */
:root {
    --brave-navy: #132C3F;
    --brave-navy-deep: #0B1F2D;
    --brave-orange: #F59A23;
    --brave-gold: #FEB930;
    --brave-soft: #F5F7F8;
}

body { letter-spacing: .003em; }
.navbar { border-bottom: 1px solid rgba(19,44,63,.08); }
.navbar .navbar-nav .nav-link { position: relative; letter-spacing: .035em; }
@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: 18px;
        height: 2px;
        background: var(--brave-orange);
        transition: right .25s ease;
    }
    .navbar .navbar-nav .nav-link:hover::after,
    .navbar .navbar-nav .nav-link.active::after { right: 0; }
    .navbar .dropdown-toggle::after { position: static; height: auto; background: none; }
}

.btn-primary {
    background: linear-gradient(135deg, var(--brave-orange), #E78111);
    border-color: var(--brave-orange);
    box-shadow: 0 7px 18px rgba(245,154,35,.18);
}
.btn-primary:hover { background: var(--brave-navy); border-color: var(--brave-navy); }
.service-item, .product-detail-card, .blog-card, .brave-contact-card {
    border-radius: 10px;
    overflow: hidden;
}
.service-item { transition: transform .25s ease, box-shadow .25s ease; }
.service-item:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(19,44,63,.10); }
.page-header { position: relative; }
.page-header::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 84px;
    height: 4px;
    transform: translateX(-50%);
    background: linear-gradient(90deg,var(--brave-orange),var(--brave-gold));
}
.footer { border-top: 4px solid var(--brave-orange); }
.brave-footer-signature { color: #DCE4E9; font-weight: 600; letter-spacing: .015em; }
.footer .copyright a { color: var(--brave-gold); }
.brave-location-panel {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(2rem,5vw,4rem);
    color: #fff;
    background:
      radial-gradient(circle at 85% 15%, rgba(254,185,48,.18), transparent 30%),
      linear-gradient(145deg, var(--brave-navy), var(--brave-navy-deep));
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.brave-location-panel::after {
    content: "B";
    position: absolute;
    right: -18px;
    bottom: -88px;
    font-size: 18rem;
    line-height: 1;
    font-weight: 900;
    color: rgba(255,255,255,.035);
}
.brave-location-panel > * { position: relative; z-index: 1; }
.brave-location-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    color: var(--brave-navy);
    background: var(--brave-gold);
    font-size: 1.4rem;
}
.brave-location-panel h3 { color: #fff; margin-bottom: .75rem; }
.brave-location-panel p { color: #D8E1E7; max-width: 480px; }
.brave-location-meta { display: grid; gap: .75rem; margin-top: 1rem; }
.brave-location-meta span { display: flex; align-items: flex-start; gap: .75rem; color: #EDF3F6; }
.brave-location-meta i { color: var(--brave-gold); margin-top: .2rem; }

@media (max-width: 767.98px) {
    .brave-location-panel { min-height: 320px; padding: 2rem 1.4rem; }
    .brave-footer-signature { display: inline-block; margin-top: .15rem; }
}

/* Floating WhatsApp — BRAVE customer contact */
.brave-whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 54px;
    padding: 0 1.05rem 0 .82rem;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 999px;
    color: #fff !important;
    background: #25D366;
    box-shadow: 0 12px 30px rgba(6, 45, 28, .24);
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.brave-whatsapp-float i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    font-size: 1.65rem;
    line-height: 1;
}
.brave-whatsapp-float:hover,
.brave-whatsapp-float:focus {
    color: #fff !important;
    background: #1FB85A;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(6, 45, 28, .30);
}
@media (max-width: 575.98px) {
    .brave-whatsapp-float {
        left: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        min-height: 54px;
        padding: 0;
        justify-content: center;
    }
    .brave-whatsapp-float span { display: none; }
    .brave-whatsapp-float i { width: auto; height: auto; font-size: 1.8rem; }
    .back-to-top { right: 16px; bottom: 16px; }
}
