@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --site-primary: #3b3b39;
  --bg-dark: #121211;
  --accent-orange: #f15722;
  --accent-orange-hover: #d84714;
  --accent-teal: #2c8f8f;
  --accent-teal-hover: #227575;
  --text-white: #ffffff;
  --text-muted: #b0b0b8;
  --text-dim: #787880;
  --glass-bg: rgba(59, 59, 57, 0.45);
  --glass-border: rgba(241, 87, 34, 0.2);
  --card-bg: #222220;
}

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

html, body {
  width: 100%;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* Fixed Canvas background */
#frame-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5; /* 50% visibility for dark brand overlay contrast */
  filter: brightness(0.65) contrast(1.1);
}

/* Main Content Overlay - Constrained within frame bounds */
.content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Header Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 12px 24px;
  background: rgba(30, 30, 28, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(241, 87, 34, 0.15);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 32px;
  max-height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(241, 87, 34, 0.3));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(241, 87, 34, 0.5));
}

.brand-monogram {
  width: 38px;
  height: 38px;
  background: var(--accent-orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(241, 87, 34, 0.4);
  transition: transform 0.25s ease;
  overflow: hidden;
  padding: 2px;
}

.brand-monogram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.3px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent-teal);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

.mobile-share-link {
  display: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 30px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--accent-orange);
  background: rgba(241, 87, 34, 0.12);
  border: 1px solid rgba(241, 87, 34, 0.35);
  font-weight: 700;
}

.active-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-teal);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-icon-btn:hover {
  background: rgba(241, 87, 34, 0.18);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(241, 87, 34, 0.1);
  border: 1px solid rgba(241, 87, 34, 0.3);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
  white-space: nowrap;
}

.lang-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.nav-lang-btn:hover {
  border-color: var(--accent-orange);
  background: rgba(241, 87, 34, 0.22);
  box-shadow: 0 4px 14px rgba(241, 87, 34, 0.25);
}

.btn-pill-orange-cta {
  background: var(--accent-orange);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 18px rgba(241, 87, 34, 0.35);
  white-space: nowrap;
}

.btn-pill-orange-cta:hover {
  transform: translateY(-2px);
  background: var(--accent-orange-hover);
  box-shadow: 0 6px 24px rgba(241, 87, 34, 0.5);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.active {
  background: rgba(241, 87, 34, 0.2);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding: 140px 24px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(255, 84, 18, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.hero-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-teal);
  background: rgba(44, 143, 143, 0.15);
  border: 1px solid rgba(44, 143, 143, 0.35);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  display: inline-block;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(50px, 6.5vw, 90px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--text-white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-right {
  padding-top: 36px;
}

.hero-statement {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 420px;
}

/* Feature items row at bottom of hero */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-item {
  display: flex;
  flex-direction: column;
}

.feature-number {
  color: var(--accent-teal);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.feature-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-white);
}

/* Trusted Brands / Platforms Bar */
.brands-section {
  padding: 20px 24px 60px;
}

.brands-bar {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  padding: 32px 40px;
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.brands-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 180px;
  line-height: 1.45;
}

.brands-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.3px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-item:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--accent-orange);
}

.brand-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Section 2: About & Professional Summary */
.behind-designs-section {
  padding: 80px 24px 100px;
  position: relative;
}

.behind-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 64px;
}

.section-accent-tag {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  display: block;
  letter-spacing: -0.2px;
}

.behind-title {
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text-white);
}

.behind-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.behind-lead {
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.behind-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}

.behind-subtext {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.btn-pill-orange {
  background: var(--accent-orange);
  color: #ffffff;
  padding: 8px 8px 8px 24px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 8px 24px rgba(255, 84, 18, 0.3);
}

.btn-pill-orange:hover {
  transform: translateY(-2px);
  background: var(--accent-orange-hover);
}

.icon-arrow-white {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  transition: transform 0.25s ease;
}

.btn-pill-orange:hover .icon-arrow-white {
  transform: translateX(2px);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-item {
  border-radius: 28px;
  overflow: hidden;
  background: #141417;
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-item:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-tag {
  color: var(--accent-orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

/* Professional Experience Section */
.experience-section {
  padding: 100px 24px;
  position: relative;
}

.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 48px;
}

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

.timeline-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 36px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 84, 18, 0.4);
}

.timeline-role {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.timeline-meta {
  display: inline-block;
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-list li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.timeline-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

/* Skills & Software Section */
.skills-section {
  padding: 100px 24px;
  position: relative;
}

.skills-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.skills-box {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 36px;
}

.box-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.software-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.software-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.software-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-white);
}

.software-badge {
  background: rgba(255, 84, 18, 0.15);
  color: var(--accent-orange);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 84, 18, 0.3);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.skill-tag:hover {
  background: rgba(255, 84, 18, 0.2);
  border-color: var(--accent-orange);
  color: var(--text-white);
}

/* Education & Languages Section */
.edu-section {
  padding: 100px 24px;
}

.edu-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.edu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.edu-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.edu-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.edu-year {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 14px;
}

.lang-box {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px;
}

/* Contact Footer Section - Full Width Background */
.contact-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 24px 36px;
  background: rgba(8, 8, 10, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  box-sizing: border-box;
}

.footer-inner-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 54px;
}

.brand-col .footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.footer-logo-img {
  height: 28px;
  max-height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 2px 8px rgba(241, 87, 34, 0.3));
}

.brand-col .footer-logo span {
  color: var(--accent-orange);
}

.footer-bio {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 24px;
}

.social-links-row {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: rgba(255, 84, 18, 0.18);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-white);
  border-left: 3px solid var(--accent-orange);
  padding-left: 10px;
  margin-bottom: 20px;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact-link.highlight {
  color: var(--accent-orange);
  font-weight: 600;
}

.footer-contact-link:hover {
  color: var(--text-white);
}

.link-icon {
  color: var(--accent-orange);
  flex-shrink: 0;
}

.footer-entities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright-text {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.created-by-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.created-label {
  color: var(--text-muted);
  font-size: 12.5px;
}

.created-badge {
  background: rgba(18, 18, 22, 0.9);
  border: none;
  padding: 4px 12px 4px 5px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.created-badge:hover {
  transform: translateY(-2px);
  background: rgba(44, 143, 143, 0.15);
}

.created-fb-icon {
  width: 20px;
  height: 20px;
  background: var(--accent-teal);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.created-badge:hover .created-fb-icon {
  transform: scale(1.1);
  background: var(--accent-teal-hover);
}

/* Consultation Pop-up Form Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0d0d10;
  border: 1px solid rgba(255, 84, 18, 0.45);
  border-radius: 24px;
  width: 100%;
  max-width: 500px;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 0 35px rgba(255, 84, 18, 0.25), 0 24px 64px rgba(0, 0, 0, 0.9);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 84, 18, 0.2);
  color: var(--accent-orange);
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal-form-group {
  margin-bottom: 18px;
}

.modal-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.modal-input,
.modal-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px 14px 46px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.modal-textarea {
  padding-left: 46px;
  resize: vertical;
  min-height: 85px;
}

.modal-input:focus,
.modal-textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 84, 18, 0.04);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.btn-confirm-submit {
  width: 100%;
  background: var(--accent-orange);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(255, 84, 18, 0.4);
}

.btn-confirm-submit:hover {
  transform: translateY(-2px);
  background: var(--accent-orange-hover);
  box-shadow: 0 8px 24px rgba(255, 84, 18, 0.6);
}

.btn-send-whatsapp {
  width: 100%;
  background: #00c853;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.35);
}

.btn-send-whatsapp:hover {
  transform: translateY(-2px);
  background: #00b248;
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.5);
}

/* Multi-page Pages Styling (Projects & Blog) */
.page-header-banner {
  padding: 130px 24px 40px;
  text-align: center;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  padding: 16px 24px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(255, 84, 18, 0.18);
  border-color: var(--accent-orange);
  color: #ffffff;
}

.search-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 8px 16px;
  color: #ffffff;
  font-size: 13.5px;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-orange);
}

/* Blog Cards Grid (3 Columns) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.blog-card {
  background: #141418;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border-color: rgba(255, 84, 18, 0.3);
}

.blog-card-img-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card-img-link:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-category-tag {
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-views-count {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-weight: 600;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--accent-orange);
}

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

/* Pagination Bar */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 40px 0 80px;
}

.page-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.page-btn:hover,
.page-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 84, 18, 0.4);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .navbar, .hero-section, .brands-section, .behind-designs-section,
  .experience-section, .skills-section, .edu-section, .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-top, .behind-header, .timeline-grid, .skills-wrapper, .edu-grid, .contact-container, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-right {
    padding-top: 0;
  }
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .cards-grid, .edu-cards, .blog-grid {
    grid-template-columns: 1fr;
  }
  .card-item {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 992px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  /* Hide header bar share button on mobile/tablet (moved inside hamburger drawer) */
  #share-btn {
    display: none !important;
  }

  .nav-menu {
    position: fixed;
    top: 58px;
    left: 0;
    width: 100%;
    background: rgba(34, 34, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(241, 87, 34, 0.25);
    padding: 16px 20px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  }

  .nav-menu.mobile-open {
    display: flex;
    animation: fadeInDown 0.25s ease;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 8px;
    align-items: stretch;
  }

  .nav-link {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
  }

  .mobile-share-link {
    display: flex !important;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  /* Mobile background: Enable canvas animation with full screen cover and 50% opacity */
  #frame-canvas {
    display: block !important;
    opacity: 0.5;
  }

  body {
    background: radial-gradient(circle at 50% 20%, rgba(241, 87, 34, 0.15) 0%, rgba(44, 143, 143, 0.10) 45%, #121211 85%) !important;
    background-attachment: fixed !important;
  }

  .navbar {
    padding: 8px 10px;
  }

  .brand-logo-img {
    height: 22px !important;
    max-height: 22px !important;
    max-width: 75px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }

  .footer-logo-img {
    height: 20px !important;
    max-height: 20px !important;
    max-width: 70px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }

  .brand-name {
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 6.5px;
    letter-spacing: 0.4px;
  }

  .nav-brand {
    gap: 6px;
    flex-shrink: 1;
  }

  .nav-actions {
    gap: 5px;
  }

  /* Hide language text on mobile - Icon only */
  .nav-lang-btn #lang-btn-text {
    display: none !important;
  }

  .nav-lang-btn {
    padding: 6px 7px !important;
    font-size: 12px;
    gap: 0;
    border-radius: 50% !important;
    width: 32px;
    height: 32px;
    justify-content: center;
  }

  .btn-pill-orange-cta {
    padding: 6px 11px;
    font-size: 11.5px;
    gap: 4px;
  }

  .mobile-menu-btn {
    width: 32px;
    height: 32px;
  }
  /* Mobile Section Padding & Spacing Optimization */
  .hero-section {
    padding: 90px 16px 36px !important;
    min-height: auto !important;
  }

  .hero-top {
    margin-top: 10px !important;
    gap: 20px !important;
  }

  .hero-title {
    font-size: clamp(38px, 11vw, 54px) !important;
    margin-bottom: 12px;
  }

  .hero-statement {
    font-size: 20px !important;
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: 14.5px !important;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 16px !important;
    margin-top: 36px !important;
    padding-top: 24px !important;
  }

  .behind-designs-section,
  .experience-section,
  .skills-section,
  .edu-section,
  .contact-section {
    padding: 40px 16px !important;
  }

  .section-title {
    font-size: 28px !important;
    margin-bottom: 20px !important;
  }

  .brands-section {
    padding: 20px 16px !important;
  }

  .brands-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px !important;
    gap: 14px !important;
  }

  .brands-logos {
    gap: 16px !important;
  }

  .timeline-grid,
  .skills-wrapper,
  .edu-grid,
  .contact-container,
  .footer-grid {
    gap: 24px !important;
  }

  .footer-grid {
    padding-bottom: 28px !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .page-header-banner {
    padding: 90px 16px 24px !important;
  }
}

/* Sub-page Ambient Background & Floating Sparkle Animation */
.subpage-bg {
  background: radial-gradient(circle at 50% 15%, rgba(255, 84, 18, 0.15) 0%, rgba(8, 8, 12, 0.98) 65%);
  position: relative;
  min-height: 100vh;
}

.sparkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange), 0 0 20px #ffffff;
  animation: floatSparkle 6s infinite ease-in-out;
  opacity: 0;
}

@keyframes floatSparkle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  50% { opacity: 0.8; transform: translateY(40vh) scale(1.6); }
  100% { transform: translateY(-10vh) scale(0); opacity: 0; }
}

