/* ==========================================================================
   GAGANA C P — EXCLUSIVE PORTFOLIO DESIGN SYSTEM
   Modern, Mobile-First, Recruiter-Focused Developer Theme
   ========================================================================== */

:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #0f172a;
  --bg-card: rgba(17, 24, 39, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.75);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(56, 189, 248, 0.35);
  --border-focus: #38bdf8;

  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-main);
  --font-mono: 'Fira Code', Consolas, Monaco, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.2);
  --shadow-btn: 0 4px 14px rgba(56, 189, 248, 0.3);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(99, 102, 241, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #818cf8 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.accent-link {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.accent-link:hover {
  color: #7dd3fc;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header.align-left {
  text-align: left;
  margin-bottom: 2rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.title-bar {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo));
  margin: 0.85rem auto 0;
  border-radius: var(--radius-full);
}
.section-header.align-left .title-bar {
  margin: 0.85rem 0 0;
}

.section-subtext {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0.85rem auto 0;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  background: rgba(10, 15, 29, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  letter-spacing: -0.02em;
}
.logo-accent {
  color: var(--accent-cyan);
}
.logo-dot {
  color: var(--accent-purple);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-outline-nav {
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-normal);
}
.btn-outline-nav:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}
.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--text-primary);
  transition: all var(--transition-normal);
  border-radius: 2px;
}
.nav-toggle.open .hamburger-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .hamburger-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer Menu */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}
.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.drawer-link:hover {
  color: var(--accent-cyan);
}
.drawer-btn {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(30, 41, 59, 0.85);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}
.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.95);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--border-highlight);
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}
.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
}
.btn-icon-only {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon-only:hover {
  color: var(--accent-cyan);
  border-color: var(--border-highlight);
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero Section */
.hero-section {
  padding: 9rem 0 5rem;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.35rem;
}
.status-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.role-divider {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 0.35rem;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 2.75rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.stat-card {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.15;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Hero Headshot Wrapper */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-backdrop-glow {
  position: absolute;
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(99, 102, 241, 0.2) 60%, transparent 80%);
  filter: blur(40px);
  z-index: 1;
}
.image-frame {
  position: relative;
  z-index: 2;
  width: 320px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: var(--bg-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-normal);
}
.image-frame:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Floating Tech Badges */
.floating-tech-badge {
  position: absolute;
  z-index: 3;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-card);
  animation: float 4s ease-in-out infinite alternate;
}
.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-blue { background: var(--accent-cyan); }
.dot-green { background: var(--accent-emerald); }

.badge-python {
  top: 15%;
  left: -20px;
}
.badge-iot {
  bottom: 12%;
  right: -20px;
  animation-delay: 2s;
}
@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
}

.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.narrative-card h3, .info-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--accent-cyan);
}
.narrative-card p {
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  font-size: 1rem;
}

.key-strengths {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.strength-icon {
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strength-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}
.strength-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}
.info-list li {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 0.15rem;
}

.resume-cta-box {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}
.resume-cta-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.skill-category-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  transition: all var(--transition-normal);
}
.skill-category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}
.category-icon {
  font-size: 1.45rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.skill-chip {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.skill-chip:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Projects Section */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
}
.filter-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  color: var(--text-primary);
}
.filter-btn.active {
  background: var(--accent-cyan);
  color: #0a0f1d;
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}
.project-type-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.badge-web { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-iot-type { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-data-type { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-sec-type { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }

.project-github-link {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.project-github-link:hover {
  color: var(--accent-cyan);
}

.project-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}
.project-summary {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.project-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.project-highlights li {
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.25rem;
}
.project-highlights li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}
.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.project-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Education & Certifications */
.dual-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.timeline {
  position: relative;
  padding-left: 1.75rem;
  border-left: 2px solid var(--border-subtle);
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  display: inline-block;
  margin-bottom: 0.35rem;
}
.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.timeline-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.timeline-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cert-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  transition: all var(--transition-fast);
}
.cert-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}
.cert-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cert-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.cert-issuer {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.35rem;
}
.cert-details p {
  font-size: 0.86rem;
  color: var(--text-muted);
}
.credential-id {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.credential-id code {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Contact Section */
.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
}
.contact-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}
.contact-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.contact-method-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.contact-method-card:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}
.contact-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.contact-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.copy-hint {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 0.68rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.contact-resume-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.resume-text h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.resume-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.lightbox-modal[open] {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}
.lightbox-caption {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}
.lightbox-close:hover {
  color: var(--accent-cyan);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--accent-cyan);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  font-size: 0.92rem;
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-normal);
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #070a14;
  padding: 3.5rem 0 2.5rem;
}
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--accent-cyan);
}
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-description {
    margin: 0 auto 2rem;
  }
  .stats-grid {
    max-width: 550px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .dual-columns {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-resume-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .mobile-drawer {
    display: flex;
  }
  .section {
    padding: 4rem 0;
  }
  .hero-section {
    padding: 7rem 0 3.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .image-frame {
    width: 260px;
    height: 310px;
  }
  .floating-tech-badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
  }
  .badge-python { left: -10px; }
  .badge-iot { right: -10px; }
  .contact-card {
    padding: 2rem 1.5rem;
  }
  .contact-resume-banner {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .image-frame {
    width: 220px;
    height: 270px;
  }
  .btn {
    width: 100%;
  }
  .hero-actions .btn-icon-only {
    width: 48px;
    height: 48px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
