/* ===========================================================
   BASE & RESET
=========================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, Orbitron, sans-serif;
  color: #07242b;
  background: #f7f9fc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  padding-top: 22px;
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body, .hero.with-gradient {
  background: transparent !important;
}


/* ===========================================================
   LAYOUT & CONTAINERS
=========================================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 36px 0;
}

section.container,
section .container {
  padding-left: 2rem;
  padding-right: 2rem;
}

.timeline li,
.list-compact .list-item {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Responsive containers */
@media (max-width: 768px) {
  section.container,
  section .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .timeline li,
  .list-compact .list-item {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}


/* ===========================================================
   TYPOGRAPHY
=========================================================== */

h1, h2, h3, p {
  margin-top: 0;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.5rem;
  color: #06283D;
  text-align: center;
  margin-bottom: 8px;
}

.lead {
  max-width: 820px;
  margin: 0 auto 18px;
  color: #344b4b;
  text-align: center;
}

.small {
  font-size: 0.9rem;
}

.muted {
  color: #5e7a7a;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
}


/* ===========================================================
   NAVIGATION
=========================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(10,20,30,0.05);
  z-index: 40;
  padding-left: 150px;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff, 0 0 15px #00ffff, 0 0 30px #00ffff;
  letter-spacing: 1px;
  position: relative;
  text-decoration: none;
  animation: neonPulse 2.5s infinite alternate;
  transition: color 0.3s ease;
}

.nav-links a {
  margin-left: 16px;
  color: #234E52;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  text-decoration: underline;
}


/* ---- Menu déroulant mobile ---- */
.mobile-nav {
  display: none; /* caché par défaut sur desktop */
  width: auto;
  padding: 0.2rem 0.5rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 0.5px solid rgba(255,255,255,0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #234E52;
  backdrop-filter: blur(10px);
  margin-top: 0.2rem;
  transition: 0.3s ease;
  transform: translateX(-1.5cm);
}

.mobile-nav:hover, .mobile-nav:focus {
  border-color: #00ffff;
  outline: none;
  box-shadow: 0 0 8px rgba(0,255,255,0.5);
}

/* Icône flèche stylisée */
.mobile-nav option {
  background-color: #fff;
  color: #234E52;
}

/* ---- Affichage adaptatif ---- */
@media (max-width: 768px) {
  .mobile-nav {
    display: block; /* affiche la combobox */
  }
}


@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #234E52;
    position: absolute;
    top: 50px;
    right: 0;
    width: 160px;
    padding: 0.5rem;
    z-index: 9;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}


/* ===========================================================
   LANGUAGE SWITCHER
=========================================================== */

.lang-switcher {
  position: absolute;
  top: 10px;
  right: 15px;
  display: flex;
  gap: 5px;
  z-index: 1001;
}

.lang-switcher a {
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s;
}

.lang-switcher a:hover {
  transform: scale(1.2);
}

/* Responsive lang switcher */
@media (max-width: 768px) {
  .lang-switcher {
    top: 8px;
    right: 8px;
    gap: 3px;
  }
  .lang-switcher a {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .lang-switcher {
    top: 6px;
    right: 6px;
    gap: 2px;
  }
  .lang-switcher a {
    font-size: 1rem;
  }
}


/* ===========================================================
   HERO SECTION
=========================================================== */

.hero {
  padding: 60px 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  position: relative;
  text-align: center;
  margin-top: 5px;
  padding-left: 0px;
  padding-right: clamp(0px, 5vw, 175px);
}

.hero-title {
  max-width: 600px;
}

.hero-title h1 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: #06283D;
}

.hero-title p {
  margin-bottom: 12px;
  color: #234E52;
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Typing zone */
.typing-zone {
  flex: 0.5 0 0px;
  text-align: center;
  padding-right: 0px;
  padding-left: 30px;
}

.typed-text {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 1.4rem;
  color: #00ffff;
  margin-bottom: 10px;
  text-align: center;
  margin-top: 20px;
  letter-spacing: 1px;
  text-shadow: 0 0 8px #00ffff, 0 0 20px #00ffff;
  z-index: 2;
}

.typing-container {
  font-family: "Orbitron", sans-serif !important;
  font-size: 1.6rem;
  font-weight: 600;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  white-space: normal;
  overflow: hidden;
  word-wrap: break-word;
  line-height: 1.4;
}

/* Hero image effects */
.hero-img {
  width: 180px;
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
  border: 3px solid #00ffff;
  position: relative;
  box-shadow: 0 0 10px #00ffff, 0 0 30px #00ffff, 0 0 60px #00ffff;
  animation: neonGlow 0.5s ease-in-out infinite alternate;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  padding-left: 0px;
  z-index: 2;
}

.hero-img:hover {
  /*content: url('/images/avatar.webp');*/
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffff, 0 0 50px #ff00a6, 0 0 100px #6dd5ed, 0 0 150px #6a00f4;
  animation-duration: 1s;
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero-inner {
    flex-wrap: wrap;
    text-align: center;
  }

  .hero-img {
    order: 2;
  }

  .hero-title {
    order: 3;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #hero {
    padding-top: 0.3rem !important;  /* ~0.8 cm selon la densité */
    margin-top: 0 !important;
  }
  .hero-inner {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow-x: hidden !important;
    padding-right: clamp(0px, 5vw, 80px);
    flex-direction: column;
    align-items: center;
    gap: 0.8rem !important;
  }

  header.hero.with-gradient {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header.hero.with-gradient .typing-zone {
    order: 1 !important;
    width: 100%;
    margin-bottom: 15px;
    animation: none !important;
  }

  header.hero.with-gradient .hero-inner {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: none !important;
  }

  .hero-inner .hero-img {
    order: 1;
    width: 200px;
    margin-bottom: 15px;
  }

  .hero-inner .hero-title {
    order: 2;
    max-width: 90%;
  }

  .hero-img {
    margin-bottom: 0.5rem !important;
    width: 180px !important;
    animation: none !important;
  }

  .hero-title {
    margin-top: 0 !important;
  }
}


/* ===========================================================
   BUTTONS
=========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #03657d;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.contact {
  background: #fff;
  color: #03657d;
  border: 2px solid rgba(3,101,125,0.12);
}

.btn.ghost {
  background: #16b553;
  color: #fff;
  border: 2px solid rgba(3,101,125,0.12);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.small {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
}


/* ===========================================================
   GRADIENTS & ANIMATIONS
=========================================================== */

.with-gradient {
  position: relative;
  color: #f9fafb;
  background: linear-gradient(-45deg,#3bb3b3,#2a5298,#6dd5ed,#6a00f4,#ff00a6,#2193b0);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  padding: 40px 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Keyframes */
@keyframes gradientBG {
  0% { background-position:0% 50% }
  50% { background-position:100% 50% }
  100% { background-position:0% 50% }
}

@keyframes neonGlow {
  0% {
    box-shadow: 0 0 10px #00ffff, 0 0 30px #00ffff, 0 0 60px #00ffff;
  }
  50% {
    box-shadow: 0 0 5px #00ffff, 0 0 15px #00ffff, 0 0 40px #00ffff;
  }
  100% {
    box-shadow: 0 0 15px #00ffff, 0 0 40px #00ffff, 0 0 80px #00ffff;
  }
}

@keyframes neonPulse {
  0% {
    text-shadow: 0 0 5px #00ffff, 0 0 15px #00ffff, 0 0 30px #00ffff;
    opacity: 1;
  }
  50% {
    text-shadow: 0 0 2px #00ffff, 0 0 8px #00ffff, 0 0 15px #00ffff;
    opacity: 0.85;
  }
  100% {
    text-shadow: 0 0 10px #00ffff, 0 0 25px #00ffff, 0 0 50px #00ffff;
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(var(--r)) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(var(--r)) rotate(-360deg);
  }
}

.cursor {
  display: inline-block;
  background-color: #00ffff;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  animation: blink 0.7s steps(1) infinite;
}

.logo:hover {
  color: #fff;
  text-shadow: 0 0 10px #00ffff, 0 0 30px #00ffff, 0 0 60px #00ffff, 0 0 100px #00ffff;
  animation-duration: 1.2s;
}


/* ===========================================================
   PARTICLES
=========================================================== */

#particles-js {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  top: 0;
  left: 0;
}

@media (max-width: 768px) {
  #particles-js {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0 !important;
  }
}


/* ===========================================================
   ABOUT SECTION
=========================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.about-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 22px;
  border-radius: 12px;
  color: inherit;
}

/* Orbit photo system */
.about-photo-orbit {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.main-photo {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 300px;
  height: 310px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  z-index: 3;
  border: 4px solid rgba(255,255,255,0.8);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.satellite {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%) rotate(0deg) translateX(var(--r, 120px)) rotate(0deg);
  transform-origin: center center;
  border-radius: 50%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  animation: orbit 8s linear infinite;
}

/* Satellite positions */
.sat1 { --r: 177px; animation-duration: 10s; animation-delay: 0s; }
.sat2 { --r: 177px; animation-duration: 10s; animation-delay: -2s; }
.sat3 { --r: 177px; animation-duration: 10s; animation-delay: -4s; }
.sat4 { --r: 177px; animation-duration: 10s; animation-delay: -6s; }
.sat5 { --r: 177px; animation-duration: 10s; animation-delay: -8s; }

@media (max-width: 600px) {
  .about-photo-orbit { width: 220px; height: 220px; }
  .main-photo { width: 180px; height: 180px; }
  .satellite { width: 36px; height: 36px; }
  .sat1, .sat2, .sat3, .sat4, .sat5 { --r: 108px; }
}


/* ===========================================================
   SKILLS SECTION
=========================================================== */

.skills-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.skill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  padding: 12px;
  border-radius: 10px;
}

.skill-title {
  font-weight: 600;
  color: inherit;
  min-width: 220px;
  flex: 0 0 220px;
}

.skill-bar {
  flex: 1;
  margin-left: 16px;
  height: 12px;
  background: #e6eef0;
  border-radius: 999px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,#1e3c72,#2a5298);
  transition: width 1.2s ease;
  font-size: 9.5px;
  text-align: right;
}

@media (max-width: 900px) {
  .skill-title { flex: 0 0 150px; }
}

/* ===== Project list with semantic icons ===== */

.project-list-detailed {
  list-style: none;
  padding-left: 0;
}

.project-list-detailed li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.project-list-detailed i {
  color: #03657d; /* même teinte que tes icônes */
  margin-top: 3px;
  font-size: 0.95rem;
}

/* ===== Styles : section enseignements ===== */
.section-teaching {
  padding: 40px 16px;
  background: none;
  color: #111827;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.container {
  max-width: 980px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.lead {
  color: #374151;
  margin-bottom: 20px;
  font-size: 0.98rem;
}

/* Grid */
.teaching-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Card */
.teaching-card {
  border: 1px solid #e6e9ee;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.card-title {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon {
  width: 42px;
  height: 42px;
  fill: #0f172a;
  opacity: 0.88;
}

/* Headings inside card */
.teaching-card h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 600;
}

.card-header time {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Body */
.card-body .muted {
  font-size: 0.92rem;
  color: #4b5563;
  margin-bottom: 8px;
}

.card-body ul {
  margin: 0;
  padding-left: 18px;
  color: #111827;
  line-height: 1.5;
}

.card-body li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Note */
.note {
  margin-top: 10px;
  font-size: 0.88rem;
  color: #374151;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #eef2f7;
}

/* Responsive: two columns on wider screens */
@media (min-width: 820px) {
  .teaching-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Teaching details (click to expand) ===== */

.teaching-details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.teaching-details summary::-webkit-details-marker {
  display: none;
}

.teaching-details summary::before {
  content: "▸";
  font-size: 0.85rem;
  color: #03657d;
  transition: transform 0.2s ease;
}

.teaching-details[open] summary::before {
  transform: rotate(90deg);
}

.details-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: #6b7280;
}

.teaching-details p {
  margin: 8px 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #374151;
}

/* ===== University logos in teaching cards ===== */

.university-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===========================================================
   PORTFOLIO SECTION
=========================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  justify-items: center;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.05);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 12px;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.portfolio-item p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

@media (max-width: 768px) {
  .portfolio-item {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}


/* ===========================================================
   CERTIFICATIONS & ATTESTATIONS
=========================================================== */

#attestations {
  padding-top: 45px;
  padding-bottom: 10px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.cert-item {
  position: relative;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-4px);
}

.cert-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.cert-item img:hover {
  transform: scale(1.05);
}

.cert-item canvas {
  width: 100%;
  height: 180px;
  display: block;
  border-radius: 6px;
}

.cert-caption, .cert-item figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #374151;
  text-align: center;
}

/* Protection overlay */
.cert-item .overlay-blocker {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(transparent, rgba(255,255,255,0.01));
  cursor: default;
}

.cert-item .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 7;
  background: rgba(3,101,125,0.95);
  color: #fff;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.cert-item, .cert-item * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

@media (max-width: 600px) {
  .cert-item canvas,
  .cert-item img {
    height: 160px;
  }
}

.verify-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #4a4ad4;
  text-decoration: underline;
}
.verify-link:hover {
  opacity: 0.7;
}

.premium-verify {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #d2d7ff;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #4a4ad4;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(74, 74, 212, 0.08);
  transition: 0.25s ease;
}

.premium-verify:hover {
  border-color: #4a4ad4;
  box-shadow: 0 2px 10px rgba(74, 74, 212, 0.18);
}


/* ===========================================================
   CONTACT SECTION
=========================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info a {
  color: #03657d;
  font-weight: 600;
}

.contact-form {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d6e3e7;
  font-size: 15px;
}


.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #556f6f;
  font-size: 0.95rem;
  margin-top: 8px;
}

.contact-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}


/* ===========================================================
   SITE LOGO
=========================================================== */

.site-logo {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  padding: 0.3rem;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
}

.site-logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

@media (min-width: 768px) {
  .site-logo img {
    width: 100px;
    height: 100px;
  }
}

@media (min-width: 1200px) {
  .site-logo img {
    width: 120px;
    height: 120px;
  }
}


/* ===========================================================
   FOOTER
=========================================================== */

footer {
  padding: 18px 0;
  text-align: center;
  color: #516a6a;
}


/* ===========================================================
   RESPONSIVE BREAKPOINTS
=========================================================== */

@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .skill-title {
    min-width: 150px;
  }
  
  .nav-links {
    display: none;
  }
  
  body {
    padding-top: 40px;
  }
}


.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
