@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  --bg: #09090b;
  --bg-2: #121215;
  --surface: #18181b;
  --surface-hover: #27272a;

  --text: #ffffff;
  --text-2: #a1a1aa;
  --text-3: #71717a;

  --primary: #ff5e00;
  --primary-h: #ff7a2e;
  --primary-bg: rgba(255, 94, 0, 0.1);

  --orange-dark: #cc4b00;
  --orange-light: #ff8533;
  --orange-yellow: #ff9100;

  --border: #27272a;
  --border-h: rgba(255, 94, 0, 0.5);

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 20px 40px rgba(255, 94, 0, 0.15);

  --font: "Poppins", sans-serif;
  --r: 16px;
  --r-sm: 8px;
  --max-w: 1350px;

  --nav-bg: rgba(9, 9, 11, 0.7);
  --nav-bg-scrolled: rgba(9, 9, 11, 0.95);

  --hero-grad-1: rgba(255, 255, 255, 0.05);
  --hero-blur: rgba(255, 94, 0, 0.12);
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-2: #f1f5f9;
  --surface: #ffffff;
  --surface-hover: #ffffff;

  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;

  --primary: #ea580c;
  --primary-h: #f97316;
  --primary-bg: rgba(234, 88, 12, 0.1);

  --orange-dark: #c2410c;
  --orange-light: #f97316;
  --orange-yellow: #fb923c;

  --border: #e2e8f0;
  --border-h: rgba(234, 88, 12, 0.5);

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-primary: 0 20px 40px rgba(234, 88, 12, 0.15);

  --nav-bg: rgba(248, 250, 252, 0.8);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.98);

  --hero-grad-1: rgba(0, 0, 0, 0.08);
  --hero-blur: rgba(234, 88, 12, 0.08);
}

[data-lang="en"] .fr {
  display: none !important;
}
[data-lang="fr"] .en {
  display: none !important;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  transition:
    background 0.4s ease,
    color 0.4s ease;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: var(--primary-light);
  text-shadow: 0 0 10px var(--primary-bg);
}
[data-theme="light"] a:hover {
  text-shadow: none;
}
img {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(255, 94, 0, 0.3);
  color: var(--text);
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-h);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.1);
    border-color: var(--border);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 94, 0, 0.4);
    border-color: var(--primary);
  }
}

@keyframes pulse-glow-light {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.05);
    border-color: var(--border);
  }
  50% {
    box-shadow: 0 0 40px rgba(234, 88, 12, 0.2);
    border-color: var(--primary);
  }
}

@keyframes gradient-text {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes orb-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.25);
  }
}

@keyframes slideBg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100vw 0;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom: 1px solid rgba(255, 94, 0, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s;
}
.navbar.scrolled .nav-inner {
  height: 65px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-logo span {
  color: inherit;
}

.nav-links {
  display: flex;
  gap: 0.2rem;
}
.nav-links a {
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
  transition:
    color 0.3s,
    background 0.3s;
}
.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}
.nav-links a:hover::before,
.nav-links a.active::before {
  width: 80%;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--primary-bg);
}

.nav-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.icon-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}
.icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.1) rotate(5deg);
}
.lang-txt {
  font-weight: 800;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--primary);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--primary);
}

.section {
  padding: 8rem 2rem;
  position: relative;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}
.section-head h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}
[data-theme="light"] .section-head h2 {
  color: #0f172a;
}
.section-head .line {
  width: 80px;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--primary), var(--orange-yellow));
  margin: 1.2rem auto;
  box-shadow: 0 0 15px var(--primary-bg);
}


.card.sk {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card.sk h3 {
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card.sk p {
  flex-grow: 1; 
  margin-bottom: 2rem !important;
}

.card.sk .tags {
  margin-top: auto;
}
.section-head p {
  color: var(--text-2);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow);
}

[data-theme="light"] .card::after {
  display: none;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.7s;
  z-index: -1;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--border-h);
  box-shadow: var(--shadow-primary);
  background: var(--surface-hover);
}
.card:hover::after {
  left: 200%;
}

.pj-img-placeholder {
  width: 100%;
  height: 180px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.pj-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}
 

.pj-img-placeholder img[src*="support.png"] {
  object-fit: contain;
  background: #fff;
}

.card:hover .pj-img-placeholder img {
  transform: scale(1.1);
}

.placeholder-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-3);
  opacity: 0.6;
}

.pj-img-placeholder:has(img) .placeholder-overlay {
  display: none;
}

.placeholder-overlay i {
  font-size: 2rem;
}

.placeholder-overlay span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-fill {
  background: linear-gradient(45deg, var(--primary), var(--orange-yellow));
  color: #fff !important;
  box-shadow: 0 10px 20px var(--primary-bg);
}
.btn-fill:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 25px rgba(255, 94, 0, 0.4);
  filter: brightness(1.1);
}
.btn-out {
  background: var(--surface);
  color: var(--text) !important;
  border: 2px solid var(--border);
}
.btn-out:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-4px);
  background: var(--primary-bg);
  box-shadow: 0 10px 20px var(--primary-bg);
}
.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grad-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grad-1) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  animation: slideBg 60s linear infinite;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--hero-blur) 0%, transparent 70%);
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: orb-pulse 8s ease-in-out infinite;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero-text h1 span.fr,
.hero-text h1 span.en {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    var(--orange-light) 50%,
    #ffffff 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-text 5s linear infinite;
}
[data-theme="light"] .hero-text h1 span.fr,
[data-theme="light"] .hero-text h1 span.en {
  background: linear-gradient(
    90deg,
    #0f172a 0%,
    var(--primary) 50%,
    #0f172a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text .role {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  background: var(--primary-bg);
  border: 1px solid var(--border-h);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.highlight-text {
  background: linear-gradient(
    120deg,
    var(--orange-yellow),
    var(--primary),
    var(--orange-yellow)
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-text 3s linear infinite;
  display: inline-block;
}



@keyframes pulse-glow-badge {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 94, 0, 0.8);
    transform: scale(1.05);
  }
}

.highlight-badge {
  background: linear-gradient(45deg, var(--primary), var(--orange-dark));
  color: #fff !important;
  padding: 0 0.4em;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  animation: pulse-glow-badge 2s ease-in-out infinite;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-text .desc {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 650px;
}
.hero-info {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  flex-wrap: wrap;
}
.hero-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}
.hero-info span i {
  color: var(--primary);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo {
  width: 350px;
  height: 550px;
  border-radius: var(--r);
  overflow: hidden;
  border: 3px solid var(--border-h);
  animation:
    pulse-glow 4s ease-in-out infinite,
    float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
  background: #000;
}
[data-theme="light"] .hero-photo {
  animation:
    pulse-glow-light 4s ease-in-out infinite,
    float 6s ease-in-out infinite;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}


.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.about-box {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.about-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary);
}
.about-box p {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.about-box p:last-child {
  margin-bottom: 0;
}
.about-box strong {
  color: var(--text);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
.stat {
  text-align: center;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: 0.3s;
  box-shadow: var(--shadow);
}
.stat:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-primary);
}
.stat .n {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, var(--primary), var(--orange-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="light"] .stat .n {
  background: linear-gradient(45deg, var(--primary), var(--orange-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .l {
  font-size: 0.9rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.timeline-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.timeline-col h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}
.timeline-col h3 i {
  color: var(--primary);
  font-size: 2.2rem;
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 10px;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    var(--primary),
    var(--orange-dark),
    transparent
  );
  box-shadow: 0 0 10px var(--primary-bg);
}

.tl-item {
  position: relative;
  margin-bottom: 4rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tl-item:hover {
  transform: translateX(8px);
}
.tl-item:last-child {
  margin-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: calc(-2.5rem + 1px);
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 4px solid var(--primary);
  box-shadow: 0 0 15px var(--primary-bg);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tl-item:hover .tl-dot {
  background: var(--primary);
  transform: translateX(-8px) scale(1.4);
  box-shadow: 0 0 25px var(--primary);
}

.tl-date {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  border: 1px solid var(--border-h);
}
.tl-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.tl-company {
  font-size: 1.05rem;
  color: var(--text-2);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tl-company i {
  color: var(--primary);
}
.tl-desc {
  font-size: 1.05rem;
  color: var(--text-3);
  line-height: 1.7;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  margin-top: 1rem;
  transition: all 0.4s ease;
}
.tl-desc ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}
.tl-desc ul li {
  margin-bottom: 0.5rem;
}
.tl-item:hover .tl-desc {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  background: var(--surface-hover);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.sk {
  padding: 2.5rem;
  border-top: 5px solid var(--border);
  height: 100%;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  background: var(--surface);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.sk p {
  flex-grow: 1;
  margin-bottom: 2rem !important;
}

.sk .tags {
  margin-top: auto;
}
.sk::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 0%,
    var(--primary-bg),
    transparent 50%
  );
  opacity: 0;
  transition: 0.8s ease;
  z-index: -1;
  pointer-events: none;
}
.sk:hover::before {
  opacity: 1;
  transform: translateY(20px);
}
.sk:hover {
  border-top-color: var(--primary);
}
.sk h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--text);
  min-height: 3.6rem;
}
.sk h3 .ic {
  color: var(--primary);
  font-size: 2.2rem;
  min-width: 45px;
  display: inline-flex;
  justify-content: center;
}
.sk p {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  min-height: 3.4rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: auto;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
}
.tag {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-2);
  font-weight: 600;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  width: max-content;
  flex: 0 0 auto;
}
.tag i {
  color: var(--primary);
  font-size: 1rem;
}
.tag:hover {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px var(--primary-bg);
}
.tag:hover i {
  color: #fff;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}
.proj-grid-centered {
  max-width: 850px;
  margin: 2.5rem auto 0 auto;
}
.pj {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 5px solid transparent;
}
.pj:hover {
  border-top-color: var(--primary);
}
.pj .ph {
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.pj .ph .folder-ic {
  font-size: 2.8rem;
  color: var(--primary);
  opacity: 0.8;
  transition: 0.4s;
}
.pj:hover .folder-ic {
  opacity: 1;
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0 0 10px var(--primary-bg));
}
.pj .ph h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.pj .pb {
  padding: 0 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pj .pb p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.8rem;
}
.pj .tags {
  margin-top: auto;
  margin-bottom: 1.5rem;
}
.pj .pf {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  margin-top: auto;
}
.pj .pf .btn {
  width: 100%;
  font-size: 1rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.cert-fortinet-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.cert {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cert-content {
  flex: 1;
}
.cert h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.cert .iss {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cert .det {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.cert .dt {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-3);
}
.cert-img {
  width: 100%;
  border-radius: var(--r-sm);
  border: 2px solid var(--border);
  cursor: zoom-in;
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cert-img:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  transform: scale(1.03);
}



/* ── Badges Credly Ticker ── */
.badges-ticker-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 1.2rem;
}
.badges-ticker-label i { color: var(--primary); font-size: 1.2rem; }
.badges-credly-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0;
  transition: opacity 0.2s;
}
.badges-credly-link:hover { opacity: 0.7; }
.badges-ticker-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  padding: 0.3rem 0;
}
.badges-ticker-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.badges-ticker-fade-left  { left: 0;  background: linear-gradient(to right, var(--surface), transparent); }
.badges-ticker-fade-right { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }
.badges-ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: badge-ticker-scroll 36s linear infinite;
}
.badges-ticker-track:hover { animation-play-state: paused; }
@keyframes badge-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.badge-chip {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  white-space: nowrap;
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  min-width: 200px;
}
.badge-chip:hover { transform: translateY(-4px); }
.badge-chip img { width: 45px; height: 45px; object-fit: contain; }
.badge-chip-text { display: flex; flex-direction: column; gap: 0.15rem; }
.badge-chip-text span { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.badge-chip-text small { font-size: 0.78rem; font-weight: 600; color: var(--text-3); }
.badge-cisco   { border-color: rgba(31,93,195,0.3); }
.badge-cisco i { color: #1f5dc3; }
.badge-cisco:hover { border-color: #1f5dc3; box-shadow: 0 8px 24px rgba(31,93,195,0.18); }
.badge-ibm   { border-color: rgba(13,62,149,0.3); }
.badge-ibm i { color: #0d3e95; }
.badge-ibm:hover { border-color: #0d3e95; box-shadow: 0 8px 24px rgba(13,62,149,0.18); }
.badge-fortinet   { border-color: rgba(218,41,28,0.25); }
.badge-fortinet i { color: #da291c; }
.badge-fortinet:hover { border-color: #da291c; box-shadow: 0 8px 24px rgba(218,41,28,0.14); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.cv-frame {
  border: 2px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  cursor: zoom-in;
  transition: 0.5s;
  padding: 0;
}
.cv-frame img {
  width: 100%;
  display: block;
}
.cv-frame:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  transform: translateY(-8px) scale(1.02);
}

.contact-wrap .card {
  padding: 3rem;
}
.contact-wrap h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3rem;
  text-align: center;
}
.c-items {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.cr {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  transition: 0.4s;
}
.cr:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
  transform: translateX(10px);
}
.cr .ci {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--primary);
  border: 1px solid var(--border-h);
}
.cr .c-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cr .cl {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cr .cv {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 600;
}
.cr .cv a {
  color: var(--text);
}
.cr .cv a:hover {
  color: var(--primary);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem;
  background: var(--bg-2);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-3);
  font-weight: 500;
  text-align: center;
}
.f-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}
.f-logo span {
  color: inherit;
}
.footer-link {
  color: var(--text-3);
  transition: color 0.3s;
}
.footer-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 95%;
  max-height: 95vh;
  border-radius: var(--r);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lightbox-overlay.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.lightbox-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 2rem 5rem;
  min-height: 100vh;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.back-link:hover {
  color: var(--primary);
  transform: translateX(-5px);
  transition: 0.3s;
}
.project-page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.project-page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}


.project-page-section { margin-bottom: 3rem; }
.doc-viewer-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.doc-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow-x: auto;
  scrollbar-width: none;
}
.doc-tabs-header::-webkit-scrollbar { display: none; }
.doc-tab-btn {
  padding: 1rem 1.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-3);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
.doc-tab-btn:hover { color: var(--text); }
.doc-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--primary-bg);
}
.doc-panel { display: none; }
.doc-panel.active { display: block; }
.doc-panel-text { padding: 2rem 2.5rem; }
.doc-panel-text > p { font-size: 1.05rem; line-height: 1.8; color: var(--text-2); margin: 0; }
.doc-panel-pdf { padding: 1.5rem 2rem 2rem; }
.doc-panel-intro { margin-bottom: 1.5rem; }
.doc-panel-intro p { font-size: 1rem; line-height: 1.8; color: var(--text-2); margin: 0; }
.pdf-viewer {
  width: 100%;
  height: 75vh;
  min-height: 600px;
  max-height: 900px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  -webkit-overflow-scrolling: touch;
}
.pdf-viewer iframe { display: block; width: 100%; height: 100%; border: none; }
.doc-actions { display: flex; justify-content: flex-end; margin-top: 1rem; }
.doc-phases { list-style: none; padding: 0; margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; }
.doc-phases li { padding: 1.2rem 1.5rem; background: var(--bg); border-radius: var(--r-sm); border-left: 3px solid var(--primary); }
.doc-phases li h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.doc-phases li p { font-size: 0.96rem; line-height: 1.7; color: var(--text-2); margin: 0; }


.proj-banner {
  width: 100%;
  height: 280px;
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  position: relative;
}
.proj-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.proj-banner img:hover { transform: scale(1.03); }
.proj-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--bg-2) 100%);
  font-size: 7rem;
  color: var(--primary);
}
.proj-meta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.proj-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  transition: 0.3s;
}
.proj-meta-item:hover { border-color: var(--primary); color: var(--primary); }
.proj-meta-item i { color: var(--primary); font-size: 0.9rem; }






.nav-links { z-index: 999; }


.proj-banner { min-height: 160px; }


.hero-text .role { max-width: 100%; word-break: break-word; white-space: normal; }


.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}


.section-head h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-top: 0.5rem;
}


.proj-meta { row-gap: 0.5rem; }


.tags { max-width: 100%; }
.tag { max-width: 100%; }


@media (min-width: 769px) {
  .hero-photo-wrap::before {
    content: "";
    position: absolute;
    top: -15px; bottom: -15px; left: -15px; right: -15px;
    border: 2px dashed var(--border-h);
    border-radius: calc(var(--r) + 10px);
    animation: float 6s ease-in-out infinite reverse;
    z-index: 1;
    pointer-events: none;
  }
}


@media (max-width: 1400px) {
  .nav-links { gap: 0.3rem; }
  .nav-left { gap: 1.5rem; }
  .skills-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}


@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 1fr 320px; gap: 2.5rem; }
  .hero-text h1 { font-size: 3.4rem; }
  .hero-photo { width: 320px; height: 500px; }
  .timeline-cols { gap: 2.5rem; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .section-head h2 { font-size: 2.4rem; }
}


@media (max-width: 992px) {
  .section { padding: 6rem 1.5rem; }
  .section-head h2 { font-size: 2.2rem; }
  .section-head h3 { font-size: 1.6rem; }
  .hero-text h1 { font-size: 2.8rem; }
  .nav-inner { padding: 0 1.5rem; }
  .nav-left { gap: 1rem; }
  .nav-links a { padding: 0.5rem 0.6rem; font-size: 0.85rem; }
  .cert-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cert-fortinet-row { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2rem; }
  .timeline-cols { grid-template-columns: 1fr; gap: 3.5rem; }
  

/* ── Badges Credly Ticker ── */
.badges-ticker-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 1.2rem;
}
.badges-ticker-label i { color: var(--primary); font-size: 1.2rem; }
.badges-credly-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0;
  transition: opacity 0.2s;
}
.badges-credly-link:hover { opacity: 0.7; }
.badges-ticker-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  padding: 0.3rem 0;
}
.badges-ticker-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.badges-ticker-fade-left  { left: 0;  background: linear-gradient(to right, var(--surface), transparent); }
.badges-ticker-fade-right { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }
.badges-ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: badge-ticker-scroll 36s linear infinite;
}
.badges-ticker-track:hover { animation-play-state: paused; }
@keyframes badge-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.badge-chip {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  white-space: nowrap;
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  min-width: 200px;
}
.badge-chip:hover { transform: translateY(-4px); }
.badge-chip img { width: 45px; height: 45px; object-fit: contain; }
.badge-chip-text { display: flex; flex-direction: column; gap: 0.15rem; }
.badge-chip-text span { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.badge-chip-text small { font-size: 0.78rem; font-weight: 600; color: var(--text-3); }
.badge-cisco   { border-color: rgba(31,93,195,0.3); }
.badge-cisco i { color: #1f5dc3; }
.badge-cisco:hover { border-color: #1f5dc3; box-shadow: 0 8px 24px rgba(31,93,195,0.18); }
.badge-ibm   { border-color: rgba(13,62,149,0.3); }
.badge-ibm i { color: #0d3e95; }
.badge-ibm:hover { border-color: #0d3e95; box-shadow: 0 8px 24px rgba(13,62,149,0.18); }
.badge-fortinet   { border-color: rgba(218,41,28,0.25); }
.badge-fortinet i { color: #da291c; }
.badge-fortinet:hover { border-color: #da291c; box-shadow: 0 8px 24px rgba(218,41,28,0.14); }
.contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .cv-frame { max-width: 500px; margin: 0 auto; }
  .pdf-viewer { height: 65vh; min-height: 450px; }
  .proj-banner { height: 220px; }
  .cert h3 { font-size: 1.5rem; }
}


@media (max-width: 850px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg-scrolled);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    flex-direction: column;
    padding: 1.2rem 1rem;
    gap: 0.3rem;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), opacity 0.3s ease;
    opacity: 0;
    z-index: 999;
    pointer-events: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: var(--r-sm);
  }
  .nav-links a::before { display: none; }
  .nav-toggle { display: flex; margin-left: auto; margin-right: 0.5rem; }
}


@media (max-width: 768px) {
  .section { padding: 4rem 1.2rem; }
  .section-head { margin-bottom: 3rem; }
  .section-head h2 { font-size: 2rem; }
  .section-head h3 { font-size: 1.5rem; }
  .section-head p { font-size: 1rem; }
  .hero { padding-top: 100px; padding-bottom: 3rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; padding: 0 1.2rem; }
  .hero-text h1 { font-size: 2.3rem; line-height: 1.2; }
  .hero-text .role { font-size: 0.95rem; letter-spacing: 1px; padding: 0.4rem 1rem; }
  .hero-text .desc { margin: 0 auto 2rem; font-size: 1rem; max-width: 500px; }
  .hero-info { flex-direction: column; gap: 0.8rem; align-items: center; width: 100%; margin: 0 auto 2rem; }
  .hero-info span { justify-content: center; }
  .hero-actions { justify-content: center; flex-direction: column; gap: 1rem; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-photo-wrap { order: -1; margin: 0 auto; width: fit-content; }
  .hero-photo { width: 240px; height: 380px; }
  .page-content { padding: 100px 1.2rem 3rem; }
  .project-page-header { margin-bottom: 2rem; padding-bottom: 1.5rem; }
  .project-page-header h1 { font-size: 2rem; line-height: 1.2; }
  .proj-banner { height: 180px; margin-bottom: 1.5rem; }
  .proj-meta { gap: 0.5rem; row-gap: 0.4rem; }
  .proj-meta-item { font-size: 0.82rem; padding: 0.35rem 0.8rem; }
  .pdf-viewer { height: 55vh; min-height: 380px; }
  .doc-panel-pdf { padding: 1.2rem 1.2rem 1.5rem; }
  .doc-tab-btn { padding: 0.8rem 1.2rem; font-size: 0.78rem; }
  .doc-actions { justify-content: center; }
  .doc-actions .btn { width: 100%; text-align: center; }
  .proj-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .proj-grid-centered { max-width: 100%; margin-top: 1.5rem; }
  .skills-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cert-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cert-fortinet-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-box { padding: 2rem 1.5rem; }
  .sk { padding: 2rem 1.5rem; }
  .cert { padding: 2rem 1.5rem; gap: 1.5rem; flex-direction: column; }
  .pj .ph h3 { font-size: 1.3rem; }
  .tl-title { font-size: 1.25rem; }
  

/* ── Badges Credly Ticker ── */
.badges-ticker-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 1.2rem;
}
.badges-ticker-label i { color: var(--primary); font-size: 1.2rem; }
.badges-credly-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0;
  transition: opacity 0.2s;
}
.badges-credly-link:hover { opacity: 0.7; }
.badges-ticker-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  padding: 0.3rem 0;
}
.badges-ticker-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.badges-ticker-fade-left  { left: 0;  background: linear-gradient(to right, var(--surface), transparent); }
.badges-ticker-fade-right { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }
.badges-ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: badge-ticker-scroll 36s linear infinite;
}
.badges-ticker-track:hover { animation-play-state: paused; }
@keyframes badge-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.badge-chip {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  white-space: nowrap;
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  min-width: 200px;
}
.badge-chip:hover { transform: translateY(-4px); }
.badge-chip img { width: 45px; height: 45px; object-fit: contain; }
.badge-chip-text { display: flex; flex-direction: column; gap: 0.15rem; }
.badge-chip-text span { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.badge-chip-text small { font-size: 0.78rem; font-weight: 600; color: var(--text-3); }
.badge-cisco   { border-color: rgba(31,93,195,0.3); }
.badge-cisco i { color: #1f5dc3; }
.badge-cisco:hover { border-color: #1f5dc3; box-shadow: 0 8px 24px rgba(31,93,195,0.18); }
.badge-ibm   { border-color: rgba(13,62,149,0.3); }
.badge-ibm i { color: #0d3e95; }
.badge-ibm:hover { border-color: #0d3e95; box-shadow: 0 8px 24px rgba(13,62,149,0.18); }
.badge-fortinet   { border-color: rgba(218,41,28,0.25); }
.badge-fortinet i { color: #da291c; }
.badge-fortinet:hover { border-color: #da291c; box-shadow: 0 8px 24px rgba(218,41,28,0.14); }
.contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-wrap .card { padding: 2rem 1.5rem; }
  .c-items .cr { flex-direction: column; align-items: center; text-align: center; gap: 0.8rem; }
  .footer-inner { flex-direction: column; gap: 0.8rem; text-align: center; }
  .hide-mobile { display: none; }
}


@media (max-width: 480px) {
  .section { padding: 3rem 1rem; }
  .section-head { margin-bottom: 2.5rem; }
  .section-head h2 { font-size: 1.7rem; }
  .section-head h3 { font-size: 1.3rem; }
  .section-head p { font-size: 0.92rem; }
  .nav-inner { padding: 0 1rem; height: 65px; }
  .navbar.scrolled .nav-inner { height: 55px; }
  .nav-logo { font-size: 0.95rem; letter-spacing: 0.5px; }
  .nav-left { gap: 0.5rem; }
  .nav-controls { gap: 0.4rem; }
  .icon-btn { width: 34px; height: 34px; font-size: 0.9rem; }
  .nav-toggle { margin-right: 0; }
  .nav-links { padding: 1rem 0.8rem; }
  .nav-links a { font-size: 0.95rem; padding: 0.8rem; }
  .hero { padding-top: 85px; }
  .hero-inner { padding: 0 1rem; gap: 2rem; }
  .hero-text h1 { font-size: 1.75rem; word-break: break-word; line-height: 1.25; }
  .hero-text .role { font-size: 0.8rem; letter-spacing: 0.8px; }
  .hero-text .desc { font-size: 0.92rem; }
  .hero-info span { font-size: 0.85rem; word-break: break-word; text-align: center; }
  .hero-photo { width: 210px; height: 330px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 1.5rem; }
  .stat { padding: 1.5rem 0.8rem; }
  .stat .n { font-size: 2.5rem; }
  .stat .l { font-size: 0.75rem; }
  .timeline { padding-left: 1.2rem; }
  .timeline::before { left: 4px; }
  .tl-dot { left: calc(-1.2rem - 2px); width: 14px; height: 14px; top: 8px; border-width: 3px; }
  .tl-title { font-size: 1.1rem; }
  .tl-company { font-size: 0.92rem; }
  .tl-desc { padding: 1rem; font-size: 0.88rem; }
  .tl-date { font-size: 0.78rem; padding: 0.3rem 0.8rem; }
  .tag { font-size: 0.82rem; padding: 0.4rem 0.9rem; }
  .pj-img-placeholder { height: 150px; }
  .pj .ph { padding: 1.5rem 1.5rem 0.8rem; }
  .pj .ph h3 { font-size: 1.2rem; }
  .pj .ph .folder-ic { font-size: 2.2rem; }
  .pj .pb { padding: 0 1.2rem 1.5rem; }
  .pj .pb p { font-size: 0.92rem; margin-bottom: 1.2rem; min-height: auto; }
  .pj .pf { padding: 1rem 1.2rem; }
  .sk { padding: 1.5rem 1.2rem; }
  .sk h3 { font-size: 1.15rem; min-height: auto; gap: 0.8rem; }
  .sk h3 .ic { font-size: 1.8rem; min-width: 35px; }
  .sk p { font-size: 0.92rem; min-height: auto; margin-bottom: 1.2rem !important; }
  .about-box { padding: 1.5rem 1.2rem; }
  .about-box h3 { font-size: 1.3rem; }
  .about-box p { font-size: 0.95rem; }
  .cert { padding: 1.5rem 1.2rem; gap: 1.2rem; }
  .cert h3 { font-size: 1.3rem; }
  .cert .iss { font-size: 0.95rem; margin-bottom: 1rem; }
  .cert .det { font-size: 0.92rem; margin-bottom: 1.2rem; }
  .cert .dt { font-size: 0.85rem; }
  .cert-grid, .proj-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .proj-grid-centered { margin-top: 1.2rem; max-width: 100%; }
  .skills-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .contact-wrap .card { padding: 1.5rem 1.2rem; }
  .contact-wrap h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
  .c-items .cr { flex-direction: column; text-align: center; gap: 0.7rem; padding: 1rem 0.8rem; }
  .c-items { gap: 1rem; }
  .cr .cv { font-size: 0.9rem; word-break: break-all; }
  .cr .ci { width: 42px; height: 42px; font-size: 1.1rem; }
  .page-content { padding: 85px 1rem 2rem; }
  .project-page-header { margin-bottom: 1.5rem; padding-bottom: 1rem; }
  .project-page-header h1 { font-size: 1.6rem; line-height: 1.2; }
  .proj-banner { height: 150px; margin-bottom: 1.5rem; }
  .proj-meta-item { font-size: 0.78rem; padding: 0.3rem 0.7rem; }
  .pdf-viewer { height: 50vh; min-height: 320px; }
  .doc-panel-pdf { padding: 1rem; }
  .doc-panel-intro p { font-size: 0.92rem; }
  .doc-tab-btn { padding: 0.7rem 1rem; font-size: 0.75rem; }
  .doc-actions .btn { font-size: 0.82rem; padding: 0.6rem 1rem; }
  .hide-mobile { display: none; }
  .footer-inner { flex-direction: column; gap: 0.5rem; font-size: 0.85rem; }
  .lightbox-close { top: 1rem; right: 1rem; width: 44px; height: 44px; font-size: 1.3rem; }
  .lightbox-overlay img { max-width: 98%; max-height: 90vh; border-radius: var(--r-sm); }
}


@media (max-width: 360px) {
  .hero-text h1 { font-size: 1.55rem; }
  .hero-text .role { font-size: 0.72rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat .n { font-size: 2.2rem; }
  .nav-logo { font-size: 0.88rem; }
  .section-head h2 { font-size: 1.5rem; }
  .project-page-header h1 { font-size: 1.4rem; }
  .pdf-viewer { height: 45vh; min-height: 280px; }
}


@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .cookie-btns { flex-shrink: 0; }
}


.hero-socials a {
  color: var(--text-2);
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}
.hero-socials a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--primary-bg);
}


.c-items .cr i.fa-brands {
  font-size: 1.5rem;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.c-items .cr:hover i.fa-brands {
  background: var(--primary);
  color: #fff;
  transform: rotate(10deg);
}




.project-page-section h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.project-page-section h2 i {
  color: var(--primary);
}


.results-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.results-table-container table {
  min-width: 520px;
}


.forge-schema {
  overflow-x: hidden;
}


.project-page-section [style*="display: flex"][style*="gap: 1.5rem"][style*="align-items: center"] {
  flex-wrap: wrap;
}


@media (max-width: 992px) {
  .project-page-section h2 { font-size: 1.6rem; }
  .project-page-section h3 { font-size: 1.1rem; }
  .tl-desc { padding: 1.5rem; }
}


@media (max-width: 768px) {
  
  .project-page-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .project-page-section h3 {
    font-size: 1rem;
    flex-wrap: wrap;
  }
  .project-page-section > div[style*="margin-bottom: 4rem"] {
    margin-bottom: 2.5rem !important;
  }

  
  .tl-desc {
    padding: 1.2rem 1rem;
    font-size: 0.95rem;
  }
  .tl-desc p { font-size: 0.95rem; }
  .tl-desc ul li { margin-bottom: 0.4rem; }

  
  .tl-desc [style*="grid-template-columns: 1fr 1fr"],
  .content [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  
  [style*="display: flex"][style*="flex-wrap: wrap"][style*="gap: 1.5rem"] {
    flex-direction: column;
  }
  [style*="display: flex"][style*="min-width: 220px"] {
    min-width: 0 !important;
  }
  [style*="display: flex"][style*="min-width: 300px"] {
    min-width: 0 !important;
  }

  
  [style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr 1fr !important;
  }

  
  .results-table-container table {
    font-size: 0.82rem;
  }
  .results-table-container th,
  .results-table-container td {
    padding: 0.8rem 0.8rem !important;
  }

  
  [style*="grid-template-columns: 1fr 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    text-align: left !important;
  }

  
  [style*="position: absolute"][style*="left: 50%"][style*="background: var(--border-h)"] {
    display: none !important;
  }

  
  [style*="padding: 2.5rem"] { padding: 1.5rem !important; }
  [style*="padding: 2rem"] { padding: 1.2rem !important; }

  
  [style*="justify-content: center"][style*="align-items: center"][style*="gap: 1.5rem"][style*="flex-wrap: wrap"] {
    gap: 0.8rem !important;
  }
  [style*="padding: 1rem 2rem"][style*="border-radius: 50px"] {
    padding: 0.7rem 1.2rem !important;
    font-size: 0.88rem !important;
  }
}


@media (max-width: 480px) {
  .project-page-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  .project-page-section h3 {
    font-size: 0.95rem;
  }
  .tl-desc {
    padding: 1rem 0.9rem;
    font-size: 0.9rem;
    border-radius: var(--r-sm);
  }
  .tl-desc p { font-size: 0.9rem; line-height: 1.65; }

  
  .results-table-container table { font-size: 0.78rem; min-width: 400px; }
  .results-table-container th,
  .results-table-container td { padding: 0.6rem 0.6rem !important; }

  
  [style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
  }

  
  [style*="flex: 1"][style*="min-width: 220px"] {
    min-width: 0 !important;
    width: 100% !important;
  }

  
  [style*="padding: 2.5rem"],
  [style*="padding: 2rem"] {
    padding: 1rem !important;
  }

  [style*="font-family: monospace"][style*="font-size: 1.8rem"] {
    font-size: 1.3rem !important;
    gap: 0.5rem !important;
  }
  [style*="font-family: monospace"][style*="font-size: 1.8rem"] > div[style*="padding: 1rem"] {
    padding: 0.6rem 0.8rem !important;
  }

  
  .project-page-section [style*="padding: 1.5rem"][style*="border-left: 4px"] {
    padding: 1rem !important;
  }
  .project-page-section [style*="padding: 1.5rem"][style*="border-left: 4px"] p {
    font-size: 0.88rem !important;
  }
}




.drive-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
}
@media (max-width: 650px) {
  .drive-compare-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}


.code-breakdown-labels {
  grid-template-columns: 1fr 1.2fr 1fr;
  text-align: center;
}
@media (max-width: 480px) {
  .code-breakdown-labels {
    grid-template-columns: 1fr !important;
    text-align: left !important;
    gap: 0.5rem !important;
  }
}


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

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-left: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 15px var(--primary-bg);
  transform: translateY(-2px);
}

.form-status {
  padding: 1rem;
  border-radius: var(--r-sm);
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: none;
  text-align: center;
  animation: slideDown 0.4s ease;
}

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

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #22c55e;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

#submitBtn {
  width: 100%;
  margin-top: 1rem;
}



/* ── Badges Credly Ticker ── */
.badges-ticker-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 1.2rem;
}
.badges-ticker-label i { color: var(--primary); font-size: 1.2rem; }
.badges-credly-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0;
  transition: opacity 0.2s;
}
.badges-credly-link:hover { opacity: 0.7; }
.badges-ticker-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  padding: 0.3rem 0;
}
.badges-ticker-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.badges-ticker-fade-left  { left: 0;  background: linear-gradient(to right, var(--surface), transparent); }
.badges-ticker-fade-right { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }
.badges-ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: badge-ticker-scroll 36s linear infinite;
}
.badges-ticker-track:hover { animation-play-state: paused; }
@keyframes badge-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.badge-chip {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  white-space: nowrap;
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  min-width: 200px;
}
.badge-chip:hover { transform: translateY(-4px); }
.badge-chip img { width: 45px; height: 45px; object-fit: contain; }
.badge-chip-text { display: flex; flex-direction: column; gap: 0.15rem; }
.badge-chip-text span { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.badge-chip-text small { font-size: 0.78rem; font-weight: 600; color: var(--text-3); }
.badge-cisco   { border-color: rgba(31,93,195,0.3); }
.badge-cisco i { color: #1f5dc3; }
.badge-cisco:hover { border-color: #1f5dc3; box-shadow: 0 8px 24px rgba(31,93,195,0.18); }
.badge-ibm   { border-color: rgba(13,62,149,0.3); }
.badge-ibm i { color: #0d3e95; }
.badge-ibm:hover { border-color: #0d3e95; box-shadow: 0 8px 24px rgba(13,62,149,0.18); }
.badge-fortinet   { border-color: rgba(218,41,28,0.25); }
.badge-fortinet i { color: #da291c; }
.badge-fortinet:hover { border-color: #da291c; box-shadow: 0 8px 24px rgba(218,41,28,0.14); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

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

.contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem !important;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
}

@media (max-width: 992px) {
  

/* ── Badges Credly Ticker ── */
.badges-ticker-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 1.2rem;
}
.badges-ticker-label i { color: var(--primary); font-size: 1.2rem; }
.badges-credly-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0;
  transition: opacity 0.2s;
}
.badges-credly-link:hover { opacity: 0.7; }
.badges-ticker-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  padding: 0.3rem 0;
}
.badges-ticker-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.badges-ticker-fade-left  { left: 0;  background: linear-gradient(to right, var(--surface), transparent); }
.badges-ticker-fade-right { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }
.badges-ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: badge-ticker-scroll 36s linear infinite;
}
.badges-ticker-track:hover { animation-play-state: paused; }
@keyframes badge-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.badge-chip {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  white-space: nowrap;
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  min-width: 200px;
}
.badge-chip:hover { transform: translateY(-4px); }
.badge-chip img { width: 45px; height: 45px; object-fit: contain; }
.badge-chip-text { display: flex; flex-direction: column; gap: 0.15rem; }
.badge-chip-text span { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.badge-chip-text small { font-size: 0.78rem; font-weight: 600; color: var(--text-3); }
.badge-cisco   { border-color: rgba(31,93,195,0.3); }
.badge-cisco i { color: #1f5dc3; }
.badge-cisco:hover { border-color: #1f5dc3; box-shadow: 0 8px 24px rgba(31,93,195,0.18); }
.badge-ibm   { border-color: rgba(13,62,149,0.3); }
.badge-ibm i { color: #0d3e95; }
.badge-ibm:hover { border-color: #0d3e95; box-shadow: 0 8px 24px rgba(13,62,149,0.18); }
.badge-fortinet   { border-color: rgba(218,41,28,0.25); }
.badge-fortinet i { color: #da291c; }
.badge-fortinet:hover { border-color: #da291c; box-shadow: 0 8px 24px rgba(218,41,28,0.14); }
.contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-card {
    padding: 2rem 1.5rem !important;
  }
}

.rgpd-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 15px !important;
  margin: 1.5rem 0 2rem 0 !important;
  padding: 0 5px;
}

.rgpd-check input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin-top: 5px !important;
  cursor: pointer;
  accent-color: var(--primary);
  border: 1px solid var(--border);
}

.rgpd-check label {
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
  margin: 0 !important;
}

.rgpd-check a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
}

.rgpd-check a:hover {
  border-bottom-color: var(--primary);
  opacity: 0.8;
}



.cv-card-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
}

.cv-frame-zoom {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  padding: 0;
}

.cv-frame-zoom img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.cv-frame-zoom:hover img {
  transform: scale(1.02);
}

.cv-button-area {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  justify-content: center;
}

.cv-button-area .btn {
  width: 100%;
  justify-content: center;
}







