/* ========================================
   SHARANANNGKAR CHAKMA — PORTFOLIO CSS
   ======================================== */

/* ---- VARIABLES ---- */
:root {
  --bg-dark:      #ffffff;
  --bg-card:      rgba(0,0,0,0.03);
  --bg-card-hover:rgba(0,0,0,0.06);
  --border:       rgba(0,0,0,0.08);
  --border-glow:  rgba(92,123,153,0.3);

  --teal:    #5c7b99;
  --teal-2:  #476380;
  --blue:    #2c4663;
  --purple:  #16283b;
  --text-1:  #0f172a;
  --text-2:  #475569;
  --text-3:  #64748b;

  --grad-main: linear-gradient(135deg, var(--teal), var(--blue));
  --grad-hero: linear-gradient(135deg, var(--teal), var(--blue), var(--purple));
  --shadow-glow: 0 8px 30px rgba(92,123,153,0.15);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --font-main: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: auto;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- CUSTOM CURSOR ---- */
.cursor-glow {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131,156,184,0.07) 0%, transparent 70%);
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: 0.08s ease;
}

/* ---- GLASS CARD ---- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* ---- GRADIENT TEXT ---- */
.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 8px 32px rgba(131,156,184,0.28);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(131,156,184,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
}
.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION COMMONS ---- */
.section {
  padding: 60px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(131,156,184,0.25);
  background: rgba(131,156,184,0.06);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-main);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-1);
}
.section-desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
}

/* ====================================
   NAVBAR
   ==================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 48px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-initials {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-1);
}
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-link {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--teal);
  background: rgba(131,156,184,0.08);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====================================
   HERO
   ==================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0.85) 100%
  );
}

/* floating particles */
.floating-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 48px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(131,156,184,0.3);
  background: rgba(131,156,184,0.07);
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(131,156,184,0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(131,156,184,0); }
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.title-line { display: block; }

.hero-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-desc strong { color: var(--text-1); }

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  backdrop-filter: blur(12px);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.stat-number {
  font-family: var(--font-main);
  font-size: 36px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 12px;
  color: var(--text-2);
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 0 8px;
}

/* HERO AVATAR */
.hero-avatar {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-ring-outer, .avatar-ring-inner {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(131,156,184,0.15);
  animation: spin-slow linear infinite;
}
.avatar-ring-outer {
  width: 380px; height: 380px;
  animation-duration: 20s;
  border-style: dashed;
}
.avatar-ring-inner {
  width: 300px; height: 300px;
  animation-duration: 15s;
  animation-direction: reverse;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.avatar-img-wrap {
  width: 240px; height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid;
  border-image: var(--grad-main) 1;
  box-shadow: 0 0 60px rgba(131,156,184,0.25), 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}
.avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.95) saturate(1.1);
}
.avatar-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(16px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: float-card 4s ease-in-out infinite;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.abc-icon { font-size: 22px; }
.abc-title { font-size: 13px; font-weight: 700; color: var(--text-1); }
.abc-sub   { font-size: 11px; color: var(--text-2); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: bounce-scroll 2s ease-in-out infinite;
}
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
.scroll-mouse {
  width: 26px; height: 40px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--teal);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
.scroll-indicator span { font-size: 11px; color: var(--text-3); letter-spacing: 1px; }

/* ====================================
   REVEAL ANIMATIONS
   ==================================== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: var(--delay, 0s);
}

/* ====================================
   ABOUT
   ==================================== */
.about-section { background: linear-gradient(180deg, var(--bg-dark) 0%, #f8fafc 100%); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.about-card {
  padding: 32px;
  text-align: center;
}
.about-photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}
.about-photo {
  width: 260px; height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(131,156,184,0.3);
  box-shadow: 0 0 40px rgba(131,156,184,0.15);
}
.photo-decoration {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(131,156,184,0.2);
  animation: spin-slow 20s linear infinite;
}
.about-info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  transition: var(--transition);
}
.chip:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(131,156,184,0.06);
}
.about-block {
  margin-bottom: 28px;
}
.about-heading {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-heading::before {
  content: '';
  width: 4px; height: 20px;
  background: var(--grad-main);
  border-radius: 2px;
  display: inline-block;
}
.about-text p {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1.8;
}
.about-text strong { color: var(--text-1); }
.career-goal-card {
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cg-icon { font-size: 28px; flex-shrink: 0; }
.career-goal-card h4 {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}
.career-goal-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.career-goal-card strong { color: var(--teal); }

/* ====================================
   SKILLS
   ==================================== */
.skills-section { background: #f8fafc; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.skill-card {
  padding: 32px 28px;
  text-align: center;
  transition-delay: var(--delay, 0s);
}
.skill-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
  animation: float-icon 3s ease-in-out infinite;
}
@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.skill-card h3 {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}
.skill-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.skill-bar-wrap {
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.skill-bar {
  height: 100%;
  width: 0;
  background: var(--grad-main);
  border-radius: 2px;
  transition: width 1.4s ease;
}

/* ====================================
   PROJECTS
   ==================================== */
.projects-section { background: linear-gradient(180deg, #f8fafc 0%, var(--bg-dark) 100%); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition-delay: var(--delay, 0s);
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.project-card:hover::before { transform: scaleX(1); }

.project-number {
  font-family: var(--font-main);
  font-size: 48px;
  font-weight: 800;
  color: rgba(0,0,0,0.04);
  position: absolute;
  top: 16px; right: 20px;
  line-height: 1;
  transition: color 0.3s;
}
.project-card:hover .project-number { color: rgba(131,156,184,0.08); }

.project-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.project-card h3 {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  line-height: 1.3;
}
.project-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 18px;
}
.project-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.project-meta span {
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 4px;
}
.project-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 20px;
  color: var(--text-3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-8px);
}
.project-card:hover .project-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--teal);
}

/* ====================================
   OBJECTIVES
   ==================================== */
.objectives-section { background: var(--bg-dark); }

.objectives-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.obj-item {
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition-delay: var(--delay, 0s);
}
.obj-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(131,156,184,0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(131,156,184,0.12);
}
.obj-item p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  padding-top: 4px;
}

/* ====================================
   CONTACT
   ==================================== */
.contact-section { background: #f8fafc; }

.contact-grid { display: flex; justify-content: center; align-items: center; }
.contact-card {
  padding: 36px;
  margin-bottom: 20px;
}
.contact-card h3 {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 28px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ci-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: rgba(131,156,184,0.07);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(131,156,184,0.12);
}
.ci-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}
.ci-value {
  font-size: 15px;
  color: var(--text-1);
  font-weight: 500;
  transition: color 0.3s;
}
.ci-value:hover { color: var(--teal); }

.available-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.avail-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
}
.available-card h4 {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.available-card p { font-size: 13px; color: var(--text-2); }

/* Form */
.contact-form {
  padding: 40px;
}
.contact-form h3 {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0,0,0,0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: rgba(131,156,184,0.04);
  box-shadow: 0 0 0 3px rgba(131,156,184,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
  font-size: 14px;
  text-align: center;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-content {
  text-align: center;
}
.footer .nav-brand {
  justify-content: center;
  margin-bottom: 12px;
  display: flex;
}
.footer-desc {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
  .hero-avatar { display: none; }
  .hero-content { max-width: 100%; padding: 0 32px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 20px; padding: 12px 28px; }
  .nav-toggle { display: flex; z-index: 1000; }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 20px; }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  .stat-divider { width: 60px; height: 1px; }
  .section { padding: 40px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 42px; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--teal), var(--blue));
  border-radius: 3px;
}


/* ===================================================
   MODAL STYLES
   =================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: rgba(30, 30, 40, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 600px;
  width: 90%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}


/* ===================================================
   HERO SOCIAL CARD
   =================================================== */
.hero-social-card {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 50px;
  display: flex;
  gap: 1rem;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite reverse;
}
.social-icon {
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  display: inline-block;
}
.social-icon:hover {
  transform: scale(1.2) translateY(-3px);
}
@media (max-width: 991px) {
  .hero-social-card {
    right: 50%;
    transform: translateX(50%);
    bottom: -10px;
  }
}

.project-detail-hero .hero-title {
  font-size: clamp(32px, 4vw, 48px);
}


