html{
    scroll-behavior:smooth
}


:root{
    box-sizing:border-box;
    padding-top:env(safe-area-inset-top,0px)
}


body{
    background:#F5EDE3;
    color:#1F1410;
    font-family:'Bricolage Grotesque',system-ui,sans-serif;
    overflow-x:hidden
}

 .logo-img{ 
        width:170px ;
    }


section[id]{
    scroll-margin-top:90px
}

#hdr{
    transition:transform .5s cubic-bezier(.22,1,.36,1)
}

@media(min-width:768px){
    #hdr.sc{
        transform:translateY(-40px)
    }

}

#hdr.sc #main{
    background:#fff;
    backdrop-filter:blur(14px);
    box-shadow:0 14px 40px -12px rgba(0,0,0,.5)
}
.rv{
    opacity:0;
    transform:translateY(46px);
    transition:opacity .9s ease,transform .9s cubic-bezier(.22,1,.36,1)
}
.rv.in{
    opacity:1;
    transform:none
}
.sl{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .9s,visibility .9s
}
.sl.on{
    opacity:1;
    visibility:visible;
    pointer-events:auto
}
.sl .t{
    opacity:0;
    transform:translateY(34px);
    transition:all .8s cubic-bezier(.22,1,.36,1)
}
.sl.on .t{
    opacity:1;
    transform:none
}
.sl .sl-bg{
    transform:scale(1.08);
    transition:transform 6.5s cubic-bezier(.25,1,.5,1), filter 1s ease;
}
.sl.on .sl-bg{
    transform:scale(1);
}
.sl .im{
    transform:scale(1.05) translateY(10px);
    opacity:0.85;
    transition:transform 1.4s cubic-bezier(.22,1,.36,1), opacity 1s ease;
}
.sl.on .im{
    transform:none;
    opacity:1;
}
@keyframes fl{
    50%{transform:translateY(-12px)}
}
.fl{animation:fl 6s ease-in-out infinite}
@keyframes mq{
    to{transform:translateX(-50%)
    }
}
.mq{animation:mq 28s linear infinite}

@keyframes pg{
    from{width:0}
    to{width:100%}
}

.faq-b{
    display:grid;
    grid-template-rows:0fr;
    transition:grid-template-rows .4s
}

.faq.open .faq-b{
    grid-template-rows:1fr
}

.faq.open .pl{
    transform:rotate(45deg)
}

.pl{
    transition:.3s}

#track{
    transition:transform .8s cubic-bezier(.22,1,.36,1)
}

.card img,.card svg{
    transition:transform .8s cubic-bezier(.22,1,.36,1)
}

.card:hover svg{
    transform:scale(1.08)
}

#drawer{
    transition:transform .5s cubic-bezier(.22,1,.36,1)
}

.out{
    -webkit-text-stroke:1.5px rgba(232,185,138,.35);
    color:transparent
}

/* Service Section Enhancements & Animations */
.svc-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease, opacity 0.4s ease;
    will-change: transform, box-shadow;
}

.svc-card:hover {
    transform: translateY(-8px);
}

.svc-card .svc-img {
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.svc-card:hover .svc-img {
    transform: scale(1.08);
}

.svc-tag {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.svc-card:hover .svc-tag {
    border-color: rgba(232, 185, 138, 0.4);
    background-color: rgba(180, 84, 31, 0.2);
    color: #E8B98A;
}

.svc-filter-btn {
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-filter-btn.active {
    background-color: #B4541F !important;
    color: #ffffff !important;
    border-color: #B4541F !important;
    box-shadow: 0 4px 20px rgba(180, 84, 31, 0.4);
}

/* Gallery Section Enhancements & Animations */
.gal-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
    will-change: transform, box-shadow;
}

.gal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(180, 84, 31, 0.28);
    border-color: rgba(180, 84, 31, 0.6);
}

.gal-card .gal-img {
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.gal-card:hover .gal-img {
    transform: scale(1.08);
}

.gal-card .gal-overlay {
    transition: background 0.4s ease, opacity 0.4s ease;
}

.gal-card:hover .gal-overlay {
    background: linear-gradient(to top, rgba(37, 23, 16, 0.92) 0%, rgba(37, 23, 16, 0.4) 45%, rgba(37, 23, 16, 0.1) 100%);
}

.gal-card .gal-badge {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.gal-card:hover .gal-badge {
    transform: translateY(-2px);
}

.gal-card .gal-icon {
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.gal-card:hover .gal-icon {
    transform: scale(1.15) rotate(45deg);
    background-color: #B4541F;
    color: #ffffff;
}

@keyframes galFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gal-revealing {
    animation: galFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ========================================================
   TESTIMONIALS SECTION ENHANCEMENTS & ANIMATIONS
   ======================================================== */
.test-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
    will-change: transform, box-shadow;
    background: linear-gradient(165deg, rgba(37, 23, 16, 0.95) 0%, rgba(25, 15, 10, 0.98) 100%);
}

.test-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(180, 84, 31, 0.25), 0 0 0 1px rgba(180, 84, 31, 0.4);
    border-color: rgba(180, 84, 31, 0.55) !important;
}

.test-card .quote-icon {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, color 0.3s ease;
}

.test-card:hover .quote-icon {
    transform: scale(1.15) rotate(-6deg);
    background-color: #B4541F;
    color: #ffffff;
}

.test-nav-btn {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.test-nav-btn:hover {
    background-color: #B4541F;
    color: #ffffff;
    border-color: #B4541F;
    transform: scale(1.08);
    box-shadow: 0 8px 24px -4px rgba(180, 84, 31, 0.45);
}

.test-nav-btn:active {
    transform: scale(0.95);
}

/* ========================================================
   FLOATING CIRCLE SOCIAL & CONTACT DOCK
   ======================================================== */
#floating-social {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}

#floating-social.floating-social-hidden {
    transform: translateX(85px);
    opacity: 0;
    pointer-events: none;
}

#floating-social.floating-social-visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.social-circle-btn {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, filter 0.3s ease;
    cursor: pointer;
}

.social-circle-btn:hover {
    transform: scale(1.15) translateY(-2px);
    filter: brightness(1.12);
}

.social-circle-btn:active {
    transform: scale(0.92);
}

.social-popup-text {
    opacity: 0;
    transform: translateX(12px) scale(0.92);
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: right center;
    position: absolute;
    right: 100%;
}

.social-item:hover .social-popup-text,
.social-item:focus-within .social-popup-text {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

@keyframes waPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

.wa-pulse-badge {
    animation: waPulse 2.2s infinite;
}

/* ========================================================
   FOOTER ENHANCEMENTS
   ======================================================== */
.footer-social-btn {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-social-btn:hover {
    transform: translateY(-4px) scale(1.1);
    background-color: #B4541F;
    border-color: #B4541F;
    color: #ffffff;
    box-shadow: 0 8px 20px -4px rgba(180, 84, 31, 0.5);
}

.footer-input-focus:focus {
    outline: none;
    border-color: #B4541F;
    box-shadow: 0 0 0 3px rgba(180, 84, 31, 0.25);
}

@media only screen and (max-width: 768px) {
    .logo-img{
        width: 140px !important;
    }
}

/* ========================================================
   MULTI-PAGE INTERACTION & ENHANCEMENT STYLES
   ======================================================== */
.nav-pill-active {
    background-color: #B4541F !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(180, 84, 31, 0.45);
}

.drawer-link-active {
    color: #B4541F !important;
    font-weight: 700;
}

/* Glassmorphism & Elevation */
.glass-panel {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-panel-light {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 73, 57, 0.12);
}

/* Timeline Components */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 1.25rem;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(to bottom, #B4541F, rgba(180, 84, 31, 0.15));
}
@media (min-width: 768px) {
    .timeline-item:last-child::before {
        display: none;
    }
}

/* Interactive Before / After Slider */
.ba-container {
    position: relative;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
}
.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 20;
}
.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #B4541F;
    color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Animated Shimmer on Cards */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.shimmer-effect {
    position: relative;
    overflow: hidden;
}
.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
}
.shimmer-effect:hover::after {
    animation: shimmer 1.2s infinite;
}

/* Floating Badges */
@keyframes softFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.soft-float {
    animation: softFloat 4s ease-in-out infinite;
}
.soft-float-delayed {
    animation: softFloat 4.5s ease-in-out 1.5s infinite;
}

/* Interactive Filter Pills */
.filter-tab {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.filter-tab.active {
    background-color: #B4541F;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(180, 84, 31, 0.35);
    border-color: #B4541F;
}

/* Custom Checkbox / Radio styling for estimator */
.calc-radio:checked + label {
    border-color: #B4541F;
    background: rgba(180, 84, 31, 0.08);
    color: #8A3B14;
    font-weight: 600;
}

/* Lightbox Modal & Disabled Button States */
#lb {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#lbp:disabled,
#lbn:disabled,
#lbp[disabled],
#lbn[disabled],
#lbp[aria-disabled="true"],
#lbn[aria-disabled="true"] {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: translateY(-50%) scale(0.95) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: none !important;
}
#lb-main-img {
    transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1), transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}



