/* Premium biography website for Mohammad Sadiq Paswal */
:root {
  --primary: #0b1f3a;
  --secondary: #183b6b;
  --accent: #d4af37;
  --accent-soft: #f0dc97;
  --white: #ffffff;
  --text: #11233f;
  --muted: #5d6a7f;
  --surface: rgba(255, 255, 255, 0.12);
  --surface-strong: rgba(255, 255, 255, 0.2);
  --border: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 60px rgba(11, 31, 58, 0.2);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --nav-height: 82px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
background: linear-gradient(180deg, #fbffd8 0%, #ffffff 100%);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: 14px; z-index: 9999;
  background: var(--accent); color: var(--primary); padding: 12px 16px; border-radius: 999px;
}
.skip-link:focus { left: 14px; }
.loader {
  position: fixed; inset: 0; background: radial-gradient(circle at top, #1d4277 0%, #0b1f3a 45%, #071323 100%);
  display: grid; place-items: center; z-index: 9999; transition: opacity .6s ease, visibility .6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader p { color: rgba(255,255,255,.8); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.loader__ring {
  width: 74px; height: 74px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--accent); animation: spin 1s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mouse-glow {
  position: fixed; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.14) 0%, rgba(212,175,55,0) 68%);
  pointer-events: none; z-index: 1; transform: translate(-50%, -50%);
}
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: transform .35s ease, background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
.site-header.scrolled { background: rgba(11, 31, 58, 0.65); backdrop-filter: blur(18px); box-shadow: 0 12px 30px rgba(3, 10, 19, 0.15); }
.site-header.hidden-nav { transform: translateY(-100%); }
.nav-wrap {
  min-height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; position: relative; z-index: 1001; }
.brand__mark {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(240,220,151,.82)); color: var(--primary);
  font-weight: 700; box-shadow: 0 10px 24px rgba(212,175,55,.22);
}
.brand__text { font-size: .96rem; font-weight: 600; letter-spacing: .04em; }
.desktop-nav { display: flex; align-items: center; gap: 22px; }
.desktop-nav a, .mobile-nav a {
  color: rgba(255,255,255,.86); font-size: .95rem; position: relative; padding: 8px 0;
}
.desktop-nav a::after, .mobile-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.desktop-nav a:hover::after, .mobile-nav a:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none; width: 48px; height: 48px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; cursor: pointer; position: relative; z-index: 1001;
}
.nav-toggle span {
  position: absolute; left: 12px; width: 24px; height: 2px; background: #fff; transition: .3s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 31px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 23px; }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 23px; }
.mobile-nav {
  display: none; flex-direction: column; gap: 14px; padding: 0 16px 18px; background: rgba(11,31,58,.92); backdrop-filter: blur(18px);
}
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  color: #fff; padding-top: calc(var(--nav-height) + 24px);
}
.hero__bg {
  position: absolute; inset: 0;
background: linear-gradient(135deg, #0B1F3A 0%, #183B6B 55%, #D4AF37 100%);
}
.hero__particles, .hero__shapes, .vision__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__content {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center; gap: 44px; padding: 60px 0 80px;
}
.eyebrow, .section-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px);
  color: var(--accent-soft); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 600;
}
.hero h1, .section-heading h2, .vision blockquote, .site-footer h3 {
  font-family: 'Playfair Display', serif;
}
.hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: .95; margin: 22px 0 16px; }
.hero__typing {
  margin: 0 0 18px; font-size: clamp(1.05rem, 2vw, 1.6rem); color: #f9e8b0; min-height: 2.2rem; font-weight: 500;
}
.cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__desc { max-width: 640px; font-size: 1.04rem; line-height: 1.9; color: rgba(255,255,255,.88); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  position: relative; overflow: hidden; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.btn--primary {
  background: linear-gradient(135deg, #d4af37, #f7dc6f);
  color: #08172c;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 18px 40px rgba(212,175,55,.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #f7dc6f, #d4af37);
}
.btn--secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); backdrop-filter: blur(16px); }
.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .65s linear;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.1) 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(18px);
}
.hero__card { padding: 22px; border-radius: var(--radius-lg); }
.profile-frame {
  width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto 18px; padding: 10px;
  border-radius: 50%; background: linear-gradient(145deg, rgba(212,175,55,.55), rgba(255,255,255,.08));
}
.profile-frame img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid rgba(212,175,55,.75);  box-shadow: 0 15px 35px rgba(212,175,55,.25);
}
.profile-frame {
  position: relative;
}

.profile-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.28), transparent 70%);
  filter: blur(18px);
  z-index: -1;
}
.hero__meta {
  display: grid; gap: 16px; color: #fff;
}
.hero__meta span, .detail-card i, .achievement-card i, .contact-list i, .map-placeholder i { color: var(--accent); }
.hero__meta span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 5px; }
.hero__meta strong { font-size: .98rem; line-height: 1.5; }
.scroll-indicator {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.88); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator span {
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; position: relative;
}
.scroll-indicator span::before {
  content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; transform: translateX(-50%);
  border-radius: 999px; background: var(--accent); animation: scrollDot 1.5s infinite;
}
@keyframes scrollDot { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 16px); } }
.shape {
  position: absolute; border-radius: 50%; filter: blur(1px); opacity: .55;
  background: radial-gradient(circle, rgba(212,175,55,.35) 0%, rgba(212,175,55,0) 72%);
  animation: float 8s ease-in-out infinite;
}
.shape--one { width: 220px; height: 220px; top: 16%; right: 12%; }
.shape--two { width: 170px; height: 170px; bottom: 18%; left: 8%; animation-delay: -2s; }
.shape--three { width: 120px; height: 120px; top: 52%; left: 42%; animation-delay: -5s; }
@keyframes float { 50% { transform: translateY(-18px) translateX(8px); } }
.section { position: relative; padding: 110px 0; z-index: 2; }
.section-heading { margin-bottom: 26px; }
.section-heading.center { text-align: center; max-width: 860px; margin: 0 auto 34px; }
.section-heading h2 { margin: 18px 0 0; font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.06; color: var(--primary); }
.split-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.split-grid--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.image-card { border-radius: 28px; overflow: hidden; }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card--tall { min-height: 620px; }
.timeline-copy {
  display: grid; gap: 18px; border-left: 1px solid rgba(11,31,58,.14); padding-left: 24px;
}
.timeline-copy article { position: relative; padding: 16px 0 8px; }
.timeline-copy article::before {
  content: ''; position: absolute; left: -31px; top: 24px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 8px rgba(212,175,55,.12);
}
.timeline-copy h3, .detail-card h3, .timeline-panel h3, .achievement-card h3, .map-placeholder h3 {
  margin: 0 0 8px; font-size: 1.14rem; color: var(--primary);
}
.timeline-copy p, .detail-card p, .timeline-panel p, .achievement-card p, .vision blockquote, .contact-list span, .contact-list a, .map-placeholder p, .site-footer p {
  line-height: 1.9; color: var(--muted);
}
.details-grid, .achievement-grid, .gallery-grid {
  display: grid; gap: 20px;
}
.details-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.detail-card, .achievement-card, .timeline-panel, .contact-card, .map-card, .vision-card { border-radius: 26px; }
.detail-card, .achievement-card { padding: 28px 22px; transition: transform .35s ease, box-shadow .35s ease; }
.detail-card:hover, .achievement-card:hover, .gallery-item:hover { transform: translateY(-8px); }
.detail-card i, .achievement-card i { font-size: 1.55rem; margin-bottom: 18px; }
.skill-bars { display: grid; gap: 16px; }
.skill-item { padding: 18px 20px; background: rgba(255,255,255,.8); border: 1px solid rgba(11,31,58,.08); border-radius: 22px; box-shadow: 0 14px 34px rgba(11,31,58,.06); }
.skill-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--primary); font-weight: 600; }
.skill-track { height: 12px; border-radius: 999px; background: rgba(11,31,58,.08); overflow: hidden; }
.skill-fill {
  width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--secondary), var(--accent)); transition: width 1.2s ease;
}
.timeline-line { position: relative; max-width: 900px; margin: 0 auto; padding-left: 26px; }
.timeline-line::before { content: ''; position: absolute; left: 8px; top: 0; width: 2px; height: 100%; background: linear-gradient(180deg, var(--accent), rgba(24,59,107,.15)); }
.timeline-item { position: relative; padding: 0 0 26px 28px; }
.timeline-dot {
  position: absolute; left: -1px; top: 20px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 10px rgba(212,175,55,.14);
}
.timeline-panel { padding: 24px; background: rgba(255,255,255,.8); border: 1px solid rgba(11,31,58,.08); box-shadow: 0 18px 44px rgba(11,31,58,.08); }
.achievement-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vision {
  color: #fff; overflow: hidden;
}
.vision__bg {
  background:
    linear-gradient(120deg, rgba(11,31,58,.88), rgba(24,59,107,.72)),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}
.vision-card { position: relative; z-index: 2; padding: 44px; max-width: 920px; margin: 0 auto; text-align: center; }
.vision-card .section-tag { color: var(--accent-soft); border-color: rgba(255,255,255,.22); }
.vision blockquote { margin: 18px 0 0; font-size: clamp(1.5rem, 3vw, 2.7rem); line-height: 1.45; color: #fff; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item {
  padding: 0; border: 0; border-radius: 26px; overflow: hidden; cursor: pointer; background: #fff;
  box-shadow: 0 16px 38px rgba(11,31,58,.12); transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: top;
  background: #fff;
  transition: transform .55s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.contact-card, .map-card { padding: 34px; }
.contact-list { display: grid; gap: 18px; }
.contact-list div { display: flex; gap: 14px; align-items: flex-start; }
.contact-list i { margin-top: 7px; }
.map-placeholder {
  min-height: 100%; display: grid; place-items: center; text-align: center; padding: 30px;
  background: linear-gradient(145deg, rgba(11,31,58,.04), rgba(24,59,107,.08)); border-radius: 22px;
}
.map-placeholder i { font-size: 2.2rem; margin-bottom: 14px; }
.site-footer {
  background: #08172c; color: rgba(255,255,255,.82); padding: 48px 0 24px;
}
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer h3 { margin: 0 0 10px; color: #fff; font-size: 1.8rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a, .back-to-top {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--accent); border: 1px solid rgba(255,255,255,.08); transition: transform .3s ease, background .3s ease;
}
.footer-socials a:hover, .back-to-top:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.copyright { text-align: center; margin: 26px 0 0; color: rgba(255,255,255,.6); }
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; border: 0; cursor: pointer; z-index: 300;
  box-shadow: 0 18px 40px rgba(11,31,58,.22); opacity: 0; visibility: hidden; transform: translateY(12px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.lightbox {
  position: fixed; inset: 0; background: rgba(6, 12, 22, .9); display: grid; place-items: center;
  padding: 24px; z-index: 5000; opacity: 0; visibility: hidden; transition: .35s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 80vh; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lightbox__close {
  position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
}
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1100px) {
  .details-grid, .achievement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .mobile-nav.active { display: flex; }
  .hero__content, .split-grid, .split-grid--reverse, .contact-grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 520px; width: 100%; margin: 0 auto; }
  .details-grid, .achievement-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-card--tall { min-height: 460px; }
}
@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 22px)); }
  .section { padding: 84px 0; }
  .hero { min-height: auto; }
  .hero__content { padding: 50px 0 92px; }
  .hero h1 { font-size: 2.95rem; }
  .brand__text { display: none; }
  .details-grid, .achievement-grid, .gallery-grid { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .vision-card, .contact-card, .map-card, .hero__card { padding: 24px; }
  .timeline-line { padding-left: 18px; }
  .timeline-item { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.detail-card p,
.detail-card a {
    white-space: nowrap;
    font-size: 14px;
}
.detail-card {
    overflow: hidden;
}
.btn--primary{
    background: linear-gradient(135deg,#d4af37,#f7dc6f) !important;
    color:#08172c !important;
    border:1px solid rgba(255,255,255,.25) !important;
    box-shadow:0 18px 40px rgba(212,175,55,.35) !important;
}

.btn--primary:hover{
    background:linear-gradient(135deg,#f7dc6f,#d4af37) !important;
    transform:translateY(-5px) scale(1.03);
}