/* =========================================================
   StartupGrants India — Services Page (Dark + Yellow theme)
   Token system
   ========================================================= */
:root{
  /* --- colour --- */
  --bg:            #0B0B0D;
  --bg-soft:       #121214;
  --surface:       #17171A;
  --surface-hi:    #1E1E22;
  --border:        #2A2A2F;
  --border-soft:   #232327;

  --yellow:        #F5C518;
  --yellow-soft:   #FFE07A;
  --yellow-dim:    #A98B1E;
  --yellow-wash:   rgba(245,197,24,0.08);

  --text:          #F3F1E8;
  --text-muted:    #A6A5AC;
  --text-faint:    #6C6C74;

  /* --- type --- */
  --font-display:  'Fraunces', serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'IBM Plex Mono', monospace;

  /* --- shape --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }

img{ max-width: 100%; display: block; }

/* subtle grain / paper-stamp texture on the whole page */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(245,197,24,0.05), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(245,197,24,0.04), transparent 45%);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,13,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.logo-mark{
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--yellow);
  color: #14140F;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
}

.logo-text em{
  font-style: normal;
  color: var(--yellow);
}

.main-nav{
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a{
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.main-nav a:hover{ color: var(--text); }

.main-nav a.active{
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn{
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn:hover{ transform: translateY(-1px); }

.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover{ border-color: var(--yellow-dim); }

.btn-solid{
  background: var(--yellow);
  color: #14140F;
}

.btn-solid:hover{ background: var(--yellow-soft); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span{
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 32px 56px;
  text-align: center;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--yellow);
  margin: 0 0 18px;
}

.hero h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -0.5px;
}

.hero h1 span{
  font-style: italic;
  color: var(--yellow);
}

.hero-sub{
  max-width: 560px;
  margin: 0 auto 44px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

/* --- signature element: certified seal --- */
.hero-seal{
  width: 168px;
  height: 168px;
  margin: 0 auto 28px;
  animation: seal-drop .7s cubic-bezier(.2,.9,.25,1) both;
}

@keyframes seal-drop{
  from{ opacity: 0; transform: translateY(-14px) scale(.92) rotate(-8deg); }
  to{ opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

.seal-svg{ width: 100%; height: 100%; animation: seal-spin 34s linear infinite; }

@keyframes seal-spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

.seal-ring-outer{ fill: none; stroke: var(--yellow); stroke-width: 1.4; opacity: .9; }
.seal-ring-inner{ fill: none; stroke: var(--yellow-dim); stroke-width: 1; stroke-dasharray: 3 5; }

.seal-text{
  fill: var(--yellow-soft);
  font-family: var(--font-mono);
  font-size: 9.2px;
  letter-spacing: 2px;
}

.seal-number, .seal-label{
  animation: seal-counter-spin 34s linear infinite reverse;
  transform-origin: 100px 100px;
}

.seal-number{ fill: var(--text); font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.seal-label{ fill: var(--text-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 3px; }

@media (prefers-reduced-motion: reduce){
  .seal-svg, .seal-number, .seal-label{ animation: none; }
}

/* --- filter pills --- */
.filter-bar{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}

.pill{
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: all .18s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pill span{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 1px 7px;
}

.pill:hover{
  border-color: var(--yellow-dim);
  color: var(--text);
}

.pill.is-active{
  background: var(--yellow);
  border-color: var(--yellow);
  color: #14140F;
}

.pill.is-active span{
  background: rgba(0,0,0,0.15);
  color: #14140F;
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-section{
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 32px 40px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 20px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.card:hover{
  transform: translateY(-3px);
  border-color: var(--yellow-dim);
  background: var(--surface-hi);
}

.card-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.category{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.tag{
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.tag--expert{ background: var(--yellow); color: #14140F; }
.tag--recommended{ background: var(--yellow-wash); color: var(--yellow-soft); border: 1px solid var(--yellow-dim); }
.tag--popular{ background: var(--yellow-wash); color: var(--yellow-soft); border: 1px solid var(--yellow-dim); }

.card h3{
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.card p{
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
  flex-grow: 1;
}

.view-link{
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-link i{
  font-style: normal;
  transition: transform .18s ease;
}

.card:hover .view-link i{ transform: translateX(3px); }

/* featured card variants get a slim gold top border */
.card--expert, .card--recommended, .card--popular{
  border-top: 2px solid var(--yellow);
}

.empty-state{
  text-align: center;
  color: var(--text-faint);
  padding: 48px 0;
  font-size: 15px;
}

/* --- pagination --- */
.pagination{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-btn{
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.page-btn:hover:not(:disabled){ border-color: var(--yellow-dim); color: var(--yellow-soft); }

.page-btn:disabled{
  opacity: 0.4;
  cursor: not-allowed;
}

.page-status{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: var(--text-faint);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-soft);
  padding: 56px 32px 28px;
}

.footer-grid{
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p{
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 320px;
}

.footer-col h4{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow-soft);
  margin: 0 0 16px;
}

.footer-col a{
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color .18s ease;
}

.footer-col a:hover{ color: var(--yellow); }

.footer-bottom{
  max-width: 1240px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.disclaimer{ font-style: italic; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}

@media (max-width: 760px){
  .main-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    gap: 0;
    padding: 8px 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.is-open{ max-height: 260px; padding: 16px 32px; }
  .main-nav a{ padding: 12px 0; border-bottom: 1px solid var(--border-soft); }

  .header-actions .btn-ghost{ display: none; }
  .nav-toggle{ display: flex; }

  .hero{ padding: 56px 20px 40px; }
  .services-section{ padding: 16px 20px 32px; }
  .grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .site-footer{ padding: 40px 20px 24px; }
}



/* Complete Navigation CSS */



.top{
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(11,11,13,.88);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border-soft);
}

.top-inner{
    width:100%;
    max-width:100%;
    padding:16px 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:20px;
    font-weight:700;
    color:#fff;
}

.brand .dot{
    width:10px;
    height:10px;
    background:var(--yellow);
    transform:rotate(45deg);
    border-radius:2px;
}

/* Navigation */

.primary{
    display:flex;
    align-items:center;
    gap:28px;
}

.primary a{
    color:var(--text-muted);
    font-size:14px;
    font-weight:500;
    transition:.25s;
}

.primary a:hover{
    color:#fff;
}

/* Register */

.top-actions{
    display:flex;
    align-items:center;
}

.top-actions .btn{
    padding:10px 20px;
    border:none;
    border-radius:8px;
    background:var(--yellow);
    color:#111;
    font-weight:600;
    cursor:pointer;
}

/* Hamburger */

.menu-toggle{
    display:none;
    width:42px;
    height:42px;
    background:none;
    border:none;
    color:#fff;
    font-size:30px;
    cursor:pointer;
    margin-left:auto;
}

/* ==========================
   Mobile
========================== */

@media(max-width:880px){

.top-inner{
    flex-wrap:wrap;
    padding:15px 18px;
}

.menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
}

.primary{
    display:none;
    flex-direction:column;
    width:100%;
    margin-top:15px;
    background:#1a1a1c;
    border-radius:12px;
    overflow:hidden;
    gap:0;
}

.primary.active{
    display:flex;
}

.primary a{
    width:100%;
    padding:16px 20px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.primary a:last-child{
    border-bottom:none;
}

.top-actions{
    display:none;
    width:100%;
    margin-top:10px;
}

.top-actions.active{
    display:block;
}

.top-actions .btn{
    width:100%;
}

/* Hide old navigation */

.site-header{
    display:none;
}

.main-nav{
    display:none;
}

.header-actions{
    display:none;
}

.nav-toggle{
    display:none;
}

}

/* Desktop */

@media(min-width:881px){

.site-header{
    display:none;
}

}


/* slider cat css */

/* =====================================
   Mobile Filter Slider
===================================== */

@media (max-width:768px){

.filter-bar{

    display:flex;
    flex-wrap:nowrap;
    justify-content:flex-start;

    overflow-x:auto;
    overflow-y:hidden;

    gap:12px;

    width:100%;
    max-width:100%;

    margin-top:30px;
    padding:0 0 10px;

    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
}

.filter-bar::-webkit-scrollbar{
    display:none;
}

.filter-bar{
    scrollbar-width:none;
}

.pill{

    flex:0 0 auto;
    white-space:nowrap;

    scroll-snap-align:start;
}

}