/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-primary:    #080d1a;      /* deep navy dark background */
  --bg-secondary:  #0d1527;      /* slightly lighter for cards */
  --bg-card:       rgba(255, 255, 255, 0.03); /* card background (glass) */
  --accent-cyan:   #00d4ff;      /* primary accent — Oracle/tech blue */
  --accent-amber:  #f59e0b;      /* secondary accent — warm gold */
  --accent-purple: #7c3aed;      /* tertiary — Mendix/low-code */
  --accent-green:  #10b981;      /* quaternary — ERP/success */
  --text-primary:  #f0f4ff;      /* near-white text */
  --text-secondary:#94a3b8;      /* muted text */
  --border:        rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(0, 212, 255, 0.25);
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:        0 10px 30px -10px rgba(2, 12, 27, 0.7);
  --shadow-glow:   0 0 20px rgba(0, 212, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

button, input, textarea {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

/* ==========================================================================
   REUSABLE UTILITIES & LAYOUT
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

.section-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
  text-align: center;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0099ff 100%);
  color: #040814;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.45);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Glass Card Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.badge-purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

#navbar .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

#nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#lang-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

#lang-toggle:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Mobile Nav Styles */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1010;
}

#hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

#nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 18, 0.6);
  backdrop-filter: blur(10px);
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

#nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding-top: 100px;
}

/* Background floating decorative glows */
.hero-glow-1, .hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-1 {
  top: 10%;
  right: -100px;
  animation: float-orb 20s infinite ease-in-out;
}

.hero-glow-2 {
  bottom: -100px;
  left: -200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
  animation: float-orb 25s infinite ease-in-out reverse;
}

#hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-greet {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-name {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-container {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

#hero-typed {
  color: var(--accent-cyan);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-right: 3px solid var(--accent-cyan);
  padding-right: 5px;
  animation: blink 0.75s step-end infinite;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-top: 0.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.scroll-indicator span {
  display: block;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--text-secondary);
  border-right: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.about-img-card {
  position: relative;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  z-index: 2;
  overflow: hidden;
}

.profile-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(135deg, #111c35 0%, #1e355e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-weight: 700;
  border: 1px dashed rgba(0, 212, 255, 0.3);
}

.profile-placeholder svg {
  width: 64px;
  height: 64px;
  stroke-width: 1.5;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-cyan);
  border-radius: 20px;
  z-index: 1;
  pointer-events: none;
  transition: var(--transition);
}

.about-img-wrapper:hover::after {
  transform: translate(-10px, -10px);
  border-color: var(--accent-purple);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.skill-card {
  padding: 2rem;
}

.skill-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.skill-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   EXPERIENCE SECTION (TIMELINE)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--border));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem 3rem;
  box-sizing: border-box;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-badge {
  position: absolute;
  top: 2.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-cyan);
  z-index: 10;
  transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-badge {
  left: 0;
}

.timeline-item:nth-child(odd) .timeline-badge {
  left: 100%;
}

.timeline-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: left;
}

.timeline-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.timeline-role {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.timeline-period {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.timeline-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.timeline-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.timeline-item:nth-child(2) .timeline-badge {
  border-color: var(--accent-purple);
}
.timeline-item:nth-child(2) .timeline-company {
  color: var(--accent-purple);
}
.timeline-item:nth-child(2) .timeline-bullets li::before {
  color: var(--accent-purple);
}

.timeline-item:nth-child(3) .timeline-badge {
  border-color: var(--text-secondary);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.service-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-cyan);
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.service-card:nth-child(2) .service-features li svg {
  stroke: var(--accent-purple);
}
.service-card:nth-child(3) .service-features li svg {
  stroke: var(--accent-amber);
}
.service-card:nth-child(4) .service-features li svg {
  stroke: var(--accent-green);
}

.service-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.service-badge-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */
.portfolio-filter-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 0.4rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--bg-card);
  color: var(--accent-cyan);
  border: 1px solid var(--border);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.portfolio-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.portfolio-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   CERTIFICATIONS SECTION
   ========================================================================== */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 16px 36px rgba(0, 242, 254, 0.12);
}

.cert-logo-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.cert-card:hover .cert-logo-badge {
  transform: scale(1.08);
}

.mendix-glow {
  background: radial-gradient(circle, rgba(0, 164, 228, 0.2) 0%, rgba(0, 164, 228, 0.05) 70%);
  border-color: rgba(0, 164, 228, 0.4);
  box-shadow: 0 0 25px rgba(0, 164, 228, 0.25);
}

.aws-glow {
  background: radial-gradient(circle, rgba(255, 153, 0, 0.2) 0%, rgba(255, 153, 0, 0.05) 70%);
  border-color: rgba(255, 153, 0, 0.4);
  box-shadow: 0 0 25px rgba(255, 153, 0, 0.25);
}

.cert-icon-symbol {
  font-size: 2.25rem;
  line-height: 1;
}

.cert-badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.85rem;
}

.cert-badge-aws {
  color: #ff9900;
  background: rgba(255, 153, 0, 0.1);
  border-color: rgba(255, 153, 0, 0.25);
}

.cert-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.cert-issuer {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.cert-actions {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.contact-info-details h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-info-details p {
  font-weight: 600;
  font-size: 1rem;
}

.contact-badge-wrapper {
  margin-top: 1rem;
}

/* Contact Form */
.contact-form-wrapper {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: var(--transition);
  width: 100%;
}

.form-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

.contact-form button[type="submit"] {
  align-self: flex-start;
}

.contact-form button[type="submit"].sent {
  background: var(--accent-green);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  color: #080d1a;
  pointer-events: none;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0;
  text-align: center;
  background-color: #040812;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-socials a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CERTIFICATION MODAL
   ========================================================================== */
.cert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 18, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.cert-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.cert-modal-inner {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  max-width: 600px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  text-align: center;
  transform: scale(0.92);
  transition: var(--transition);
}

.cert-modal.open .cert-modal-inner {
  transform: scale(1);
}

#cert-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
}

#cert-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
}

#cert-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding: 0 2rem;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Image in modal */
#cert-modal-img-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

#cert-modal-img {
  max-width: 100%;
  max-height: 65vh;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

/* Credly in modal */
#cert-modal-credly-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  padding: 1rem;
  background: rgba(10, 16, 30, 0.5);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-credly-badge-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-credly-badge-box iframe {
  border-radius: 12px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.cert-img-placeholder {
  width: 100%;
  aspect-ratio: 1.414; /* Standard landscape certificate ratio */
  background: linear-gradient(135deg, #111c35 0%, #1e355e 100%);
  border-radius: 12px;
  border: 1px dashed rgba(0, 212, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.cert-img-placeholder svg {
  width: 64px;
  height: 64px;
  stroke-width: 1.5;
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* ==========================================================================
   ANIMATIONS & SCROLL EFFECTS
   ========================================================================== */
@keyframes float-orb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.1);
  }
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--accent-cyan); }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(10px) rotate(45deg);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  section {
    padding: 6rem 0;
  }
  
  .about-grid {
    gap: 3rem;
  }
  
  .contact-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  #navbar {
    height: 70px;
    padding: 0 0.5rem;
  }

  #navbar .container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.35rem;
  }

  /* Hamburger Menu Activation */
  #hamburger {
    display: flex;
  }

  #hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  #hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  #hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  #nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 11, 23, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 6.5rem 2rem 3rem 2rem;
    gap: 1.75rem;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
  }

  #nav-menu.open {
    right: 0;
  }

  .nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  #lang-toggle {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

  .nav-cv-btn {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  /* Hero adjustments */
  .hero-name {
    font-size: 3rem;
  }
  
  .hero-title-container {
    font-size: 1.75rem;
  }

  /* About adjustments */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-wrapper {
    max-width: 280px;
  }

  /* Timeline adjustments (center line becomes left line) */
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding: 1.5rem 0 1.5rem 3rem;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
    text-align: left;
  }

  .timeline-badge {
    left: 20px !important;
  }

  /* Contact adjustments */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  #navbar {
    height: 65px;
  }

  #navbar .container {
    padding: 0 0.75rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-cv-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }

  #lang-toggle {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }

  .hero-name {
    font-size: 2.25rem;
  }

  .hero-title-container {
    font-size: 1.35rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 8px;
    border: 1px solid var(--border);
  }
}
