/* ==========================================================================
   DuminduDK Portfolio — Figma Theme & Professional Design System
   Exact colors, gradients, glassmorphism & typography matching Figma UI
========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=Inter:ital,wght@0,300..700;1,300..700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Colors from Figma UI */
  --bg-dark:          #08080f;
  --bg-nav:           rgba(8, 8, 15, 0.88);
  --bg-card:          rgba(255, 255, 255, 0.03);
  --bg-card-hover:    rgba(255, 255, 255, 0.06);
  --border-glass:     rgba(255, 255, 255, 0.07);
  --border-violet:    rgba(124, 58, 237, 0.25);
  --border-violet-h:  rgba(124, 58, 237, 0.55);

  /* Primary Brand Violet Scale */
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-glow: rgba(124, 58, 237, 0.35);

  /* Secondary Cyan / Teal Scale */
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-glow: rgba(6, 182, 212, 0.3);

  /* Accent Pink / Gold */
  --pink-400: #f0abfc;
  --gold-400: #f59e0b;

  /* Typography */
  --text-primary:   #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Fonts */
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 20px 50px rgba(0,0,0,0.6);
  --shadow-violet: 0 0 32px rgba(124, 58, 237, 0.4);
  --shadow-cyan: 0 0 32px rgba(6, 182, 212, 0.4);

  /* Transitions */
  --trans-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-med:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base & Reset
========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.35); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet-600); }

/* ==========================================================================
   CUSTOM GLASSMORPHIC LANGUAGE SELECTOR (WITH SVG COUNTRY FLAGS)
========================================================================== */
.official-flag-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-lang-select {
  position: relative;
  display: inline-block;
}

.custom-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--trans-bounce);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.custom-lang-btn:hover, .custom-lang-select.open .custom-lang-btn {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--violet-400);
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.45);
  transform: translateY(-2px);
}

.active-flag {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron-icon {
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.custom-lang-select.open .chevron-icon {
  transform: rotate(180deg);
}

.custom-lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: 190px;
  background: rgba(10, 8, 24, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(124, 58, 237, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: var(--trans-bounce);
  z-index: 1050;
}

.custom-lang-select.open .custom-lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--trans-fast);
  color: #cbd5e1;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
}

.lang-option-item:hover {
  background: rgba(124, 58, 237, 0.2);
  color: #ffffff;
  transform: translateX(4px);
}

.lang-option-item.active {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-300);
  font-weight: 700;
}

.check-icon {
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-option-item.active .check-icon {
  opacity: 1;
}

/* Mobile Language Buttons Grid inside Drawer */
.mobile-lang-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans-fast);
}

.mobile-lang-btn.active, .mobile-lang-btn:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: var(--violet-400);
  color: #ffffff;
}

/* ==========================================================================
   Typography & Shimmer Effects
========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* FAST DYNAMIC COLOR GRADING ANIMATION ON "DUMINDU" */
.hero-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 25%, #67e8f9 50%, #f0abfc 75%, #ffffff 100%) 0 0 / 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerMove 2s linear infinite;
}

.violet-gradient-text {
  background: linear-gradient(135deg, #c4b5fd 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, #a5f3fc 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes shimmerMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   Reusable UI Components & Glass Cards
========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.badge-violet {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-400);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  margin-bottom: 1.25rem;
  width: fit-content;
  max-width: max-content;
  align-self: flex-start;
}

.badge-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-300);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  margin-bottom: 1.25rem;
  width: fit-content;
  max-width: max-content;
  align-self: flex-start;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--trans-med);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 58, 237, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans-med);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6d28d9, #7c3aed, #8b5cf6);
  color: #ffffff;
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6, #a78bfa);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(124, 58, 237, 0.65);
  border-color: rgba(167, 139, 250, 0.8);
}

.btn-cyan {
  background: linear-gradient(135deg, #0891b2, #06b6d4, #22d3ee);
  color: #08080f;
  font-weight: 800;
  border: 1px solid rgba(103, 232, 249, 0.4);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.4);
}

.btn-cyan:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(6, 182, 212, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.18);
  border-color: var(--violet-400);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Navbar (PC Desktop Default) */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; transition: var(--trans-med);
}

.navbar.scrolled {
  padding: 0.75rem 0; background: var(--bg-nav); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #7c3aed, #06b6d4); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; box-shadow: 0 0 15px rgba(124, 58, 237, 0.5); }
.nav-logo-text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; background: linear-gradient(135deg, #ffffff, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 0.4rem; list-style: none; }
.nav-links a { padding: 0.5rem 1rem; font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; border-radius: 8px; transition: var(--trans-fast); }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }

.nav-actions-wrap { display: flex; align-items: center; gap: 0.85rem; }

.mobile-toggle { display: none; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-glass); border-radius: 8px; padding: 0.5rem; color: var(--text-primary); cursor: pointer; }
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8, 8, 15, 0.98); backdrop-filter: blur(30px); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; }
.mobile-nav.active { display: flex; }
.mobile-nav a { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--text-secondary); text-decoration: none; }

/* PC Desktop Hero Layout */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 7.5rem; padding-bottom: 4rem; overflow: hidden; }
.hero-glow-blob-1 { position: absolute; top: -10%; right: -5%; width: 580px; height: 580px; background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, transparent 70%); filter: blur(100px); pointer-events: none; }
.hero-glow-blob-2 { position: absolute; bottom: 5%; left: -5%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%); filter: blur(100px); pointer-events: none; }
.hero-grid-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 50px 50px; mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%); pointer-events: none; }
.hero-content-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; position: relative; z-index: 2; }
.hero-text-col { display: flex; flex-direction: column; }
.hero-name { font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.08; margin-bottom: 0.5rem; }
.hero-username { font-family: var(--font-mono); font-size: 1.25rem; color: var(--cyan-300); font-weight: 600; margin-bottom: 1.25rem; }
.hero-role { font-size: 1.15rem; color: var(--text-secondary); font-weight: 500; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.6rem; }
.hero-tagline { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 2rem; max-width: 560px; }

/* PC Desktop Social Strip Position (At bottom of text column) */
.hero-social-prominent-wrapper { margin-top: 1.75rem; }
.social-strip-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-300); margin-bottom: 0.85rem; }
.hero-social-strip-large { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }

.social-large-btn {
  position: relative; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1.5px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: center; text-decoration: none; color: #e2e8f0; transition: var(--trans-bounce); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.social-large-btn svg { width: 26px; height: 26px; fill: currentColor; transition: var(--trans-fast); }
.social-large-btn:hover { transform: translateY(-5px) scale(1.1); }
.social-large-btn.fb-hover:hover { background: rgba(24, 119, 242, 0.25); border-color: #1877f2; color: #ffffff; box-shadow: 0 10px 30px rgba(24, 119, 242, 0.5); }
.social-large-btn.ig-hover:hover { background: rgba(225, 48, 108, 0.25); border-color: #e1306c; color: #ffffff; box-shadow: 0 10px 30px rgba(225, 48, 108, 0.5); }
.social-large-btn.wa-hover:hover { background: rgba(37, 211, 102, 0.25); border-color: #25d366; color: #ffffff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5); }
.social-large-btn.li-hover:hover { background: rgba(10, 102, 194, 0.25); border-color: #0a66c2; color: #ffffff; box-shadow: 0 10px 30px rgba(10, 102, 194, 0.5); }
.social-large-btn.vk-hover:hover { background: rgba(0, 119, 181, 0.25); border-color: #0077b5; color: #ffffff; box-shadow: 0 10px 30px rgba(0, 119, 181, 0.5); }
.social-large-btn.tg-hover:hover { background: rgba(0, 136, 204, 0.25); border-color: #0088cc; color: #ffffff; box-shadow: 0 10px 30px rgba(0, 136, 204, 0.5); }

.social-tooltip {
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%) scale(0.8); background: rgba(8, 8, 15, 0.95); border: 1px solid rgba(124, 58, 237, 0.4); color: #ffffff; font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--trans-fast);
}
.social-large-btn:hover .social-tooltip { opacity: 1; transform: translateX(-50%) scale(1); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-portrait-wrap { position: relative; display: flex; justify-content: center; }
.portrait-frame-card { position: relative; width: 370px; height: 470px; border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(160deg, rgba(124, 58, 237, 0.18), rgba(8, 8, 15, 0.95)); border: 1px solid rgba(124, 58, 237, 0.35); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 58, 237, 0.25); }

/* ZOOMED PORTRAIT PHOTO WITH HIGHER FOCUS */
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.4);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portrait-frame-card:hover .portrait-img {
  transform: scale(1.48);
}

.portrait-overlay-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 15, 0.85) 100%); pointer-events: none; }
.portrait-badge-chip { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); background: rgba(8, 8, 15, 0.85); backdrop-filter: blur(16px); border: 1px solid rgba(124, 58, 237, 0.4); border-radius: 999px; padding: 0.5rem 1.25rem; font-size: 0.82rem; font-weight: 600; color: var(--cyan-300); white-space: nowrap; }

/* About & Skills */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text-content p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }
.highlight-text { color: var(--text-primary); font-weight: 600; }
.stats-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.stat-box { padding: 1.75rem; text-align: center; border-radius: var(--radius-md); }
.stat-number { font-family: var(--font-head); font-size: 2.75rem; font-weight: 800; background: linear-gradient(135deg, #a78bfa, #67e8f9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 800; margin-bottom: 0.75rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.skills-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.skill-category-card { padding: 1.75rem; }
.skill-cat-title { display: flex; align-items: center; gap: 0.75rem; font-size: 1.05rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--text-primary); }
.skill-cat-icon { display: inline-flex; align-items: center; justify-content: center; }
.skill-tags-wrapper { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.skill-chip { font-size: 0.82rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgba(124, 58, 237, 0.12); border: 1px solid rgba(124, 58, 237, 0.25); color: #c4b5fd; transition: var(--trans-fast); }
.skill-chip:hover { background: rgba(124, 58, 237, 0.3); border-color: var(--violet-400); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   SRI LANKA EXPORT DASHBOARD
========================================================================== */
.srilanka-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 50%, rgba(124, 58, 237, 0.1) 0%, rgba(8, 8, 15, 1) 75%);
  overflow: hidden;
}

.srilanka-dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: start;
}

.map-dashboard-card {
  position: relative;
  height: 620px;
  padding: 0;
  background: rgba(10, 8, 22, 0.95);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-lk-badge { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(124, 58, 237, 0.18); border: 1px solid rgba(167, 139, 250, 0.4); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.82rem; font-weight: 700; color: #c4b5fd; z-index: 15; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); }
.map-compass-mark { position: absolute; top: 4.2rem; right: 1.5rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 1px; z-index: 15; opacity: 0.7; }
.compass-arrow { font-size: 0.9rem; color: var(--cyan-300); }

.map-scale-bar { position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 15; }
.scale-line { width: 70px; height: 2px; background: var(--text-muted); position: relative; }
.scale-line::before, .scale-line::after { content: ''; position: absolute; top: -3px; width: 2px; height: 8px; background: var(--text-muted); }
.scale-line::before { left: 0; }
.scale-line::after { right: 0; }
.scale-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); margin-top: 0.35rem; }

.map-pins-container { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.dashboard-map-img { max-width: 400px; height: auto; max-height: 550px; object-fit: contain; filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.6)) drop-shadow(0 0 65px rgba(6, 182, 212, 0.4)); mix-blend-mode: screen; }
.map-lines-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

.map-pin-item { position: absolute; z-index: 20; cursor: pointer; display: flex; align-items: center; transition: var(--trans-bounce); }
.pin-dot { width: 16px; height: 16px; border-radius: 50%; position: relative; box-shadow: 0 0 15px currentColor; flex-shrink: 0; transition: var(--trans-bounce); }

.tea-dot { background: #34d399; color: #34d399; }
.gems-dot { background: #f59e0b; color: #f59e0b; }
.coconut-dot { background: #06b6d4; color: #06b6d4; }
.spices-dot { background: #ef4444; color: #ef4444; }
.coffee-dot { background: #f0abfc; color: #f0abfc; }
.cinnamon-dot { background: #10b981; color: #10b981; }

.pin-radar-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; transform: scale(0.6); transition: var(--trans-med); }
.map-pin-item:hover .pin-radar-ring, .map-pin-item.active .pin-radar-ring { opacity: 1; transform: scale(1.6); animation: radarPulse 2s infinite; }
@keyframes radarPulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }

.pin-label-box { background: rgba(10, 8, 24, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1.5px solid rgba(255, 255, 255, 0.16); border-radius: 12px; padding: 0.45rem 0.85rem; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8); white-space: nowrap; transition: var(--trans-med); z-index: 25; }
.label-right { margin-left: 12px; }
.label-left { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
.map-pin-item:hover .pin-label-box, .map-pin-item.active .pin-label-box { border-color: #34d399 !important; box-shadow: 0 12px 35px rgba(52, 211, 153, 0.4) !important; }
.pin-label-title { font-size: 0.84rem; font-weight: 700; color: #ffffff; line-height: 1.2; }
.pin-label-sub { font-size: 0.72rem; color: #34d399; font-weight: 600; margin-top: 2px; }

.map-capital-marker { position: absolute; display: flex; align-items: center; gap: 0.4rem; background: rgba(8, 8, 15, 0.88); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; padding: 0.2rem 0.65rem; z-index: 10; opacity: 0.8; }
.capital-dot { width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; }
.capital-text { font-size: 0.75rem; font-family: var(--font-mono); color: var(--text-secondary); }

.dashboard-right-col { display: flex; flex-direction: column; gap: 1.5rem; }
.product-preview-card { padding: 0; border-radius: var(--radius-xl); overflow: hidden; background: rgba(12, 10, 24, 0.95); border: 1px solid rgba(124, 58, 237, 0.35); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7); transition: var(--trans-med); }
.preview-img-container { position: relative; width: 100%; height: 220px; overflow: hidden; }
.preview-img-container img { width: 100%; height: 100%; object-fit: cover; transition: var(--trans-med); }
.preview-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(12, 10, 24, 0.98) 100%); }
.preview-title-overlay { position: absolute; bottom: 1rem; left: 1.5rem; right: 1.5rem; z-index: 2; }
.preview-title-overlay h3 { font-size: 1.65rem; font-weight: 800; color: #ffffff; margin-bottom: 0.2rem; }
.preview-location-text { font-size: 0.88rem; font-weight: 700; color: #34d399; }
.preview-card-body { padding: 1.5rem; }
.preview-card-body p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.25rem; }
.preview-inquire-btn { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.92rem; font-weight: 700; color: #34d399; text-decoration: none; transition: var(--trans-fast); }
.preview-inquire-btn:hover { color: #a7f3d0; transform: translateX(5px); }

.looking-to-source-card { padding: 1.75rem; background: rgba(12, 10, 24, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-xl); }
.source-card-title { font-size: 1.25rem; font-weight: 800; color: #ffffff; margin-bottom: 0.4rem; }
.source-card-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.25rem; }
.btn-purple-cta { display: flex; align-items: center; justify-content: center; width: 100%; padding: 0.9rem; border-radius: 16px; background: linear-gradient(135deg, #7c3aed, #8b5cf6); color: #ffffff; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 1px solid rgba(167, 139, 250, 0.4); box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4); transition: var(--trans-bounce); }
.btn-purple-cta:hover { background: linear-gradient(135deg, #8b5cf6, #a78bfa); transform: translateY(-3px); box-shadow: 0 12px 35px rgba(124, 58, 237, 0.6); }

.export-banner-card { padding: 4rem 2.5rem; text-align: center; background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.08)); border: 1px solid rgba(124, 58, 237, 0.3); border-radius: var(--radius-xl); position: relative; overflow: hidden; }
.export-banner-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; }
.export-banner-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 680px; margin: 0 auto 2.25rem; line-height: 1.75; }

/* Contact Section & Form Styling */
.contact-grid-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-channels { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.25rem; }
.channel-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.1rem 1.5rem; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border-glass); color: var(--text-primary); text-decoration: none; transition: var(--trans-med); }
.channel-card:hover { background: rgba(124, 58, 237, 0.1); border-color: rgba(124, 58, 237, 0.4); transform: translateX(6px); }
.channel-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(124, 58, 237, 0.15); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--violet-400); }

.social-grid-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.social-box { padding: 1rem; text-align: center; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border-glass); text-decoration: none; color: var(--text-secondary); transition: var(--trans-bounce); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.social-box:hover { background: rgba(124, 58, 237, 0.15); border-color: var(--violet-400); color: #fff; transform: translateY(-4px); box-shadow: 0 10px 25px rgba(124, 58, 237, 0.25); }
.social-box svg { width: 22px; height: 22px; fill: currentColor; }

.digital-biz-card { padding: 2.5rem; border-radius: var(--radius-xl); background: linear-gradient(160deg, rgba(124, 58, 237, 0.18), rgba(8, 8, 15, 0.95)); border: 1px solid rgba(124, 58, 237, 0.35); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), var(--shadow-violet); position: relative; }
.biz-header-row { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.biz-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid var(--violet-400); box-shadow: 0 0 20px rgba(124, 58, 237, 0.5); flex-shrink: 0; }
.biz-avatar img { width: 100%; height: 100%; object-fit: cover; }
.biz-name { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); }
.biz-role { font-size: 0.82rem; color: var(--violet-400); }
.biz-handle { font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan-300); }

/* RESEND CONTACT FORM STYLING (ULTRA PREMIUM FIGMA GLASSMORPHISM) */
.contact-form-container {
  background: rgba(18, 14, 36, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--violet-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.input-with-icon {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--cyan-300);
  pointer-events: none;
  display: flex;
  align-items: center;
  z-index: 2;
}

.form-input, .form-select, .form-textarea {
  display: block;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.95rem 1.1rem 0.95rem 2.8rem;
  background: rgba(10, 8, 22, 0.95) !important;
  border: 1.5px solid rgba(124, 58, 237, 0.35) !important;
  border-radius: 14px !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff !important;
  outline: none;
  transition: var(--trans-fast);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.form-textarea {
  padding: 0.95rem 1.1rem !important;
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.1rem center !important;
  cursor: pointer;
}

.form-select option {
  background-color: #0b0918 !important;
  color: #ffffff !important;
  padding: 12px;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #64748b;
  opacity: 0.8;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #a78bfa !important;
  background: rgba(15, 12, 32, 0.98) !important;
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.45) !important;
}

.form-status-alert {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.form-status-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #6ee7b7;
}

.form-status-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 4.5rem 0 2.5rem; background: #05050a; }
.footer-top-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3.5rem; margin-bottom: 3.5rem; }
.footer-brand-title { font-size: 1.6rem; font-weight: 800; background: linear-gradient(135deg, #fff, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.5rem; }
.footer-brand-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; max-width: 320px; }
.footer-col-head { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-primary); margin-bottom: 1.25rem; }
.footer-links-list { display: flex; flex-direction: column; gap: 0.65rem; list-style: none; }
.footer-links-list a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: var(--trans-fast); }
.footer-links-list a:hover { color: var(--violet-400); }
.footer-bottom-bar { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
   EXACT MOBILE RESPONSIVE SYSTEM (ONLY IN MOBILE / TABLETS <= 992px)
   DESKTOP (PC) IS 100% UNCHANGED AND RESTORED TO ITS ORIGINAL LAYOUT!
========================================================================== */

@media (max-width: 992px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4.5rem 0; }
  .hero { padding-top: 6.25rem; padding-bottom: 3rem; }

  /* Navbar Right Action Controls (Lang Button + Hamburger Side-By-Side on Mobile) */
  .nav-actions-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }
  .custom-lang-select {
    display: inline-block !important;
  }
  .custom-lang-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
  }
  .nav-links, .nav-cta-btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero Content Grid (Flex Column Order for Mobile ONLY) */
  .hero-content-grid {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    align-items: center;
  }

  /* ORDER #1 ON MOBILE: PORTRAIT PHOTO CARD */
  .hero-portrait-wrap {
    order: 1;
    width: 100%;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
  }

  .portrait-frame-card {
    width: 100%;
    max-width: 350px;
    height: 440px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(124, 58, 237, 0.35);
  }

  .portrait-img {
    transform: scale(1.35);
  }

  /* ORDER #2 ON MOBILE: HERO TEXT COLUMN */
  .hero-text-col {
    order: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
  }

  /* Re-order elements inside text column on Mobile ONLY via CSS Flex Order */
  .hero-text-col .badge-violet {
    order: 1;
    align-self: flex-start;
    margin-bottom: 1.25rem;
  }

  .hero-text-col .hero-name {
    order: 2;
    font-size: clamp(2.4rem, 7.5vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 0.4rem;
  }

  .hero-text-col .hero-username {
    order: 3;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
  }

  /* Move Social Media Strip UP directly under @DuminduDK on Mobile ONLY */
  .hero-text-col .hero-social-prominent-wrapper {
    order: 4;
    margin-top: 0;
    margin-bottom: 1.25rem;
  }

  .hero-text-col .social-strip-label {
    display: none;
  }

  .hero-text-col .hero-social-strip-large {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .social-large-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
  }

  .social-large-btn svg {
    width: 22px;
    height: 22px;
  }

  .hero-text-col .hero-role {
    order: 5;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
  }

  .hero-text-col .hero-tagline {
    order: 6;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .hero-text-col .hero-ctas {
    order: 7;
    width: 100%;
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  /* Other Sections Mobile Grid Adjustments */
  .about-grid, .srilanka-dashboard-grid, .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .map-dashboard-card {
    height: 520px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Extra Small Mobile Devices (< 480px) */
@media (max-width: 480px) {
  .hero-name { font-size: 2.1rem; }
  .portrait-frame-card { max-width: 300px; height: 380px; }
  .portrait-img { transform: scale(1.3); }
  .map-dashboard-card { height: 440px; }
  .dashboard-map-img { max-width: 280px; max-height: 380px; }
}
