/* ===========================================================
   GO TO MARKET NEPAL
   Premium Agency Theme
   Part 2A
=========================================================== */

:root{

--bg:#f0f0f0;
--surface:rgba(255,255,255,.55);
--surface-2:rgba(0,0,0,.04);

--text:#000000;
--muted:#666666;

--primary:#000000;

--accent:#000000;
--accent-2:#000000;

--gradient:
linear-gradient(
135deg,
#000000 0%,
#4d4d4d 100%
);

--border:rgba(255,255,255,.5);

/* previously missing — used throughout the file but never defined */
--radius:26px;
--transition:.35s cubic-bezier(.4,0,.2,1);
--nav-h:76px;
--glass-blur:blur(24px) saturate(180%);
--glass-blur-sm:blur(16px) saturate(180%);
--shadow:
inset 0 1px 1px rgba(255,255,255,.9),
inset 0 -1px 1px rgba(0,0,0,.03),
0 8px 30px rgba(0,0,0,.08);
--shadow-lg:
inset 0 1px 1px rgba(255,255,255,1),
inset 0 -1px 1px rgba(0,0,0,.04),
0 20px 60px rgba(0,0,0,.14);

}

body.dark{

--bg:#09090b;

--surface:rgba(255,255,255,.07);

--surface-2:rgba(255,255,255,.04);

--text:#ffffff;

--muted:#c4c7d0;

--accent:#ffffff;
--accent-2:#ffffff;

--border:rgba(255,255,255,.14);

--shadow:
inset 0 1px 1px rgba(255,255,255,.14),
inset 0 -1px 1px rgba(0,0,0,.35),
0 8px 30px rgba(0,0,0,.45);

--shadow-lg:
inset 0 1px 1px rgba(255,255,255,.18),
inset 0 -1px 1px rgba(0,0,0,.4),
0 20px 60px rgba(0,0,0,.6);

}

*{

margin:0;

padding:0;

box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:"Inter",sans-serif;

background:var(--bg);

color:var(--text);

overflow-x:hidden;

line-height:1.7;

transition:
background .35s,
color .35s;

}

/* ================================= */

a{

text-decoration:none;

color:inherit;

}

img{

max-width:100%;

display:block;

}

section{

position:relative;

}

main{

overflow:hidden;

}

/* ================================= */

.bg-gradient{

position:fixed;

inset:0;

pointer-events:none;

z-index:-2;

background:

radial-gradient(circle at 15% 20%,
rgba(255,255,255,.9),
transparent 40%),

radial-gradient(circle at 85% 15%,
rgba(0,0,0,.05),
transparent 45%),

radial-gradient(circle at 75% 80%,
rgba(255,255,255,.7),
transparent 40%),

radial-gradient(circle at 20% 85%,
rgba(0,0,0,.04),
transparent 40%),

linear-gradient(
180deg,
#e8e8e8,
#f6f6f6
);

}

body.dark .bg-gradient{

background:

radial-gradient(circle at 15% 20%,
rgba(255,255,255,.10),
transparent 40%),

radial-gradient(circle at 85% 15%,
rgba(255,255,255,.06),
transparent 45%),

radial-gradient(circle at 75% 80%,
rgba(255,255,255,.08),
transparent 40%),

radial-gradient(circle at 20% 85%,
rgba(255,255,255,.05),
transparent 40%),

linear-gradient(
180deg,
#09090b,
#111827
);

}

/* ================================= */

.cursor-glow{

position:fixed;

width:300px;

height:300px;

border-radius:50%;

pointer-events:none;

background:

radial-gradient(circle,
rgba(0,0,0,.10),
transparent 70%);

transform:translate(-50%,-50%);

z-index:-1;

filter:blur(30px);

}

body.dark .cursor-glow{

background:

radial-gradient(circle,
rgba(255,255,255,.08),
transparent 70%);

}

/* ================================= */

.topnav{

position:fixed;

top:20px;

left:50%;

transform:translateX(-50%);

width:min(1180px,94%);

height:var(--nav-h);

display:flex;

align-items:center;

justify-content:space-between;

padding:0 28px;

border-radius:999px;

background:rgba(255,255,255,.55);

backdrop-filter:var(--glass-blur);

-webkit-backdrop-filter:var(--glass-blur);

border:1px solid rgba(255,255,255,.6);

box-shadow:var(--shadow);

/* Smooth slide + fade for show/hide */
transition:
  transform 0.45s cubic-bezier(.4,0,.2,1),
  opacity 0.45s cubic-bezier(.4,0,.2,1),
  top var(--transition),
  box-shadow var(--transition),
  background var(--transition),
  border-color var(--transition);

z-index:1000;

}

body.dark .topnav{

background:rgba(255,255,255,.06);

border-color:rgba(255,255,255,.14);

}

.topnav.scrolled{

top:10px;

box-shadow:var(--shadow-lg);

}

/* JS toggles this class to hide/show the nav on scroll */
.topnav.nav-hidden{

transform:translateX(-50%) translateY(-140px) !important;

}

@media(max-width:780px){

.topnav.nav-hidden{

/* On mobile the nav is almost full-width, still centered via left:50% + translateX */
transform:translateX(-50%) translateY(-140px) !important;

}

}

/* ================================= */

.brand{

display:flex;

align-items:center;

gap:14px;

font-weight:700;

font-size:17px;

}

.brand img{

width:42px;

height:42px;

border-radius:50%;

transition:transform .4s;

}

.brand:hover img{

transform:rotate(-10deg)
scale(1.08);

}

.brand-text{

letter-spacing:-.02em;

}

/* ================================= */

/* Floating logo — persists as a homepage link at the
   top-left once the main nav bar slides away. Hidden by
   default; JS toggles the .visible class. */

.floating-logo{

position:fixed;

top:20px;

left:28px;

z-index:999;

display:flex;

align-items:center;

justify-content:center;

width:46px;

height:46px;

border-radius:50%;

background:var(--surface);

backdrop-filter:var(--glass-blur-sm);

-webkit-backdrop-filter:var(--glass-blur-sm);

border:1px solid var(--border);

box-shadow:var(--shadow);

opacity:0;

pointer-events:none;

transform:translateY(-10px) scale(.9);

transition:
  opacity .35s cubic-bezier(.4,0,.2,1) .12s,
  transform .35s cubic-bezier(.4,0,.2,1) .12s,
  box-shadow .3s ease,
  border-color .3s ease,
  background .3s ease;

}

/* No entry delay on the way out — logo should vanish
   promptly the instant the real nav starts reappearing,
   so the two never visibly overlap. */
.floating-logo:not(.visible){

transition:opacity .2s ease, transform .2s ease;

}

.floating-logo.visible{

opacity:1;

pointer-events:auto;

transform:translateY(0) scale(1);

}

.floating-logo:hover{

transform:translateY(0) scale(1.08) rotate(-8deg);

box-shadow:var(--shadow-lg);

}

.floating-logo img{

width:26px;

height:26px;

border-radius:50%;

display:block;

}

/* ================================= */

.nav-links{

display:flex;

gap:8px;

list-style:none;

}

.nav-links a{

padding:11px 18px;

border-radius:999px;

font-weight:500;

color:var(--muted);

transition:var(--transition);

position:relative;

}

.nav-links a:hover{

background:rgba(0,0,0,.06);

color:var(--text);

}

body.dark .nav-links a:hover{

background:rgba(255,255,255,.10);

}

.nav-links a.active{

background:var(--primary);

color:#fff;

}

/* ================================= */

.nav-right{

display:flex;

align-items:center;

gap:14px;

}

.contact-btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:13px 22px;

border-radius:999px;

background:linear-gradient(
135deg,
#000000,
#3a3a3a
);

color:#fff;

font-weight:600;

transition:var(--transition);

box-shadow:

0 10px 30px rgba(0,0,0,.20);

}

.contact-btn:hover{

transform:translateY(-3px);

box-shadow:

0 18px 40px rgba(0,0,0,.35);

}

body.dark .contact-btn{

background:linear-gradient(
135deg,
#ffffff,
#c4c7d0
);

color:#000000;

}

body.dark .contact-btn:hover{

box-shadow:

0 18px 40px rgba(255,255,255,.20);

}

/* ================================= */

.theme-toggle{

width:42px;

height:42px;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

cursor:pointer;

border:1px solid var(--border);

background:var(--surface);

backdrop-filter:var(--glass-blur-sm);

-webkit-backdrop-filter:var(--glass-blur-sm);

box-shadow:var(--shadow);

transition:var(--transition), box-shadow .4s ease, border-color .4s ease;

}

.theme-toggle:hover{

transform:rotate(18deg);

}

/* ================================= */

.hero{

min-height:100vh;

display:grid;

grid-template-columns:1fr 1fr;

align-items:center;

gap:80px;

max-width:1200px;

margin:auto;

padding:

160px 30px

100px;

}

/* ================================= */

.hero-tag{

display:inline-flex;

padding:8px 16px;

border-radius:999px;

background:rgba(0,0,0,.06);

color:#000000;

font-size:13px;

font-weight:700;

letter-spacing:.08em;

margin-bottom:28px;

transition:var(--transition), background .4s ease, color .4s ease;

}

body.dark .hero-tag{

background:rgba(255,255,255,.10);

color:#ffffff;

}

.hero h1{

font-size:clamp(52px,7vw,82px);

line-height:.95;

letter-spacing:-.05em;

font-weight:900;

max-width:650px;

margin-bottom:26px;

}

.hero h1 span{

display:block;

background:

linear-gradient(
90deg,
#000000,
#666666
);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

body.dark .hero h1 span{

background:

linear-gradient(
90deg,
#ffffff,
#999999
);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

.hero p{

font-size:20px;

color:var(--muted);

max-width:560px;

margin-bottom:38px;

}

/* ================================= */

.hero-actions{

display:flex;

gap:18px;

flex-wrap:wrap;

}

.primary-btn,
.secondary-btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:16px 28px;

border-radius:999px;

font-weight:700;

transition:var(--transition);

}

.primary-btn{

background:var(--primary);

color:#fff;

box-shadow:var(--shadow);

}

.primary-btn:hover{

transform:translateY(-4px);

}

.secondary-btn{

border:1px solid var(--border);

background:var(--surface);

backdrop-filter:var(--glass-blur);

-webkit-backdrop-filter:var(--glass-blur);

box-shadow:var(--shadow);

}

.secondary-btn:hover{

background:var(--surface-2);

}

/* ================================= */

.hero-visual{

position:relative;

height:900px;

}

.glass-card{

position:absolute;

background:

rgba(255,255,255,.5);

backdrop-filter:var(--glass-blur);

-webkit-backdrop-filter:var(--glass-blur);

padding:28px;

border-radius:var(--radius);

box-shadow:var(--shadow-lg);

border:1px solid rgba(255,255,255,.6);

animation:float 7s cubic-bezier(.45,.05,.55,.95) infinite;

will-change:transform;

transition: all .5s cubic-bezier(.4,0,.2,1), background 0.5s cubic-bezier(.4,0,.2,1), border-color 0.5s cubic-bezier(.4,0,.2,1);

cursor:pointer;

overflow:hidden;

}

.glass-card::before{

    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(135deg, rgba(255,255,255,.25), transparent);
    border-radius:var(--radius);
    opacity:0;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
    pointer-events:none;
    z-index:1;

}

/* Card 1, 2, 3: Consistent unified hover animation */
.glass-card:hover{

    transform: scale(1.08) translateY(-10px);

    box-shadow:
      inset 0 1px 2px rgba(255,255,255,.35),
      0 25px 60px rgba(0,0,0,.22);

}

/* Light mode: all glass cards get consistent warm/cool gradient */
body:not(.dark) .glass-card:hover{

    background:
      linear-gradient(135deg,
        rgba(255, 107, 53, .58),
        rgba(0, 78, 137, .35),
        rgba(255, 255, 255, .55));

    border-color: rgba(255, 107, 53, .5);

}

/* Dark mode: all glass cards get consistent light monochrome */
body.dark .glass-card:hover{

    background:
      linear-gradient(135deg,
        rgba(255,255,255,.13),
        rgba(255,255,255,.09));

    border-color: rgba(255,255,255,.24);

}

.glass-card:hover::before{

    opacity:1;

}

body.dark .glass-card{

background:rgba(255,255,255,.08);

border-color:rgba(255,255,255,.16);

}

.card-1{

width:300px;

top:30px;

right:20px;

z-index:3;

}

.card-2{

width:280px;

left:40px;

top:360px;

animation-delay:1.5s;

z-index:2;

}

.card-3{

width:290px;

right:20px;

bottom:40px;

z-index:1;

animation-delay:3s;

}

.small-label{

font-size:12px;

text-transform:uppercase;

letter-spacing:.12em;

color:var(--accent);

margin-bottom:12px;

font-weight:700;

}

.glass-card h3{

font-size:28px;

margin-bottom:12px;

}

.glass-card p{

font-size:15px;

color:var(--muted);

}

/* ================================= */

.scroll-indicator{

position:absolute;

bottom:30px;

left:50%;

transform:translateX(-50%);

display:flex;

flex-direction:column;

align-items:center;

gap:10px;

font-size:13px;

color:var(--muted);

}

.scroll-indicator span{

width:2px;

height:60px;

background:linear-gradient(
transparent,
var(--text)
);

animation:scrollLine 2s infinite;

}

/* ================================= */

@keyframes float{

0%{
transform:translateY(0px) rotate(0deg);
}

25%{
transform:translateY(-10px) rotate(0.4deg);
}

50%{
transform:translateY(-18px) rotate(0deg);
}

75%{
transform:translateY(-8px) rotate(-0.3deg);
}

100%{
transform:translateY(0px) rotate(0deg);
}

}

@keyframes scrollLine{

0%{

transform:scaleY(.25);

transform-origin:top;

}

50%{

transform:scaleY(1);

}

100%{

transform:scaleY(.25);

transform-origin:bottom;

}

}
/* ===========================================================
   CONTENT SECTIONS
=========================================================== */

.section{
    max-width:1200px;
    margin:auto;
    padding:110px 30px;
}

.section-heading{
    max-width:760px;
    margin:0 auto 70px;
    text-align:center;
}

.eyebrow{
    display:inline-block;
    margin-bottom:16px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.15em;
    color:var(--accent);
}

.section-heading h2{
    font-size:clamp(38px,5vw,58px);
    line-height:1.05;
    margin-bottom:22px;
    letter-spacing:-.04em;
}

.section-heading p{
    font-size:18px;
    color:var(--muted);
}

/* ===========================================================
   SERVICES
=========================================================== */

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.service-card{

    background:var(--surface);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:42px;

    transition:all .4s cubic-bezier(.4,0,.2,1);

    box-shadow:var(--shadow);

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(
    135deg,
    rgba(0,0,0,.06),
    transparent);

    opacity:0;

    transition:.4s cubic-bezier(.4,0,.2,1);

}

.service-card:hover{

    transform: scale(1.07) translateY(-10px);

    box-shadow:
      inset 0 1px 2px rgba(255,255,255,.25),
      0 20px 50px rgba(0,0,0,.2);

}

body:not(.dark) .service-card:hover{

    background: 
      linear-gradient(135deg, 
        rgba(255, 107, 53, .12),
        rgba(255,255,255,.6));

    border-color: rgba(255, 107, 53, .2);

}

body.dark .service-card:hover{

    background: 
      linear-gradient(135deg, 
        rgba(255,255,255,.11), 
        rgba(255,255,255,.08));

}

.service-card:hover::before{

    opacity:1;

}

.service-icon{

    font-size:42px;

    margin-bottom:28px;

    filter:grayscale(1);

}

.service-card h3{

    font-size:24px;

    margin-bottom:16px;

}

.service-card p{

    color:var(--muted);

}

/* ===========================================================
   FEATURED WORK
=========================================================== */

.dark-section{

    background:var(--surface-2);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

}

.portfolio-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:32px;

}

.portfolio-card{

    background:var(--surface);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

    border:1px solid var(--border);

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

    transition: all .5s cubic-bezier(.4,0,.2,1);

    position:relative;

}

.portfolio-card::after{

    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
    opacity:0;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
    pointer-events:none;

}

.portfolio-card:hover{

    transform: scale(1.06) translateY(-12px);

    box-shadow: 
      inset 0 1px 2px rgba(255,255,255,.22),
      0 22px 55px rgba(0,0,0,.22);

}

body:not(.dark) .portfolio-card:hover{

    background:
      linear-gradient(135deg,
        rgba(255, 107, 53, .12),
        rgba(255,255,255,.6));

    border-color: rgba(255, 107, 53, .2);

}

body.dark .portfolio-card:hover{

    background:
      linear-gradient(135deg,
        rgba(255,255,255,.10),
        rgba(255,255,255,.07));

}

.portfolio-card:hover::after{

    opacity:1;

}

.portfolio-image{

    height:240px;

    background:

    linear-gradient(
    135deg,
    #000000,
    #3a3a3a);

}

.portfolio-content{

    padding:30px;

}

.portfolio-category{

    display:inline-block;

    margin-bottom:18px;

    color:var(--accent);

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.12em;

}

.portfolio-content h3{

    font-size:26px;

    margin-bottom:16px;

}

.portfolio-content p{

    color:var(--muted);

    margin-bottom:26px;

}

.portfolio-content a{

    color:var(--accent);

    font-weight:700;

}

/* ===========================================================
   STATS
=========================================================== */

.stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    text-align:center;

}

.stat{

    background:var(--surface);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

    border-radius:var(--radius);

    border:1px solid var(--border);

    padding:50px 30px;

    box-shadow:var(--shadow);

    transition: all .5s cubic-bezier(.4,0,.2,1);

    position:relative;

    overflow:hidden;

}

.stat::before{

    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(circle at center, rgba(255,255,255,.12), transparent 70%);
    opacity:0;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
    pointer-events:none;

}

.stat:hover{

    transform: scale(1.08) translateY(-10px);

    box-shadow:
      inset 0 1px 2px rgba(255,255,255,.22),
      0 20px 50px rgba(0,0,0,.22);

}

body:not(.dark) .stat:hover{

    background:
      linear-gradient(135deg,
        rgba(255, 107, 53, .12),
        rgba(255,255,255,.6));

    border-color: rgba(255, 107, 53, .2);

}

body.dark .stat:hover{

    background:
      linear-gradient(135deg,
        rgba(255,255,255,.11),
        rgba(255,255,255,.08));

}

.stat:hover::before{

    opacity:1;

}

.stat h2{

    font-size:60px;

    margin-bottom:10px;

    color:var(--accent);

}

.stat p{

    color:var(--muted);

    font-weight:600;

}

/* ===========================================================
   TESTIMONIAL
=========================================================== */

.testimonial{

    max-width:850px;

    margin:auto;

    background:var(--surface);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:70px;

    text-align:center;

    box-shadow:var(--shadow);

    transition: all .5s cubic-bezier(.4,0,.2,1);

    position:relative;

    overflow:hidden;

}

.testimonial::before{

    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.15), transparent 80%);
    opacity:0;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
    pointer-events:none;

}

.testimonial:hover{

    transform: scale(1.06) translateY(-10px);

    box-shadow:
      inset 0 1px 2px rgba(255,255,255,.22),
      0 22px 55px rgba(0,0,0,.22);

}

body:not(.dark) .testimonial:hover{

    background:
      linear-gradient(135deg,
        rgba(255, 107, 53, .12),
        rgba(255,255,255,.6));

    border-color: rgba(255, 107, 53, .2);

}

body.dark .testimonial:hover{

    background:
      linear-gradient(135deg,
        rgba(255,255,255,.10),
        rgba(255,255,255,.07));

}

.testimonial:hover::before{

    opacity:1;

}

.quote{

    font-size:90px;

    color:var(--accent);

    line-height:1;

    margin-bottom:20px;

}

.testimonial p{

    font-size:24px;

    line-height:1.7;

    margin-bottom:30px;

    transition:opacity .3s;

}

.testimonial strong{

    display:block;

    font-size:20px;

    margin-bottom:6px;

    transition:opacity .3s;

}

.testimonial span{

    color:var(--muted);

}

/* ===========================================================
   CTA
=========================================================== */

.cta-section{

    max-width:1200px;

    margin:120px auto;

    border-radius:36px;

    text-align:center;

    padding:90px 40px;

    color:#fff;

    background:
    linear-gradient(135deg, #000000, #3a3a3a);

    box-shadow:
    inset 0 1px 1px rgba(255,255,255,.25),
    0 20px 60px rgba(0,0,0,.25);

    background-size: 200% 200%;
    background-position: 0% 100%;

    transition:
      background 0.6s cubic-bezier(.4,0,.2,1),
      background-position 0.6s cubic-bezier(.4,0,.2,1),
      color 0.6s cubic-bezier(.4,0,.2,1),
      transform 0.5s cubic-bezier(.4,0,.2,1),
      box-shadow 0.5s cubic-bezier(.4,0,.2,1);

}

.cta-section:hover{

    transform: scale(1.015) translateY(-8px);

    box-shadow:
      inset 0 1px 2px rgba(255,255,255,.4),
      0 35px 100px rgba(0,0,0,.4);

}

/* Light mode: vibrant animated gradient */
body:not(.dark) .cta-section:hover{

    background: linear-gradient(
      135deg,
      #ff6b35,
      #f7931e,
      #004e89,
      #ff6b35
    );

    background-size: 300% 300%;
    background-position: 100% 0%;

    color: #ffffff;

}

/* Dark mode: monochrome grayscale */
body.dark .cta-section{

    background:
    linear-gradient(
    135deg,
    #1f2937,
    #000000);

}

body.dark .cta-section:hover{

    background:
    linear-gradient(
    135deg,
    #ffffff,
    #e5e5e5,
    #f0f0f0,
    #ffffff
    );

    background-size: 300% 300%;
    background-position: 100% 0%;

    color: #000000;

}

.cta-section h2{

    font-size:52px;

    margin-bottom:20px;

}

.cta-section p{

    font-size:20px;

    max-width:700px;

    margin:0 auto 40px;

    opacity:.95;

}

.cta-section .primary-btn{

    position:relative;

    overflow:hidden;

    background:#f2f2f2;

    color:#000000;

    transition:transform .4s ease, box-shadow .4s ease;

}

.cta-section .primary-btn::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(115deg,
    transparent 30%,
    rgba(255,255,255,.95) 45%,
    rgba(212,175,55,.5) 50%,
    transparent 65%);

    transform:translateX(-130%);

    transition:transform .9s ease;

}

.cta-section .primary-btn:hover{

    transform:translateY(-4px) scale(1.04);

    box-shadow:
    0 0 0 1px rgba(212,175,55,.45),
    0 20px 45px rgba(212,175,55,.30),
    0 10px 30px rgba(0,0,0,.35);

}

.cta-section .primary-btn:hover::before{

    transform:translateX(130%);

}

/* ===========================================================
   FOOTER
=========================================================== */

footer{

    border-top:1px solid var(--border);

    margin-top:120px;

    padding:70px 30px 40px;

}

.footer-grid{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

}

.footer-grid h3{

    font-size:28px;

    margin-bottom:20px;

}

.footer-grid h4{

    margin-bottom:18px;

}

.footer-grid p{

    color:var(--muted);

}

.footer-grid a{

    display:block;

    margin-bottom:14px;

    color:var(--muted);

    transition:.3s;

}

.footer-grid a:hover{

    color:var(--accent);

}

.footer-bottom{

    max-width:1200px;

    margin:60px auto 0;

    padding-top:30px;

    border-top:1px solid var(--border);

    text-align:center;

    color:var(--muted);

}

/* ===========================================================
   REVIEW BUTTON
=========================================================== */

.review-btn{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin-top:8px;

    padding:10px 18px;

    border-radius:999px;

    border:1px solid var(--accent-2);

    background:var(--surface);

    backdrop-filter:var(--glass-blur-sm);

    -webkit-backdrop-filter:var(--glass-blur-sm);

    color:var(--accent-2) !important;

    font-weight:600;

    font-size:14px;

    width:fit-content;

    transition:var(--transition), box-shadow .4s ease, border-color .4s ease;

}

.review-btn:hover{

    background:var(--accent-2);

    border-color:var(--accent-2);

    color:#fff !important;

    transform:translateY(-2px);

}

body.dark .review-btn:hover{

    color:#000000 !important;

}

/* ===========================================================
   MOBILE MENU
=========================================================== */

.nav-toggle-btn{

    display:none;

}

/* ===========================================================
   SIMPLE INNER PAGES
   (About / Team / Ideas / Careers / Work placeholder shells)
=========================================================== */

.container{

    max-width:900px;

    margin:0 auto;

    padding:calc(var(--nav-h) + 100px) 30px 100px;

    min-height:60vh;

}

.container h1{

    font-size:clamp(40px,6vw,64px);

    letter-spacing:-.04em;

    margin-bottom:30px;

}

.container .placeholder{

    background:var(--surface);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:50px;

    color:var(--muted);

    font-size:18px;

    box-shadow:var(--shadow);

}

.container .lede{

    font-size:20px;

    color:var(--muted);

    max-width:700px;

    margin-bottom:60px;

}

/* ===========================================================
   STANDARD CONTENT — PROSE
   Use for About text, Ideas/blog posts, long-form copy.
   Wrap real content in <div class="prose"> inside .container.
=========================================================== */

.prose{

    font-size:18px;

    color:var(--text);

}

.prose h2{

    font-size:32px;

    letter-spacing:-.03em;

    margin:48px 0 18px;

}

.prose h2:first-child{

    margin-top:0;

}

.prose h3{

    font-size:22px;

    margin:34px 0 14px;

}

.prose p{

    margin-bottom:20px;

    color:var(--muted);

}

.prose ul,
.prose ol{

    margin:0 0 20px 22px;

    color:var(--muted);

}

.prose li{

    margin-bottom:8px;

}

.prose strong{

    color:var(--text);

}

.prose blockquote{

    border-left:3px solid var(--accent);

    padding:6px 0 6px 24px;

    margin:30px 0;

    font-size:20px;

    color:var(--text);

}

/* ===========================================================
   STANDARD CONTENT — CASE STUDY (Work page)
   One .case-study per project. Structure:
   <article class="case-study">
     <div class="case-study-media"></div>
     <div class="case-study-body">
       <span class="case-study-tag">Category</span>
       <h2>Project Title</h2>
       <p class="lede">One-line summary</p>
       <div class="case-study-grid">
         <div><h4>Challenge</h4><p>...</p></div>
         <div><h4>Approach</h4><p>...</p></div>
         <div><h4>Result</h4><p>...</p></div>
       </div>
     </div>
   </article>
=========================================================== */

.case-study{

    background:var(--surface);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

    border:1px solid var(--border);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    overflow:hidden;

    margin-bottom:50px;

    transition: all .5s cubic-bezier(.4,0,.2,1);

    position:relative;

}

.case-study::before{

    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(135deg, rgba(255,255,255,.08), transparent);
    opacity:0;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
    pointer-events:none;
    z-index:1;

}

.case-study:hover{

    transform: scale(1.04) translateY(-10px);

    box-shadow:
      inset 0 1px 2px rgba(255,255,255,.22),
      0 20px 50px rgba(0,0,0,.2);

}

body:not(.dark) .case-study:hover{

    background:
      linear-gradient(135deg,
        rgba(255, 107, 53, .10),
        rgba(255,255,255,.6));

    border-color: rgba(255, 107, 53, .15);

}

body.dark .case-study:hover{

    background:
      linear-gradient(135deg,
        rgba(255,255,255,.09),
        rgba(255,255,255,.06));

}

.case-study:hover::before{

    opacity:1;

}

.case-study-media{

    height:260px;

    background:linear-gradient(135deg,#000000,#3a3a3a);

}

.case-study-body{

    padding:50px;

}

.case-study-tag{

    display:inline-block;

    margin-bottom:16px;

    color:var(--accent);

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.12em;

}

.case-study-body h2{

    font-size:34px;

    letter-spacing:-.03em;

    margin-bottom:14px;

}

.case-study-body .lede{

    color:var(--muted);

    font-size:19px;

    margin-bottom:36px;

    max-width:100%;

}

.case-study-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    padding-top:30px;

    border-top:1px solid var(--border);

}

.case-study-grid h4{

    font-size:13px;

    text-transform:uppercase;

    letter-spacing:.1em;

    color:var(--accent);

    margin-bottom:10px;

}

.case-study-grid p{

    color:var(--muted);

    font-size:15px;

}

/* ===========================================================
   STANDARD CONTENT — TEAM
   <div class="team-grid">
     <article class="team-card">
       <div class="team-photo"></div>
       <h3>Name</h3>
       <span>Role</span>
       <p>Short bio</p>
     </article>
   </div>
=========================================================== */

.team-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.team-card{

    background:var(--surface);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

    border:1px solid var(--border);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    padding:36px;

    text-align:center;

    transition: all .5s cubic-bezier(.4,0,.2,1);

    position:relative;

    overflow:hidden;

}

.team-card::before{

    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.12), transparent 70%);
    opacity:0;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
    pointer-events:none;
    z-index:1;

}

.team-card:hover{

    transform: scale(1.08) translateY(-10px);

    box-shadow:
      inset 0 1px 2px rgba(255,255,255,.22),
      0 22px 55px rgba(0,0,0,.22);

}

body:not(.dark) .team-card:hover{

    background:
      linear-gradient(135deg,
        rgba(255, 107, 53, .11),
        rgba(255,255,255,.62));

    border-color: rgba(255, 107, 53, .18);

}

body.dark .team-card:hover{

    background:
      linear-gradient(135deg,
        rgba(255,255,255,.10),
        rgba(255,255,255,.07));

}

.team-card:hover::before{

    opacity:1;

}

.team-photo{

    width:110px;

    height:110px;

    border-radius:50%;

    margin:0 auto 22px;

    background:linear-gradient(135deg,#000000,#3a3a3a);

}

.team-card h3{

    font-size:20px;

    margin-bottom:6px;

}

.team-card span{

    display:block;

    color:var(--accent);

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.08em;

    margin-bottom:16px;

}

.team-card p{

    color:var(--muted);

    font-size:15px;

}

/* ===========================================================
   STANDARD CONTENT — CAREERS / JOB LISTINGS
   <div class="job-list">
     <article class="job-card">
       <div>
         <h3>Job Title</h3>
         <span class="job-meta">Kathmandu · Full-time</span>
       </div>
       <a href="mailto:...?subject=..." class="primary-btn">Apply</a>
     </article>
   </div>
=========================================================== */

.job-list{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.job-card{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:24px;

    background:var(--surface);

    backdrop-filter:var(--glass-blur);

    -webkit-backdrop-filter:var(--glass-blur);

    border:1px solid var(--border);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    padding:32px 36px;

    transition: all .5s cubic-bezier(.4,0,.2,1);

    position:relative;

    overflow:hidden;

}

.job-card::before{

    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(90deg, rgba(255,255,255,.08), transparent);
    opacity:0;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
    pointer-events:none;
    z-index:0;

}

.job-card:hover{

    transform: scale(1.06) translateY(-8px);

    box-shadow:
      inset 0 1px 2px rgba(255,255,255,.20),
      0 18px 45px rgba(0,0,0,.2);

}

body:not(.dark) .job-card:hover{

    background:
      linear-gradient(90deg,
        rgba(255, 107, 53, .10),
        rgba(255,255,255,.58));

    border-color: rgba(255, 107, 53, .15);

}

body.dark .job-card:hover{

    background:
      linear-gradient(90deg,
        rgba(255,255,255,.09),
        rgba(255,255,255,.06));

}

.job-card:hover::before{

    opacity:1;

}

.job-card h3{

    font-size:21px;

    margin-bottom:8px;

}

.job-meta{

    color:var(--muted);

    font-size:14px;

}

.job-card .primary-btn{

    flex-shrink:0;

    padding:13px 26px;

}

/* ===========================================================
   RESPONSIVE
   Breakpoints: 1100 → tablet | 780 → mobile-large | 480 → mobile
=========================================================== */

/* ── 1100px : tablet ──────────────────────────────────────── */
@media(max-width:1100px){

  .hero{
    grid-template-columns:1fr;
    text-align:center;
    gap:60px;
    padding:140px 24px 80px;
  }

  .hero-content{
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .hero-visual{
    height:460px;
  }

  .services-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .portfolio-grid{
    grid-template-columns:1fr;
    max-width:600px;
    margin-left:auto;
    margin-right:auto;
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:36px;
    text-align:center;
  }

  /* Center footer links that are block elements */
  .footer-grid div{
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .review-btn{
    margin-left:auto;
    margin-right:auto;
  }

  .team-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .case-study-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

/* ── 780px : mobile-large ─────────────────────────────────── */
@media(max-width:780px){

  /* ── Nav ── */
  .topnav{
    height:64px;
    padding:0 16px;
    width:calc(100% - 24px);
    top:12px;
    border-radius:20px;
  }

  .topnav.scrolled{
    top:8px;
  }

  .brand-text{
    display:none;
  }

  .brand img{
    width:36px;
    height:36px;
  }

  .floating-logo{
    top:14px;
    left:14px;
    width:40px;
    height:40px;
  }

  .floating-logo img{
    width:22px;
    height:22px;
  }

  /* Hamburger button */
  .nav-toggle-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:12px;
    border:1px solid var(--border);
    background:var(--surface);
    backdrop-filter:var(--glass-blur-sm);
    -webkit-backdrop-filter:var(--glass-blur-sm);
    cursor:pointer;
    font-size:20px;
    /* Ensure tappable */
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }

  /* Dropdown nav */
  .nav-links{
    position:fixed;
    top:84px;
    left:12px;
    right:12px;
    margin:auto;
    width:auto;
    flex-direction:column;
    gap:4px;
    background:var(--surface);
    backdrop-filter:var(--glass-blur);
    -webkit-backdrop-filter:var(--glass-blur);
    border:1px solid var(--border);
    border-radius:24px;
    padding:16px;
    box-shadow:var(--shadow-lg);
    display:none;
    z-index:999;
  }

  .nav-links.open{
    display:flex;
  }

  .nav-links li{
    width:100%;
  }

  .nav-links a{
    display:block;
    padding:14px 18px;
    border-radius:14px;
    font-size:16px;
    /* Larger tap target */
    min-height:48px;
    display:flex;
    align-items:center;
  }

  .contact-btn{
    /* Keep it but shrink on mobile-large */
    padding:10px 16px;
    font-size:14px;
  }

  .theme-toggle{
    width:38px;
    height:38px;
    font-size:17px;
  }

  /* ── Hero ── */
  .hero{
    padding:110px 20px 60px;
    gap:40px;
    min-height:auto;
  }

  .hero h1{
    font-size:clamp(36px,10vw,54px);
    line-height:1.0;
  }

  .hero p{
    font-size:17px;
  }

  .hero-tag{
    font-size:11px;
    padding:7px 14px;
  }

  .hero-visual{
    display:none;
  }

  .scroll-indicator{
    display:none;
  }

  /* ── Sections ── */
  .section{
    padding:70px 20px;
  }

  .section-heading{
    margin-bottom:48px;
  }

  .section-heading h2{
    font-size:clamp(28px,8vw,42px);
  }

  .section-heading p{
    font-size:16px;
  }

  /* ── Services ── */
  .services-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .service-card{
    padding:30px 24px;
  }

  .service-icon{
    font-size:34px;
    margin-bottom:20px;
  }

  .service-card h3{
    font-size:20px;
  }

  /* ── Portfolio ── */
  .portfolio-grid{
    grid-template-columns:1fr;
    max-width:100%;
    gap:22px;
  }

  .portfolio-image{
    height:180px;
  }

  .portfolio-content{
    padding:22px 20px;
  }

  .portfolio-content h3{
    font-size:20px;
  }

  /* ── Stats ── */
  .stats{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }

  .stat{
    padding:34px 20px;
  }

  .stat h2{
    font-size:44px;
  }

  /* ── Testimonial ── */
  .testimonial{
    padding:36px 24px;
  }

  .testimonial p{
    font-size:18px;
  }

  .quote{
    font-size:64px;
  }

  /* ── CTA ── */
  .cta-section{
    margin:60px 16px;
    padding:52px 24px;
    border-radius:28px;
  }

  .cta-section h2{
    font-size:clamp(28px,8vw,38px);
  }

  .cta-section p{
    font-size:16px;
  }

  /* ── Footer ── */
  footer{
    margin-top:60px;
    padding:50px 20px 30px;
  }

  .footer-grid{
    gap:28px;
  }

  .footer-grid h3{
    font-size:22px;
  }

  .footer-bottom{
    margin-top:36px;
    font-size:13px;
  }

  /* ── Inner pages ── */
  .container{
    padding:calc(var(--nav-h) + 50px) 20px 50px;
  }

  .container .placeholder{
    padding:28px 20px;
  }

  /* ── Case study ── */
  .case-study-body{
    padding:28px 20px;
  }

  .case-study-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .case-study-body h2{
    font-size:26px;
  }

  .case-study-body .lede{
    font-size:16px;
  }

  /* ── Team ── */
  .team-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .team-card{
    padding:28px 20px;
  }

  /* ── Jobs ── */
  .job-card{
    flex-direction:column;
    align-items:flex-start;
    padding:24px 20px;
    gap:18px;
  }

  .job-card .primary-btn{
    width:100%;
    text-align:center;
  }

  /* ── Buttons ── */
  .primary-btn,
  .secondary-btn{
    padding:14px 22px;
    font-size:15px;
    /* Minimum 44px tap target */
    min-height:48px;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }

}

/* ── 480px : small phones ─────────────────────────────────── */
@media(max-width:480px){

  .hero h1{
    font-size:clamp(32px,9vw,44px);
  }

  .hero p{
    font-size:16px;
  }

  .hero-actions{
    width:100%;
    flex-direction:column;
    gap:12px;
  }

  .primary-btn,
  .secondary-btn{
    width:100%;
    justify-content:center;
  }

  /* Contact button hidden — save nav space */
  .contact-btn{
    display:none;
  }

  .nav-right{
    gap:10px;
  }

  /* Stats 2-col stays on small phones, numbers shrink */
  .stat h2{
    font-size:38px;
  }

  .stat p{
    font-size:13px;
  }

  /* Disable cursor glow (no mouse on phone) */
  .cursor-glow{
    display:none;
  }

  /* Disable costly scale hover transforms on touch devices */
  .service-card:hover,
  .portfolio-card:hover,
  .stat:hover,
  .team-card:hover,
  .job-card:hover,
  .case-study:hover,
  .testimonial:hover,
  .glass-card:hover{
    transform:none;
  }

  .cta-section h2{
    font-size:clamp(24px,8vw,32px);
  }

  .section{
    padding:56px 16px;
  }

  .section-heading h2{
    font-size:clamp(26px,8vw,34px);
  }

  .testimonial p{
    font-size:16px;
  }

  .quote{
    font-size:52px;
  }

  /* Back-to-top button — move up from bottom edge */
  .back-top{
    right:16px !important;
    bottom:20px !important;
    width:44px !important;
    height:44px !important;
    font-size:18px !important;
  }

}

/* ── Touch devices: remove hover side-effects ──────────────
   Prevents sticky hover states on iOS/Android when tapping */
@media(hover:none){

  .service-card:hover,
  .portfolio-card:hover,
  .stat:hover,
  .team-card:hover,
  .job-card:hover,
  .case-study:hover,
  .testimonial:hover{
    transform:none;
    box-shadow:var(--shadow);
  }

  .glass-card:hover{
    transform:none;
  }

  .primary-btn:hover,
  .secondary-btn:hover,
  .contact-btn:hover{
    transform:none;
  }

  .brand:hover img{
    transform:none;
  }

}

/* ── Reduced motion ────────────────────────────────────────── */
@media(prefers-reduced-motion:reduce){

  *{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }

  .glass-card{
    animation:none;
  }

  .scroll-indicator span{
    animation:none;
  }

}