/*
Theme Name: SarkariPrint
Theme URI: https://sarkariprint.com/
Description: SarkariPrint.com के लिए custom Hindi government information theme.
Author: SarkariPrint
Version: 2.1
Text Domain: sarkariprint
*/

:root{
  --primary:#124e78;
  --primary-dark:#0b3655;
  --secondary:#f59e0b;
  --green:#16834b;
  --light:#f5f8fb;
  --white:#ffffff;
  --text:#17202a;
  --muted:#667085;
  --border:#e5eaf0;
  --shadow:0 8px 30px rgba(15,38,60,.08);
  --radius:16px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Noto Sans Devanagari",sans-serif;
  background:#fff;
  color:var(--text);
  line-height:1.6;
}

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

button,
input{
  font-family:inherit;
}

.container{
  width:92%;
  max-width:1180px;
  margin:0 auto;
}


/* =========================
   TOP BAR
========================= */

.topbar{
  background:var(--primary-dark);
  color:#fff;
  font-size:13px;
  padding:8px 0;
}

.topbar-inner{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  text-align:center;
}

.top-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}


/* =========================
   HEADER
========================= */

header{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:1000;
}

.navbar{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}

.logo{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:max-content;
}

.logo-icon{
  width:45px;
  height:45px;
  border-radius:12px;
  background:var(--primary);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:23px;
  font-weight:800;
}

.logo-text{
  font-size:22px;
  font-weight:800;
  color:var(--primary);
}

.logo-text span{
  color:var(--secondary);
}

nav{
  display:flex;
  align-items:center;
  gap:5px;
}

nav a{
  padding:10px 13px;
  font-size:14px;
  font-weight:600;
  border-radius:9px;
  transition:.2s;
  text-align:center;
}

nav a:hover{
  background:#eef6fb;
  color:var(--primary);
}

.menu-btn{
  display:none;
  border:0;
  background:var(--primary);
  color:#fff;
  padding:9px 12px;
  border-radius:8px;
  font-size:20px;
  cursor:pointer;
}


/* =========================
   HOMEPAGE HERO
========================= */

.hero{
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(245,158,11,.18),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #083b5c 0%,
      #125b85 60%,
      #16734f 100%
    );

  color:#fff;
  padding:48px 0 55px;
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:50px;
  text-align:center;
}

.hero-grid > div{
  text-align:center;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.2);
  padding:7px 13px;
  border-radius:30px;
  font-size:13px;
  margin:0 auto 18px;
}

.hero h1{
  font-size:clamp(32px,5vw,55px);
  line-height:1.18;
  margin-bottom:18px;
  font-weight:800;
  text-align:center;
}

.hero h1 span{
  color:#ffd166;
}

.hero p{
  color:rgba(255,255,255,.86);
  max-width:650px;
  font-size:17px;
  margin:0 auto 28px;
  text-align:center;
}


/* =========================
   SEARCH BOX
========================= */

.search-box{
  background:#fff;
  border-radius:14px;
  padding:7px;
  display:flex;
  max-width:650px;
  margin:0 auto;
  box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.search-box input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  padding:13px 15px;
  font-size:15px;
  color:#222;
  text-align:center;
}

.search-box button{
  border:0;
  background:var(--secondary);
  color:#111;
  padding:0 22px;
  border-radius:10px;
  font-weight:800;
  cursor:pointer;
}

.hero-buttons{
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
  justify-content:center;
}

.btn{
  padding:11px 18px;
  border-radius:9px;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  display:inline-block;
  text-align:center;
}

.btn-white{
  background:#fff;
  color:var(--primary);
}

.btn-outline{
  border-color:rgba(255,255,255,.45);
  color:#fff;
}


/* =========================
   HERO QUICK GRID
========================= */

.hero-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  padding:25px;
  border-radius:24px;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  text-align:center;
}

.hero-card h3{
  font-size:21px;
  margin-bottom:18px;
  text-align:center;
}

.quick-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:12px;
}

.quick-item{
  flex:0 0 calc(50% - 6px);
  max-width:calc(50% - 6px);

  background:rgba(255,255,255,.12);
  padding:14px;
  border-radius:12px;
  transition:.2s;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;
}

.quick-item:hover{
  background:rgba(255,255,255,.19);
  transform:translateY(-2px);
}

.quick-icon{
  font-size:25px;
  margin-bottom:4px;
}

.quick-item strong{
  display:block;
  font-size:14px;
}

.quick-item small{
  color:rgba(255,255,255,.72);
  font-size:11px;
}


/* =========================
   GENERAL SECTIONS
========================= */

section{
  padding:70px 0;
}

.section-head{
  text-align:center;
  max-width:700px;
  margin:0 auto 35px;
}

.section-head .small-title{
  color:var(--green);
  font-size:13px;
  font-weight:800;
  margin-bottom:6px;
  text-transform:uppercase;
}

.section-head h2{
  font-size:31px;
  line-height:1.25;
  margin-bottom:10px;
}

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


/* =========================
   HOMEPAGE SERVICE GRID
========================= */

.service-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:17px;
}

.service-card{
  flex:0 0 calc(25% - 12.75px);
  max-width:calc(25% - 12.75px);

  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  background:#fff;

  transition:.25s;
  box-shadow:0 3px 12px rgba(0,0,0,.03);

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;
}

.service-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
  border-color:#cbdde9;
}

.service-icon{
  width:50px;
  height:50px;

  display:grid;
  place-items:center;

  border-radius:13px;
  background:#eef6fb;

  font-size:25px;
  margin:0 auto 14px;
}

.service-card h3{
  font-size:17px;
  margin-bottom:5px;
  text-align:center;
}

.service-card p{
  color:var(--muted);
  font-size:12px;
  margin-bottom:13px;
  text-align:center;
}

.read-more{
  color:var(--primary);
  font-size:12px;
  font-weight:800;
  text-align:center;
}

/* =========================
   SCHEMES
========================= */

.gray-section{
  background:var(--light);
}

.latest-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:25px;
  align-items:stretch;
}

.scheme-list{
  display:grid;
  gap:13px;
}

.scheme-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:17px;

  display:flex;
  flex-direction:column;
  gap:15px;

  align-items:center;
  justify-content:center;

  transition:.2s;
  text-align:center;
}

.scheme-card:hover{
  box-shadow:var(--shadow);
}

.scheme-card > div{
  width:100%;
  text-align:center;
}

.scheme-icon{
  width:48px;
  height:48px;

  border-radius:12px;
  background:#fff5dd;

  display:grid;
  place-items:center;

  font-size:23px;
  flex-shrink:0;

  margin:0 auto;
}

.scheme-card h3{
  font-size:15px;
  margin-bottom:3px;
}

.scheme-card p{
  font-size:12px;
  color:var(--muted);
}

.tag{
  display:inline-block;
  font-size:10px;

  background:#eaf7ef;
  color:var(--green);

  padding:3px 8px;
  border-radius:20px;

  font-weight:700;
  margin-top:5px;
}


/* =========================
   NOTICE BOX
========================= */

.notice-box{
  background:var(--primary);
  color:#fff;

  border-radius:18px;
  padding:25px;

  height:100%;
  display:flex;
  flex-direction:column;
  text-align:center;
}

.notice-box h3{
  font-size:20px;
  margin-bottom:12px;
}

.notice-box p{
  font-size:13px;
  color:rgba(255,255,255,.8);
  margin-bottom:17px;
}

.notice-list{
  list-style:none;
  display:grid;
  gap:10px;
}

.notice-list li{
  padding:10px 12px;

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

  border-radius:8px;
  font-size:12px;

  text-align:center;
}


/* =========================
   STATE GRID
========================= */

.state-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:13px;
}

.state-card{
  flex:0 0 calc(20% - 10.4px);
  max-width:calc(20% - 10.4px);

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

  padding:17px 12px;
  border-radius:13px;

  font-weight:700;
  font-size:13px;

  transition:.2s;
  background:#fff;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;
}

.state-card span{
  display:block;
  font-size:25px;
  margin-bottom:5px;
}

.state-card:hover{
  background:#f3f9fc;
  border-color:#b9d3e2;
  transform:translateY(-3px);
}


/* =========================
   TOOLS
========================= */

.tools-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:15px;
}

.tool-card{
  flex:0 0 calc(25% - 11.25px);
  max-width:calc(25% - 11.25px);

  padding:20px;

  border-radius:14px;

  background:#fff;
  border:1px solid var(--border);

  text-align:center;
}

.tool-icon{
  font-size:30px;
  margin-bottom:8px;
}

.tool-card h3{
  font-size:14px;
}

.tool-card p{
  font-size:11px;
  color:var(--muted);
}


/* =========================
   WHY SARKARIPRINT
========================= */

.why{
  background:#f8fbfd;
}

.why-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:15px;
}

.why-card{
  flex:0 0 calc(25% - 11.25px);
  max-width:calc(25% - 11.25px);

  text-align:center;
  padding:20px;
}

.why-icon{
  font-size:34px;
  margin-bottom:10px;
}

.why-card h3{
  font-size:15px;
  margin-bottom:5px;
}

.why-card p{
  font-size:12px;
  color:var(--muted);
}


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

.cta{
  padding:0 0 70px;
}

.cta-box{
  background:
    linear-gradient(
      135deg,
      #0d4d73,
      #16834b
    );

  color:#fff;

  border-radius:22px;
  padding:42px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  gap:25px;

  text-align:center;
}

.cta-box h2{
  font-size:27px;
  margin-bottom:8px;
}

.cta-box p{
  color:rgba(255,255,255,.8);
  font-size:13px;
}


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

footer{
  background:#0b2436;
  color:#fff;

  padding:55px 0 20px;
}

.footer-grid{
  display:grid;

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

  gap:35px;

  padding-bottom:40px;

  text-align:center;
}

.footer-grid > div{
  text-align:center;
}

.footer-logo{
  font-size:22px;
  font-weight:800;

  margin-bottom:12px;
}

.footer-logo span{
  color:var(--secondary);
}

.footer-about{
  color:#aebfcb;

  font-size:12px;

  max-width:330px;

  margin:0 auto;
}

.footer-col h3{
  font-size:14px;
  margin-bottom:15px;
}

.footer-col a{
  display:block;

  color:#aebfcb;

  font-size:12px;

  margin-bottom:9px;
}

.footer-col a:hover{
  color:#fff;
}

.copyright{
  border-top:
    1px solid rgba(255,255,255,.1);

  padding-top:18px;

  color:#91a7b5;

  font-size:11px;

  display:flex;

  justify-content:center;
  align-items:center;

  gap:15px;

  flex-wrap:wrap;

  text-align:center;
}


/* =========================================================
   UNIVERSAL GOVERNMENT SERVICE PAGES
========================================================= */

.aadhaar-page,
.gov-service-page{
  background:#f7f9fc;
}


/* =========================
   SERVICE HERO
========================= */

.aadhaar-hero,
.gov-service-hero{
  padding:55px 0;

  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(245,158,11,.20),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #083b5c 0%,
      #125b85 58%,
      #16834b 100%
    );

  color:#fff;
}

.aadhaar-hero-inner,
.gov-service-hero-inner{
  max-width:850px;

  margin:0 auto;

  text-align:center;
}

.aadhaar-badge,
.gov-service-badge{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  gap:7px;

  padding:7px 14px;

  margin:0 auto 15px;

  border-radius:30px;

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

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

  font-size:13px;
  font-weight:600;
}

.aadhaar-hero h1,
.gov-service-hero h1{
  margin:0 0 10px;

  font-size:
    clamp(32px,5vw,48px);

  line-height:1.2;
  font-weight:800;

  text-align:center;
}

.aadhaar-hero p,
.gov-service-hero p{
  max-width:650px;

  margin:0 auto;

  color:
    rgba(255,255,255,.86);

  font-size:15px;

  line-height:1.7;

  text-align:center;
}


/* =========================
   SERVICE CONTENT
========================= */

.aadhaar-content-section,
.gov-service-content{
  padding:45px 0 70px;
}


/* =========================
   SERVICE NOTICE
========================= */

.aadhaar-notice,
.gov-service-notice{
  max-width:950px;

  margin:0 auto 38px;

  padding:16px 20px;

  border:
    1px solid #f3d28d;

  border-left:
    5px solid var(--secondary);

  border-radius:12px;

  background:#fff8e8;

  color:#59440c;

  font-size:14px;

  line-height:1.7;

  text-align:center;
}


/* =========================
   SERVICE HEADINGS
========================= */

.aadhaar-section-head,
.gov-service-section-head{
  max-width:760px;

  margin:0 auto 27px;

  text-align:center;
}

.aadhaar-section-head span,
.gov-service-section-head span{
  display:block;

  margin-bottom:5px;

  color:var(--green);

  font-size:12px;
  font-weight:800;

  text-transform:uppercase;
}

.aadhaar-section-head h2,
.gov-service-section-head h2{
  margin:0;

  font-size:28px;

  line-height:1.35;
}

.aadhaar-sub-heading,
.gov-service-sub-heading{
  margin-top:55px;
}


/* =========================
   UNIVERSAL SERVICE GRID
========================= */

.aadhaar-grid,
.gov-service-grid{
  display:flex;

  flex-direction:row;

  flex-wrap:wrap;

  justify-content:center;

  align-items:stretch;

  gap:16px;

  width:100%;
}

.aadhaar-card,
.gov-service-card{
  flex:
    0 0 calc(25% - 12px);

  max-width:
    calc(25% - 12px);

  min-width:0;

  min-height:180px;

  padding:21px;

  background:#fff;

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

  border-radius:16px;

  box-shadow:
    0 3px 12px rgba(0,0,0,.03);

  display:flex;

  flex-direction:column;

  align-items:center;

  justify-content:center;

  text-align:center;

  overflow:hidden;

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.aadhaar-card:hover,
.gov-service-card:hover{
  transform:translateY(-5px);

  border-color:#bbd5e5;

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

.aadhaar-icon,
.gov-service-icon{
  width:50px;
  height:50px;

  flex-shrink:0;

  display:grid;
  place-items:center;

  margin:0 auto 14px;

  border-radius:13px;

  background:#eef6fb;

  font-size:25px;
}

.aadhaar-card h3,
.gov-service-card h3{
  width:100%;

  margin:0 0 12px;

  color:var(--text);

  font-size:15px;

  line-height:1.5;

  font-weight:700;

  text-align:center;
}

.aadhaar-card > span,
.gov-service-card > span{
  width:100%;

  margin-top:auto;

  color:var(--primary);

  font-size:12px;

  font-weight:800;

  text-align:center;
}

.aadhaar-loan-card,
.gov-service-highlight{
  background:
    linear-gradient(
      135deg,
      #fffaf0,
      #fff
    );

  border-color:#f2d792;
}

.aadhaar-loan-card .aadhaar-icon,
.gov-service-highlight .gov-service-icon{
  background:#fff1c9;
}

/* =========================
   SERVICE INFO BOX
========================= */

.aadhaar-login-notice,
.gov-service-info{
  max-width:950px;

  margin:45px auto 28px;

  padding:17px 20px;

  border:1px solid #cfe1ed;

  border-radius:13px;

  background:#eef7fc;

  display:flex;

  flex-direction:column;

  align-items:center;

  justify-content:center;

  gap:12px;

  text-align:center;
}

.aadhaar-login-notice > span,
.gov-service-info > span{
  font-size:21px;
}

.aadhaar-login-notice p,
.gov-service-info p{
  margin:0;

  color:#315064;

  font-size:13px;

  line-height:1.7;

  text-align:center;
}


/* =========================
   OFFICIAL WEBSITE CARD
========================= */

.aadhaar-official-heading,
.gov-service-official-heading{
  margin-top:55px;
}

.aadhaar-official-card,
.gov-service-official-card{
  max-width:760px;

  margin:0 auto;

  padding:26px;

  border-radius:18px;

  background:
    linear-gradient(
      135deg,
      #0d4d73,
      #16834b
    );

  color:#fff;

  box-shadow:
    0 12px 30px rgba(15,38,60,.14);

  display:flex;

  flex-direction:column;

  align-items:center;

  justify-content:center;

  gap:22px;

  text-align:center;
}

.aadhaar-official-icon,
.gov-service-official-icon{
  width:72px;

  height:72px;

  flex-shrink:0;

  display:grid;

  place-items:center;

  border-radius:17px;

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

  font-size:35px;
}

.aadhaar-official-content,
.gov-service-official-content{
  width:100%;

  text-align:center;
}

.aadhaar-official-content h3,
.gov-service-official-content h3{
  margin:0 0 5px;

  color:#fff;

  font-size:20px;
}

.aadhaar-official-content p,
.gov-service-official-content p{
  margin:0 0 16px;

  color:
    rgba(255,255,255,.82);

  font-size:12px;

  line-height:1.6;
}

.aadhaar-official-buttons,
.gov-service-official-buttons{
  display:flex;

  gap:10px;

  flex-wrap:wrap;

  justify-content:center;
}

.aadhaar-version-btn,
.gov-service-official-btn{
  display:inline-flex;

  align-items:center;

  justify-content:center;

  min-width:130px;

  padding:10px 17px;

  border-radius:9px;

  font-size:13px;

  font-weight:800;

  text-align:center;

  transition:.2s;
}

.aadhaar-version-btn:hover,
.gov-service-official-btn:hover{
  transform:translateY(-2px);
}

.aadhaar-old-btn,
.gov-service-btn-white{
  background:#fff;

  color:var(--primary);
}

.aadhaar-new-btn,
.gov-service-btn-yellow{
  background:var(--secondary);

  color:#202020;
}


/* =========================
   NORMAL PAGE TITLE
========================= */

main.container > article > h1{
  text-align:center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:900px){

  .hero{
    padding:40px 0 45px;
  }

  nav{
    display:none;

    position:absolute;

    top:76px;

    left:0;

    right:0;

    background:#fff;

    padding:15px 4%;

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

    box-shadow:var(--shadow);

    flex-direction:column;

    align-items:stretch;
  }

  nav.active{
    display:flex;
  }

  nav a{
    text-align:center;
  }

  .menu-btn{
    display:block;
  }

  .hero-grid,
  .latest-grid{
    grid-template-columns:1fr;
  }


  /* Homepage grids */

  .service-grid,
  .state-grid,
  .tools-grid,
  .why-grid{
    gap:10px;
  }

  .service-card,
  .state-card,
  .tool-card,
  .why-card{
    flex:
      0 0 calc(50% - 5px);

    max-width:
      calc(50% - 5px);
  }


  /*
   Government service pages:
   2 cards per row.
   Incomplete row remains centered
   automatically through justify-content:center.
  */

  .aadhaar-grid,
  .gov-service-grid{
    gap:10px;
  }

  .aadhaar-card,
  .gov-service-card{
    flex:
      0 0 calc(50% - 5px);

    max-width:
      calc(50% - 5px);
  }


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

}


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

@media (max-width:600px){

  .topbar-inner{
    justify-content:center;
  }

  .top-links{
    display:none;
  }

  .navbar{
    min-height:68px;
  }

  .logo-icon{
    width:39px;

    height:39px;
  }

  .logo-text{
    font-size:19px;
  }

  nav{
    top:68px;
  }


  /* Homepage Hero */

  .hero{
    padding:32px 0 38px;
  }

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

  .search-box input{
    width:100%;

    padding:12px 10px;
  }

  .search-box button{
    padding:0 15px;
  }


  /* Homepage Cards */

  .service-card{
    padding:16px;
  }

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


  /* Government Service Hero */

  .aadhaar-hero,
  .gov-service-hero{
    padding:42px 0;
  }


  /* Government Service Content */

  .aadhaar-content-section,
  .gov-service-content{
    padding:35px 0 55px;
  }


  /* Heading */

  .aadhaar-section-head h2,
  .gov-service-section-head h2{
    font-size:23px;
  }


  /*
   IMPORTANT:
   Mobile पर भी 2-column ही रहेगा.
   360px, 375px, 390px, 412px आदि पर
   single-column नहीं होगा.
  */

  .aadhaar-grid,
  .gov-service-grid{
    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:10px;
  }

  .aadhaar-card,
  .gov-service-card{
    flex:
      0 0 calc(50% - 5px);

    max-width:
      calc(50% - 5px);

    min-height:165px;

    padding:15px;

    border-radius:13px;
  }


  /* Icons */

  .aadhaar-icon,
  .gov-service-icon{
    width:44px;

    height:44px;

    margin:0 auto 11px;

    font-size:22px;
  }


  /* Card Text */

  .aadhaar-card h3,
  .gov-service-card h3{
    font-size:13px;

    line-height:1.45;
  }

  .aadhaar-card > span,
  .gov-service-card > span{
    font-size:11px;
  }


  /* Notice */

  .aadhaar-notice,
  .gov-service-notice{
    padding:14px 16px;

    font-size:12px;
  }


  /* Official Website */

  .aadhaar-official-card,
  .gov-service-official-card{
    padding:21px;
  }

  .aadhaar-official-icon,
  .gov-service-official-icon{
    width:54px;

    height:54px;

    font-size:27px;
  }

  .aadhaar-official-buttons,
  .gov-service-official-buttons{
    width:100%;

    flex-direction:column;
  }

  .aadhaar-version-btn,
  .gov-service-official-btn{
    width:100%;
  }


  /* CTA */

  .cta-box{
    padding:28px 22px;
  }


  /* Footer */

  .footer-grid{
    grid-template-columns:
      1fr 1fr;

    gap:25px;
  }


  /* General */

  section{
    padding:55px 0;
  }

  .section-head h2{
    font-size:25px;
  }

}


/* =========================================================
   FINAL CROSS-BROWSER SAFETY
========================================================= */

/*
   किसी छोटे mobile browser के लिए
   1-column rule नहीं है.

   इसलिए 320px / 360px / 375px / 390px /
   412px आदि widths पर भी service cards
   2-column में रहेंगे.
*/

.aadhaar-grid,
.gov-service-grid{
  justify-content:center !important;
}


/*
   2, 3, 5, 6... जितने भी cards हों,
   अधूरी आखिरी row center में रहेगी.
*/

.aadhaar-card,
.gov-service-card{
  margin-left:0;
  margin-right:0;
}


/*
   सभी service cards का icon और text
   हमेशा center में.
*/

.aadhaar-card,
.gov-service-card,
.service-card,
.state-card,
.tool-card,
.why-card,
.quick-item{
  text-align:center;
}

.aadhaar-icon,
.gov-service-icon,
.service-icon{
  margin-left:auto;
  margin-right:auto;
}


/*
   VERY SMALL MOBILE
   फिर भी 2-column.
*/

@media (max-width:390px){

  .aadhaar-grid,
  .gov-service-grid{
    gap:8px;
  }

  .aadhaar-card,
  .gov-service-card{
    flex:
      0 0 calc(50% - 4px);

    max-width:
      calc(50% - 4px);

    padding:12px;

    min-height:155px;
  }

  .aadhaar-card h3,
  .gov-service-card h3{
    font-size:12px;

    line-height:1.4;
  }

}

/* =========================================
   HOMEPAGE BOTTOM VIEW-ALL BUTTONS
========================================= */

.section-bottom-cta{
    width:100%;
    display:flex;
    justify-content:center;
    margin-top:28px;
}

.section-bottom-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:230px;
    padding:13px 24px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--green)
    );

    color:#fff;
    border-radius:12px;

    font-size:14px;
    font-weight:800;

    box-shadow:
        0 8px 22px rgba(18,78,120,.16);

    transition:.2s;
}

.section-bottom-btn:hover{
    transform:translateY(-2px);

    box-shadow:
        0 10px 26px rgba(18,78,120,.22);
}


/* Extra useful content inside blue box */

.desktop-notice-extra{
    margin-top:28px;
    padding-top:22px;

    border-top:
        1px solid rgba(255,255,255,.18);
}

.desktop-notice-extra h4{
    margin-bottom:12px;

    font-size:15px;
    line-height:1.5;

    text-align:center;
}

.desktop-notice-extra p{
    margin-bottom:14px;

    font-size:12px;
    line-height:1.75;

    color:rgba(255,255,255,.85);
}

.desktop-notice-extra p:last-child{
    margin-bottom:0;
}


/* Homepage hero spacing */
.hero h1{
    margin-bottom:12px;
}

.hero p{
    margin-bottom:20px;
}

.hero-buttons{
    margin-top:14px;
}


@media (max-width:600px){
    .section-bottom-cta{
        margin-top:20px;
    }

    .section-bottom-btn{
        width:100%;
        min-width:0;
        max-width:320px;

        padding:12px 16px;

        font-size:13px;
    }

}

/* Mobile par जरूरी सूचना box hide */
@media (max-width:600px){
    .notice-box{
        display:none !important;
    }
}

/* =========================================================
   SEARCH POPUP
========================================================= */

.sp-search-popup{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.sp-search-popup.active{
    display:flex;
}

.sp-search-overlay{
    position:absolute;
    inset:0;
    background:rgba(10,20,35,.60);
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
}

.sp-search-modal{
    position:relative;
    z-index:2;
    width:100%;
    max-width:600px;
    padding:34px 28px 28px;
    background:#fff;
    border-radius:18px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,.24);
}

.sp-search-close{
    position:absolute;
    top:12px;
    right:12px;

    width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;
    border:0;
    border-radius:50%;

    background:#f1f3f5;
    color:#222;

    font-size:25px;
    line-height:1;

    cursor:pointer;
}

.sp-search-modal h2{
    margin:0 0 6px;
    font-size:26px;
}

.sp-search-modal > p{
    margin:0 0 20px;
    color:#667085;
    font-size:14px;
}

.sp-search-modal form{
    display:flex;
    width:100%;

    overflow:hidden;

    background:#fff;

    border:2px solid #e1e5ea;
    border-radius:12px;
}

.sp-search-modal form:focus-within{
    border-color:var(--green);
}

.sp-search-modal input[type="search"]{
    flex:1;
    min-width:0;
    height:54px;

    padding:0 16px;

    border:0;
    outline:0;

    background:transparent;

    font-family:inherit;
    font-size:16px;
}

.sp-search-modal form button[type="submit"]{
    min-width:100px;

    padding:0 22px;

    border:0;

    background:var(--green);
    color:#fff;

    font-family:inherit;
    font-size:14px;
    font-weight:800;

    cursor:pointer;
}

body.sp-search-open{
    overflow:hidden;
}

/* CTA button is now a button, not link */
button.open-search-popup{
    font-family:inherit;
    cursor:pointer;
    border:0;
}


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

@media(max-width:600px){

    .sp-search-popup{
        padding:15px;
    }

    .sp-search-modal{
        padding:32px 15px 22px;
        border-radius:15px;
    }

    .sp-search-modal h2{
        font-size:21px;
    }

    .sp-search-modal > p{
        font-size:12px;
    }

    .sp-search-modal form{
        display:block;
        overflow:visible;
        border:0;
        background:transparent;
    }

    .sp-search-modal input[type="search"]{
        width:100%;
        height:52px;

        border:2px solid #e1e5ea;
        border-radius:10px;

        background:#fff;
    }

    .sp-search-modal input[type="search"]:focus{
        border-color:var(--green);
    }

    .sp-search-modal form button[type="submit"]{
        width:100%;
        height:48px;

        margin-top:8px;

        border-radius:10px;
    }

}

/* =========================================================
   UNIVERSAL STATE HUB DESIGN
========================================================= */

.state-hub-page .gov-service-content{
    padding-top:28px;
}


/* क्या आप जानते हैं */

.state-fact-hero{
    display:flex;
    align-items:center;
    gap:18px;

    max-width:900px;
    margin:0 auto 30px;

    padding:22px 24px;

    background:var(--state-soft);
    border:1px solid var(--state-accent);
    border-left:5px solid var(--state-accent);

    border-radius:16px;
}

.state-fact-icon{
    flex:0 0 auto;

    width:58px;
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff;
    border-radius:50%;

    font-size:29px;
}

.state-fact-content{
    min-width:0;
}

.state-fact-content strong{
    display:block;

    margin-bottom:5px;

    color:var(--state-accent);

    font-size:17px;
    font-weight:800;
}

.state-fact-content p{
    margin:0;

    color:#475569;

    font-size:14px;
    line-height:1.75;
}


/* State heading */

.state-main-heading{
    max-width:850px;

    margin:0 auto 28px;

    text-align:center;
}

.state-main-heading h1{
    display:inline-block;

    margin:0 0 13px;

    padding:10px 20px;

    background:var(--state-soft);

    border:1px solid var(--state-accent);
    border-radius:12px;

    color:var(--state-accent);

    font-size:28px;
    line-height:1.35;
    font-weight:800;
}

.state-main-heading p{
    max-width:720px;

    margin:0 auto;

    color:#64748b;

    font-size:14px;
    line-height:1.75;
}


/* Two options */

.state-option-grid{
    width:100%;
    max-width:none;
    margin-left:auto;
    margin-right:auto;
}

.state-option-grid .gov-service-card{
    border-top:3px solid var(--state-accent);
}


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

@media(max-width:600px){

    .state-hub-page .gov-service-content{
        padding-top:20px;
    }

    .state-fact-hero{
        align-items:flex-start;

        gap:12px;

        margin-bottom:22px;

        padding:16px 14px;

        border-radius:13px;
    }

    .state-fact-icon{
        width:45px;
        height:45px;

        font-size:23px;
    }

    .state-fact-content strong{
        font-size:15px;
    }

    .state-fact-content p{
        font-size:12px;
        line-height:1.65;
    }

    .state-main-heading{
        margin-bottom:20px;
    }

    .state-main-heading h1{
        padding:8px 13px;

        font-size:20px;
        border-radius:10px;
    }

    .state-main-heading p{
        font-size:12px;
        line-height:1.65;
    }

}

/* Grid ke baad Jankari section me gap */
.state-kaam-content .gov-service-grid + .gov-service-section-head,
.state-schemes-content .gov-service-grid + .gov-service-section-head,
.sarkariprint-service-page .gov-service-grid + .gov-service-section-head{
    margin-top:36px !important;
}


/* Sirf "जानकारी" / section label ko bada kare */
.state-kaam-content .gov-service-section-head > span,
.state-schemes-content .gov-service-section-head > span,
.sarkariprint-service-page .gov-service-section-head > span{
    font-size:18px !important;
    font-weight:700 !important;
}


/* Mobile */
@media(max-width:600px){

    .state-kaam-content .gov-service-grid + .gov-service-section-head,
    .state-schemes-content .gov-service-grid + .gov-service-section-head,
    .sarkariprint-service-page .gov-service-grid + .gov-service-section-head{
        margin-top:28px !important;
    }

    .state-kaam-content .gov-service-section-head > span,
    .state-schemes-content .gov-service-section-head > span,
    .sarkariprint-service-page .gov-service-section-head > span{
        font-size:16px !important;
    }
}

/* =========================================================
   SEARCH PAGE
========================================================= */

.sp-search-page{
    padding:32px 0 50px;
}

.sp-search-head{
    margin-bottom:24px;
}

.sp-search-head h1{
    margin:0 0 8px;
    font-size:28px;
    line-height:1.4;
}

.sp-search-head p{
    margin:0;
    color:#64748b;
    font-size:14px;
}


/* Search box */

.sp-search-form{
    display:flex;
    gap:8px;
    margin:20px 0 28px;
}

.sp-search-form input{
    flex:1;
    min-width:0;
    height:46px;
    padding:0 14px;
    border:1px solid #dbe2ea;
    border-radius:10px;
    background:#fff;
    font-size:15px;
    outline:none;
}

.sp-search-form input:focus{
    border-color:#0db760;
}

.sp-search-form button{
    min-width:95px;
    height:46px;
    padding:0 17px;
    border:0;
    border-radius:10px;
    background:#0db760;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}


/* Results */

.sp-search-results{
    display:grid;
    gap:12px;
}


/* PURA RESULT CLICKABLE */

.sp-search-result-card{
    display:block;
    padding:17px 18px;

    background:#fff;

    border:1px solid #e2e8f0;
    border-radius:12px;

    color:#172033;
    text-decoration:none !important;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.sp-search-result-card:hover{
    border-color:#b8dfca;
    box-shadow:0 5px 18px rgba(15,23,42,.06);
    transform:translateY(-1px);
}

.sp-search-result-card:focus-visible{
    outline:3px solid rgba(13,183,96,.2);
    outline-offset:2px;
}


.sp-search-type{
    display:inline-block;
    margin-bottom:5px;

    color:#0b9d51;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
}


.sp-search-result-card h2{
    margin:0 0 6px;
    color:#172033;
    font-size:18px;
    line-height:1.45;
}


.sp-search-result-card p{
    margin:0;
    color:#64748b;
    font-size:13px;
    line-height:1.65;
}


.sp-search-open{
    display:inline-block;
    margin-top:8px;
    color:#087e43;
    font-size:13px;
    font-weight:700;
}


/* No result */

.sp-no-search-result{
    padding:25px 18px;
    text-align:center;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:12px;
}


/* Pagination */

.sp-search-pagination{
    margin-top:28px;
    text-align:center;
}

.sp-search-pagination .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:38px;
    height:38px;
    padding:0 9px;
    margin:3px;

    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:8px;

    color:#334155;
    text-decoration:none;
}

.sp-search-pagination .current{
    background:#0db760;
    border-color:#0db760;
    color:#fff;
}


@media(max-width:600px){

    .sp-search-page{
        padding:22px 0 40px;
    }

    .sp-search-head h1{
        font-size:22px;
    }

    .sp-search-result-card{
        padding:14px;
    }

    .sp-search-result-card h2{
        font-size:16px;
    }

}

/* =========================================================
   SERVICE GRID - DESKTOP ONLY
   Always four equal cards per row.
========================================================= */

@media (min-width:901px){

    .gov-service-page .gov-service-grid{
        display:grid !important;
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:16px !important;
        width:100% !important;
    }

    .gov-service-page .gov-service-grid > .gov-service-card{
        grid-column:auto !important;
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
    }

}
