:root {
    --ink: #0a0a09;
    --panel: #141310;
    --surface: #1b1a16;
    --line: #2b2924;
    --bone: #f2efe8;
    --fade: #a39c8f;
    --brass: #b8935a;
   
    --header-height: 76px;
}

/* ---------- Prevent Horizontal Overflow (Mobile Fix) ---------- */
html, body {
    scroll-behavior: smooth;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

body {
    background: var(--ink);
    color: var(--bone);
    font-family: 'Manrope', sans-serif;
    /* হেডার Fixed থাকার কারণে Content যাতে হেডারের নিচে ঢাকা না পড়ে */
    padding-top: calc(var(--top-bar-height) + var(--header-height)) !important;
}

/* ---------- Top Announcement Bar (Sticky/Fixed Flow) ---------- */
.announcement-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--top-bar-height);
    z-index: 50;
    overflow: hidden;
}

/* ---------- Fixed Header Navigation ---------- */
header {
    position: fixed !important;
    top: 0 !important; /* স্ক্রল করলেও এটি স্ক্রিনের একদম উপরে ফিক্সড থাকবে */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: var(--header-height);
    z-index: 45 !important;
    transition: box-shadow .5s ease, background-color .5s ease, border-color .5s ease;
}

/* Anchor Scroll Offset Adjust for Fixed Header */
section[id],
#home {
    scroll-margin-top: calc(var(--header-height) + 10px);
}

/* ---------- Typography & Global Scrollbar ---------- */
h1, h2, h3, h4, .font-display {
    font-family: 'Fraunces', serif;
}

::selection {
    background: var(--brass);
    color: #0a0a09;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ink);
}

::-webkit-scrollbar-thumb {
    background: var(--line);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 1.5px solid var(--brass);
    outline-offset: 3px;
}

/* ---------- Intro Overlay ---------- */
#intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #0a0a09;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 1.1s cubic-bezier(.65, 0, .35, 1), visibility 1.1s;
}

.no-intro #intro {
    display: none;
}

#intro.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.no-intro body {
    overflow-y: auto;
}

body.lock {
    overflow-y: hidden;
}

.intro-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    max-width: 80vw;
    max-height: 80vw;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(184, 147, 90, .14), transparent 70%);
    animation: glowPulse 3.2s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% { opacity: .55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.intro-ring {
    z-index: 1;
    opacity: 0;
    animation: ringWrapIn .8s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes ringWrapIn {
    from { opacity: 0; transform: scale(.85); }
    to { opacity: 1; transform: scale(1); }
}

#ringProgress {
    transition: stroke-dashoffset .1s linear;
}

#intro .mark {
    position: relative;
    z-index: 1;
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 7vw, 4.4rem);
    color: var(--bone);
    letter-spacing: 0.02em;
    opacity: 0;
    filter: blur(6px);
    animation: markIn 1.3s cubic-bezier(.16, 1, .3, 1) .25s forwards;
}

#intro .mark em {
    font-style: italic;
    color: var(--brass);
}

#intro .rule {
    position: relative;
    z-index: 1;
    width: 0;
    height: 1px;
    background: var(--brass);
    margin: 22px 0;
    animation: ruleIn 1s cubic-bezier(.65, 0, .35, 1) 1.15s forwards;
}

#intro .sub {
    position: relative;
    z-index: 1;
    font-family: 'Manrope', sans-serif;
    font-size: .72rem;
    letter-spacing: .28em;
    color: var(--fade);
    opacity: 0;
    text-transform: uppercase;
    animation: subIn .9s ease 1.5s forwards;
}

@keyframes markIn { to { opacity: 1; filter: blur(0); } }
@keyframes ruleIn { to { width: 120px; } }
@keyframes subIn { to { opacity: 1; } }

/* ---------- Welcome Celebration ---------- */
#welcomeOverlay {
    transition: opacity .6s ease, visibility .6s ease;
}

#welcomeCard {
    opacity: 0;
    transform: scale(.86) translateY(10px);
    transition: opacity .6s cubic-bezier(.16, 1, .3, 1) .1s, transform .6s cubic-bezier(.16, 1, .3, 1) .1s;
}

#welcomeOverlay:not(.opacity-0) #welcomeCard {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.welcome-check {
    position: relative;
}

.welcome-check::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 9999px;
    border: 1px solid var(--brass);
    opacity: 0;
    animation: ringPulse 2s ease-out .5s infinite;
}

#welcomeOverlay.opacity-0 .welcome-check::before {
    animation: none;
}

@keyframes ringPulse {
    0% { transform: scale(.82); opacity: .65; }
    100% { transform: scale(1.55); opacity: 0; }
}

#checkPath {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck .7s ease .5s forwards;
}

#welcomeOverlay.opacity-0 #checkPath {
    animation: none;
    stroke-dashoffset: 50;
}

@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.confetti-piece {
    position: absolute;
    top: -6%;
    border-radius: 1px;
    opacity: .95;
    animation-name: confettiFall;
    animation-timing-function: cubic-bezier(.35, 0, .65, 1);
    animation-fill-mode: forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(112vh) rotate(560deg); opacity: 0; }
}



/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
}

.reveal-left.in {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
}

.reveal-right.in {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(.94);
}

.reveal-scale.in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal, .reveal-left, .reveal-right, .reveal-scale {
    transition-delay: var(--d, 0ms);
}

/* ---------- Hero Slider ---------- */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(.65, 0, .35, 1);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 7s linear;
}

.slide.active img {
    transform: scale(1);
}

/* ---------- Mobile Navigation Drawer (Overflow Fixed) ---------- */
#drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 82%;
    max-width: 340px;
    background: var(--panel);
    border-right: 1px solid var(--line);
    z-index: 60;
    transform: translateX(-100%);
    transition: transform .55s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 40px 0 80px -30px rgba(0, 0, 0, .6);
    will-change: transform;
    visibility: hidden; /* ব্যাকগ্রাউন্ডে ওভারফ্লো রোধ করতে */
}

#drawer.open {
    transform: translateX(0);
    visibility: visible;
}

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 55;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility .5s ease;
    backdrop-filter: blur(2px);
}

#overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer-link {
    transition: color .3s ease, padding-left .3s ease;
}

.drawer-link:hover,
.drawer-link:active {
    color: var(--brass);
    padding-left: 6px;
}

/* ---------- UI Interactive Components ---------- */
.service-card {
    transition: border-color .5s ease, background-color .5s ease, transform .5s ease, box-shadow .5s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.service-card:hover {
    border-color: var(--brass);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55);
}

.service-icon {
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.service-card:hover .service-icon {
    transform: rotate(-6deg) scale(1.08);
}

.proj-card {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: box-shadow .5s ease;
}

.proj-card:hover {
    box-shadow: 0 28px 56px -22px rgba(0, 0, 0, .6);
}

.proj-img {
    transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .8s ease;
}

.proj-card:hover .proj-img {
    transform: scale(1.07);
}

.team-card {
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-photo {
    filter: grayscale(45%) contrast(1.02);
    transition: filter .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.gal-item {
    transition: box-shadow .5s ease;
}

.gal-item:hover {
    box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .6);
}

.gal-item img {
    transition: transform 1s cubic-bezier(.16, 1, .3, 1), filter .6s ease;
}

.gal-item:hover img {
    transform: scale(1.08);
}

/* ---------- Language Toggle ---------- */
.lang-btn span {
    transition: color .3s ease;
}

.lang-thumb {
    transition: transform .35s cubic-bezier(.65, 0, .35, 1);
}

html.lang-bn .lang-thumb {
    transform: translateX(100%);
}

[data-bn] {
    display: none;
}

html.lang-bn [data-en] {
    display: none;
}

html.lang-bn [data-bn] {
    display: inline;
}

html.lang-bn .bn-block {
    display: block !important;
}

html.lang-bn [data-en-block] {
    display: none !important;
}

/* ---------- Navigation & Buttons ---------- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--brass);
    transition: width .4s cubic-bezier(.16, 1, .3, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-line {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(184, 147, 90, 0);
    transition: box-shadow .5s ease, transform .3s ease;
}

.btn-line .fill {
    position: absolute;
    inset: 0;
    background: var(--brass);
    transform: translateX(-101%);
    transition: transform .5s cubic-bezier(.65, 0, .35, 1);
    z-index: 0;
}

.btn-line:hover .fill {
    transform: translateX(0);
}

.btn-line:hover {
    box-shadow: 0 14px 32px -14px rgba(184, 147, 90, .45);
    transform: translateY(-1px);
}

.btn-line:active {
    transform: translateY(0);
}

.btn-line span {
    position: relative;
    z-index: 1;
}

.divider-fade {
    background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

/* ---------- Floating Action Buttons (Call / WhatsApp) ---------- */
#fab {
    padding-bottom: env(safe-area-inset-bottom);
}

.fab-btn {
    opacity: 0;
    transform: translateY(16px) scale(.9);
    animation: fabIn .6s cubic-bezier(.16, 1, .3, 1) forwards;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .55);
}

.fab-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.fab-btn:nth-child(1) { animation-delay: .35s; }
.fab-btn:nth-child(2) { animation-delay: .55s; }

@keyframes fabIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.fab-ping {
    animation: fabPing 2.6s cubic-bezier(0, 0, .3, 1) infinite;
}

@keyframes fabPing {
    0% { transform: scale(1); opacity: .55; }
    75%, 100% { transform: scale(1.9); opacity: 0; }
}



/*  */
/* ---------- Scroll To Top Button (Lux Gold Finish) ---------- */
/* Scroll to Top FAB Base Style */
  .scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease, background-color 0.3s ease;
    background-color: rgba(27, 26, 22, 0.85); /* bg-ink with opacity */
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  }

  .scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .scroll-top-btn:hover {
    background-color: #1b1a16;
    box-shadow: 0 12px 30px -5px rgba(184, 147, 90, 0.3);
  }

  .scroll-top-btn:hover .scroll-top-arrow {
    transform: translateY(-3px);
    color: #b8935a; /* brass color */
  }

  /* Circular Progress Bar Styling */
  .progress-ring__circle {
    transition: stroke-dashoffset 0.1s linear;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
  }

  /* Tooltip Styling */
  .fab-tooltip {
    position: absolute;
    right: 115%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    background-color: #1b1a16;
    color: #f5f2eb;
    border: 1px solid rgba(184, 147, 90, 0.3);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  }

  .scroll-top-btn:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
/* ---------- Call Us Button (Original Green Glow & Animation) ---------- */
.fab-call {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 22px rgba(34, 197, 94, 0.4);
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
    animation: callPulse 3s infinite ease-in-out;
}

.fab-call:hover {
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
    transform: translateY(-4px) scale(1.1) !important;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.65);
    animation-play-state: paused;
}

/* Call Icon Ringing Animation */
.fab-call svg {
    animation: phoneRing 2s infinite ease-in-out;
}

.fab-call:hover svg {
    animation: none;
}

/* Call Ripple Outer Ping */
.fab-call .fab-ping {
    background-color: #22c55e;
    animation: fabPing 2s cubic-bezier(0, 0, .2, 1) infinite;
}

/* Animation Keyframes */
@keyframes callPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    10% { transform: translateY(-3px) scale(1.05); }
    15% { transform: translateY(0) scale(1); }
    20% { transform: translateY(-3px) scale(1.05); }
    25% { transform: translateY(0) scale(1); }
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
}

@keyframes fabPing {
    0% { transform: scale(1); opacity: 0.8; }
    70%, 100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- Brand Tile Hover ---------- */
.brand-tile {
    transition: background-color .5s ease;
}

.brand-tile span {
    display: inline-block;
    transition: color .4s ease, transform .4s cubic-bezier(.16, 1, .3, 1), letter-spacing .4s ease;
}

.brand-tile::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--brass);
    transition: width .5s cubic-bezier(.16, 1, .3, 1), left .5s cubic-bezier(.16, 1, .3, 1);
}

.brand-tile:hover {
    background-color: #211f19;
}

.brand-tile:hover span {
    color: var(--brass);
    transform: scale(1.06);
    letter-spacing: .03em;
}

.brand-tile:hover::after {
    width: 56%;
    left: 22%;
}

/* ---------- Social Proof Toast ---------- */
#socialProofToast {
    transform: translateY(24px);
    opacity: 0;
    pointer-events: none;
    transition: transform .55s cubic-bezier(.16, .84, .44, 1), opacity .4s ease;
}

#socialProofToast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Reduced Motion Option ---------- */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .fab-btn, .scroll-top-btn, .fab-call, .fab-call svg {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    #intro, .fab-ping {
        display: none !important;
    }

    .marquee-track {
        animation: none;
    }
}

/* Tooltip styling for FAB buttons */
.fab-tooltip {
    position: absolute;
    right: 110%;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background-color: var(--panel);
    color: var(--bone);
    border: 1px solid var(--line);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.fab-btn:hover .fab-tooltip,
.scroll-top-btn:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Specific styling for WhatsApp button override */
.fab-whatsapp {
    border: none !important;
}
.fab-whatsapp:hover {
    color: #ffffff !important;
}


/* start */
.team-social-link {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.35);
  color: var(--cream, #f2efe8);
  background: rgba(20, 18, 15, 0.35);
  backdrop-filter: blur(3px);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}
.team-social-link:hover {
  background: var(--brass, #b8935a);
  border-color: var(--brass, #b8935a);
  color: var(--ink, #14120f);
  transform: translateY(-2px);
}
/* end */


/* start */

 
 
  /* ============ Card surface ============ */
  .review-card-premium {
    background: linear-gradient(160deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.012) 100%);
    border: 1px solid rgba(184,147,90,0.16);
    transition: border-color .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1);
  }
  .review-card-premium:hover {
    border-color: rgba(184,147,90,0.4);
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -20px rgba(0,0,0,0.55);
  }
 
  /* ============ Slider ============ */
  #testiWrap { min-height: 340px; }
  .testi-slide-item {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    inset: 0;
    transform: translateX(18px);
    transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
    pointer-events: none;
  }
  .testi-slide-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0);
    pointer-events: auto;
  }
 
  /* ============ Dots — anchored right under the card grid, no divider, no dead space ============ */
  .testi-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
  }
  .testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width .35s cubic-bezier(.16,1,.3,1), background-color .35s cubic-bezier(.16,1,.3,1);
  }
  .testi-dot:hover { background: rgba(184,147,90,0.5); }
  .testi-dot.active {
    width: 26px;
    background-color: #b8935a;
  }
 
  @media (prefers-reduced-motion: reduce) {
    .testi-slide-item, .review-card-premium, .testi-dot { transition: none !important; }
  }

  /* start */
/* Blueprint corner marks — draw in once when the section enters view */
    #contact .corner-mark path {
      stroke-dasharray: 40;
      stroke-dashoffset: 40;
      transition: stroke-dashoffset 0.9s cubic-bezier(.2, .7, .2, 1);
    }
    #contact .reveal-right.in .corner-mark path {
      stroke-dashoffset: 0;
    }
    #contact .corner-mark:nth-child(2) path { transition-delay: .08s; }
    #contact .corner-mark:nth-child(3) path { transition-delay: .16s; }
    #contact .corner-mark:nth-child(4) path { transition-delay: .24s; }
 
    /* Shared underline-grow motif (mirrors the button's brass fill) */
    #contact .field-line {
      position: absolute;
      left: 0;
      bottom: 0;
      height: 1.5px;
      width: 0;
      background: #b8935a;
      transition: width .35s ease;
    }
    #contact .field:focus-within .field-line { width: 100%; }
  /* end */