@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body:has(#theme-toggle:checked) {
  --primary-color: #fafbfc;
  --secondary-color: #e1e8f0;
  --box-color: #c5cfe0;
  --text-color: #111111;
  --secondary-text-color: #1a1f2e;
  --footer-background: #ffffff;
  --card-background: #374151;
  --white-color: #000000;
  --place-holder-color: #6b7280;
  --invalid-color: #dc2626;
  --valid-color: #16a34a;
  --hover-navbar-color: #1f2937;
  --toggle-ball-color: #222831;
  --hamburger-color: #222831;
  --tab-line-color: #222831;
}

:root {
  --primary-color: #222831;
  --secondary-color: #393e46;
  --box-color: #474343;
  --text-color: #dfd0b8;
  --secondary-text-color: #b6ac98;
  --footer-background: #212529;
  --card-background: #948979;
  --white-color: #ffffff;
  --place-holder-color: #493f08;
  --invalid-color: #d32f2f;
  --valid-color: #000000;
  --hover-navbar-color: #f5f5f5;
  --toggle-ball-color: #dfd0b8;
  --hamburger-color: #dfd0b8;
  --tab-line-color: #dfd0b8;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

*::selection {
  background-color: var(--card-background);
  color: var(--white-color);
}

body {
  padding-top: 100px;
  background: var(--primary-color);
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.theme-toggle-container {
  display: flex;
  align-items: center;
  z-index: 1000;
}

#theme-toggle {
  display: none;
}

.theme-toggle-label {
  display: block;
  width: 60px;
  height: 30px;
  background: var(--secondary-color);
  border: 2px solid var(--toggle-ball-color);
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  margin-right: 15px;
}
.theme-toggle-label:hover {
  transform: scale(1.05);
}
.theme-toggle-label::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--toggle-ball-color);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: all 0.3s ease;
}

#theme-toggle:checked + .theme-toggle-label::after {
  left: 32px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.Nav {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  width: 100%;
  position: relative;
  justify-content: center;
}

.menu {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
}
.menu li {
  position: relative;
}
.menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--secondary-text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--text-color);
  transition: transform 0.3s ease;
}
.menu li a.active {
  color: var(--text-color);
  font-weight: 600;
}
.menu li a.active::after {
  transform: translateX(-50%) scaleX(1);
}
.menu li a:hover {
  color: var(--text-color);
  transform: translateY(-1px);
}
.menu li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.language-switcher {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
}
.language-switcher .btn-language {
  background: var(--secondary-color) !important;
  border: 2px solid var(--card-background) !important;
  color: var(--text-color) !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.language-switcher .btn-language:hover {
  background: var(--card-background) !important;
  border-color: var(--card-background) !important;
  color: var(--white-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35) !important;
}
.language-switcher .btn-language:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(var(--card-background), 0.25) !important;
}
.language-switcher .btn-language::after {
  border-color: var(--text-color) !important;
}
.language-switcher .dropdown-menu {
  background: var(--secondary-color);
  border: 1px solid var(--box-color);
  border-radius: 12px;
  padding: 8px 0;
  margin-top: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.language-switcher .dropdown-menu .dropdown-item {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-text-color);
  transition: all 0.2s ease;
}
.language-switcher .dropdown-menu .dropdown-item:hover {
  background: var(--box-color);
  color: var(--text-color);
}

.tittle_Aboutme,
.tittle_Skills,
.tittle_Qualifications,
.tittle_Projects,
.tittle_Contact {
  color: var(--text-color);
  font-family: "Trebuchet MS", sans-serif;
  font-weight: bold;
  font-size: 50px;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 40px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  background: var(--primary-color);
}

.hero-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.availability {
  color: #81c784;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: inline-block;
}

.hero-title {
  font-family: "Trebuchet MS", sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.1;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.hero-title span {
  display: inline-block;
  white-space: nowrap;
}

.hero-role {
  font-size: 22px;
  color: var(--secondary-text-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.hero-description {
  font-size: 18px;
  color: var(--secondary-text-color);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}
.hero-stats div h3 {
  color: var(--text-color);
  font-size: 24px;
  margin-bottom: 5px;
}
.hero-stats div span {
  color: var(--secondary-text-color);
  font-size: 14px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: var(--card-background);
  color: white;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--card-background);
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: var(--box-color);
}
.btn-primary:active {
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--secondary-color);
  color: var(--text-color);
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: transparent;
  display: inline-block;
}
.btn-outline:hover {
  background: var(--card-background);
  color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.btn-outline:active {
  transform: translateY(-2px);
}

.hero-image img {
  width: 380px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-image img {
    width: 280px;
  }
}
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 40px;
}

#aboutMe {
  padding: 140px 8%;
}
#aboutMe .section-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 80px;
  color: var(--text-color);
}
#aboutMe .about-container {
  max-width: 680px;
  margin: 0 auto;
}
#aboutMe .about-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--white-color);
  letter-spacing: 1px;
}
#aboutMe .about-text p {
  margin-bottom: 28px;
  line-height: 1.85;
  color: var(--text-color);
  opacity: 0.9;
  font-size: 1rem;
}
#aboutMe .about-text strong {
  color: var(--white-color);
  font-weight: 900;
  font-size: 20px;
}
#aboutMe .about-text .btn-cv {
  display: inline-block;
  margin-top: 35px;
  padding: 14px 32px;
  border-radius: 8px;
  background: transparent;
  border: 2px solid var(--text-color);
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
#aboutMe .about-text .btn-cv:hover {
  background: var(--text-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.skills-section {
  background: var(--primary-color);
  color: var(--text-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
}

.section-subtitle {
  color: var(--secondary-text-color);
  max-width: 600px;
  margin: 0 auto;
}

.core-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.core-card h6 {
  margin: 0;
  font-weight: 600;
  color: var(--text-color);
}
.core-card small {
  color: var(--secondary-text-color);
}
.core-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.svg-wrapper {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
}
.svg-wrapper svg, .svg-wrapper img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  display: block;
}

.skills-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 3rem;
  padding: 1rem 0;
}

.slider-track {
  display: flex;
  gap: 1rem;
  width: fit-content;
  animation: scroll 30s linear infinite;
  align-items: center;
  will-change: transform;
}

.skill-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 48px;
  padding: 0 1.2rem;
  border-radius: 50px;
  background: var(--box-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-color);
  transition: 0.3s ease;
}
.skill-pill:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.pill-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pill-icon img, .pill-icon svg {
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.pill-icon svg {
  overflow: visible;
}

.skills-micro-title {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--secondary-text-color);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.engineering-group-title {
  color: #c5a47e;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.engineering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.engineering-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: 0.2s;
}
.engineering-item:hover {
  background: rgba(255, 255, 255, 0.07);
}
.engineering-item summary {
  font-weight: 600;
  color: #e6d3b3;
  cursor: pointer;
}
.engineering-item p {
  margin-top: 10px;
  color: var(--secondary-text-color);
  font-size: 14px;
  line-height: 1.5;
}

.qualifications-section {
  padding: 90px 0;
  text-align: center;
}
.qualifications-section .section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
}
.qualifications-section .section-subtitle {
  font-size: 0.95rem;
  color: var(--secondary-text-color);
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}

.qualification-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--secondary-text-color);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  padding-bottom: 6px;
  transition: all 0.3s ease;
}
.tab-btn:hover {
  color: var(--text-color);
}
.tab-btn.active {
  color: var(--tab-line-color);
  font-weight: 600;
}
.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--tab-line-color);
  opacity: 1;
}

.qualification-content {
  display: none;
}

.qualification-content.active {
  display: block;
}

.timeline {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 100%;
  background: var(--secondary-color);
  transform: translateX(-50%);
  opacity: 0.6;
}

.timeline-item {
  width: 50%;
  padding: 12px 28px;
  position: relative;
}
.timeline-item.left {
  text-align: right;
  left: 0;
}
.timeline-item.right {
  left: 50%;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--text-color);
  border-radius: 50%;
  opacity: 0.8;
}
.timeline-item.left::before {
  right: -4px;
}
.timeline-item.right::before {
  left: -4px;
}

.education-card,
.cert-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.education-card h5,
.cert-card h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.education-meta,
.cert-meta {
  font-size: 0.8rem;
  color: var(--secondary-text-color);
  margin-bottom: 6px;
}

.education-desc {
  font-size: 0.8rem;
  color: var(--secondary-text-color);
  line-height: 1.5;
  opacity: 0.85;
}

.cert-buttons {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cert-buttons .btn {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: transparent !important;
  border: 1.5px solid var(--text-color) !important;
  color: var(--text-color) !important;
  transition: all 0.2s ease;
}
.cert-buttons .btn:hover {
  background: var(--text-color) !important;
  color: var(--primary-color) !important;
}

.projects-section {
  width: 100%;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.projects-section .projects-header {
  text-align: center;
  margin-bottom: 40px;
}
.projects-section .projects-header .projects-title {
  font-size: 32px;
  color: var(--text-color);
  margin-bottom: 8px;
}
.projects-section .projects-header .projects-description {
  font-size: 15px;
  color: var(--secondary-text-color);
  font-weight: 300;
}
.projects-section .projects-grid {
  width: 100%;
  max-width: 1700px;
  display: grid;
  grid-template-columns: repeat(5, 280px);
  justify-content: center;
  gap: 40px;
}
.projects-section .project-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.projects-section .project-item .project-gallery {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}
.projects-section .project-item .project-gallery .gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.projects-section .project-item .project-gallery .gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}
.projects-section .project-item .project-gallery .gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.projects-section .project-item .project-gallery .prev {
  left: 8px;
}
.projects-section .project-item .project-gallery .next {
  right: 8px;
}
.projects-section .project-item .project-gallery:hover .gallery-btn {
  opacity: 1;
}
.projects-section .project-item .project-gallery:hover .prev {
  transform: translateY(-50%) translateX(-2px);
}
.projects-section .project-item .project-gallery:hover .next {
  transform: translateY(-50%) translateX(2px);
}
.projects-section .project-item .project-image {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
}
.projects-section .project-item .project-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white-color);
}
.projects-section .project-item .project-summary {
  font-size: 12px;
  color: var(--secondary-text-color);
  line-height: 1.4;
}
.projects-section .project-item .project-details {
  list-style: none;
  padding: 0;
  margin: 0;
}
.projects-section .project-item .project-details li {
  font-size: 12px;
  color: var(--secondary-text-color);
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}
.projects-section .project-item .project-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--white-color);
  font-size: 12px;
}
.projects-section .project-item .project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.projects-section .project-item .project-technologies .tech-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white-color);
}
.projects-section .project-item .project-status {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.projects-section .project-item .project-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.projects-section .project-item .status-active {
  color: #00ff88;
}
.projects-section .project-item .status-active::before {
  background-color: #00ff88;
  box-shadow: 0 0 6px #00ff88;
}
.projects-section .project-item .status-dev {
  color: #ffc107;
}
.projects-section .project-item .status-dev::before {
  background-color: #ffc107;
  box-shadow: 0 0 6px #ffc107;
}
.projects-section .project-item .status-inactive {
  color: #b4b4b4;
}
.projects-section .project-item .status-inactive::before {
  background-color: #b4b4b4;
}

.contact {
  text-align: center;
  padding: 64px 32px;
  background: var(--primary-color);
}
.contact .tittle_Contact {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact p {
  margin-bottom: 32px;
  color: var(--secondary-text-color);
}
.contact .contact-container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}
.contact .contact-info {
  flex: 1;
  min-width: 250px;
}
.contact .contact-info .info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.contact .contact-info .info-item i {
  font-size: 24px;
  color: #7952b3;
}
.contact .contact-info .info-item h3 {
  margin: 0;
  font-size: 18px;
  color: var(--white-color);
}
.contact .contact-info .info-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-color);
}
.contact .contact-info .iframe-box {
  margin-top: 32px;
}
.contact .contact-info .iframe-box iframe {
  border-radius: 8px;
}
.contact .contact-form {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact .contact-form .form-row {
  display: flex;
  gap: 16px;
}
.contact .contact-form .form-row input {
  flex: 1;
}
.contact .contact-form input, .contact .contact-form textarea {
  background: var(--box-color);
  border: none;
  outline: none;
  padding: 13px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
}
.contact .contact-form input::placeholder, .contact .contact-form textarea::placeholder {
  color: var(--white-color);
}
.contact .contact-form button {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-color);
  color: var(--text-color);
  border: none;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact .contact-form button i {
  font-size: 16px;
}
.contact .contact-form button:hover {
  background: var(--hover-navbar-color);
}

input {
  height: auto;
  padding: 12px 10px;
  box-sizing: border-box;
}
input::placeholder {
  color: var(--place-holder-color);
  padding: 10px;
}

.fa-brands {
  font-size: 24px;
  padding: 2px;
  margin: auto;
}

.fa-html5 {
  color: #e34f26;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-html5:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.fa-css3-alt {
  color: #1572b6;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-css3-alt:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.fa-js {
  color: #f7df1e;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-js:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.fa-react {
  color: #61dafb;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-react:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.fa-bootstrap {
  color: #7952b3;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-bootstrap:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.fa-wind {
  color: #38b2ac;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-wind:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.fa-git-alt {
  color: #f05032;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-git-alt:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.fa-github {
  color: #ffffff;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-github:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.fa-discord {
  color: #5865f2;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-discord:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.fa-sass {
  color: #cc6699;
  font-size: 24px;
  padding: 2px;
  margin: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.fa-sass:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2);
  cursor: pointer;
}

.collapse div p {
  text-align: center;
}

footer {
  margin-top: auto;
  background-color: var(--footer-background);
}
footer .footer-container {
  padding: 32px 16px 16px;
}
footer .footer-container .footer-title {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
}
footer .footer-container .footer-contact {
  margin-bottom: 32px;
}
footer .footer-container .footer-contact .social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
}
footer .footer-container .footer-contact .social-links a {
  color: var(--white-color);
  font-size: 24px;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  text-decoration: none;
}
footer .footer-container .footer-contact .social-links a .fa-github {
  color: var(--white-color) !important;
}
footer .footer-container .footer-contact .social-links a:hover {
  background-color: var(--text-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}
footer .footer-container .footer-contact .social-links a:hover .fa-github {
  color: var(--primary-color) !important;
}
footer .footer-container .footer-contact .contact-info {
  text-align: center;
}
footer .footer-container .footer-contact .contact-info h4 {
  color: var(--text-color);
  margin-bottom: 8px;
  font-size: 18px;
}
footer .footer-container .footer-contact .contact-info .footer-mail,
footer .footer-container .footer-contact .contact-info .footer-tel {
  color: var(--secondary-text-color);
  margin-bottom: 8px;
}
footer .footer-container .footer-contact .contact-info .footer-mail:hover,
footer .footer-container .footer-contact .contact-info .footer-tel:hover {
  color: var(--text-color);
}
footer .footer-container .footer-bottom {
  border-top: 1px solid var(--secondary-color);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .footer-container .footer-bottom .up-button {
  transition: all 0.3s ease;
  color: var(--text-color);
}
footer .footer-container .footer-bottom .up-button:hover {
  transform: translateY(-2px);
}
footer .footer-container .footer-bottom .copyright {
  color: var(--secondary-text-color);
  margin: 0;
  font-size: 14px;
}

.collapse.show .card {
  animation: zoomIn 0.6s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--hamburger-color);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

#nav-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#nav-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#nav-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: transparent;
}

#nav-toggle:checked ~ .nav-overlay {
  display: block;
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  .Nav {
    flex-wrap: wrap;
    padding: 14px 20px;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
  }
  .hamburger {
    display: flex;
    order: 3;
  }
  .navbar-controls {
    order: 2;
    margin-left: 0;
  }
  .menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 4;
    gap: 0;
    background: var(--primary-color);
    border-top: 1px solid var(--secondary-color);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    z-index: 1000;
  }
  .menu li {
    width: 100%;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
  }
  .menu li a {
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 0;
    width: 100%;
    display: block;
  }
  .menu li a::after {
    display: none;
  }
  .menu li a:hover, .menu li a.active {
    background: var(--secondary-color);
    transform: none;
  }
  #nav-toggle:checked ~ .menu {
    max-height: 400px;
    opacity: 1;
    padding: 8px 0 16px;
  }
  .hero {
    padding: 40px 6% 60px;
    min-height: auto;
  }
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    align-items: center;
  }
  .hero-title {
    font-size: 40px;
    min-height: auto;
    justify-content: center;
  }
  .hero-role {
    font-size: 17px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-stats {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-stats div h3 {
    font-size: 18px;
  }
  .hero-stats div span {
    font-size: 12px;
  }
  .hero-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }
  .btn-primary,
  .btn-outline {
    padding: 13px 28px;
    font-size: 14px;
    flex: 1;
    text-align: center;
    min-width: 140px;
  }
  .hero-image img {
    width: 240px;
  }
  #aboutMe {
    padding: 80px 6%;
  }
  #aboutMe .section-title {
    font-size: 1.8rem;
    text-align: center;
  }
  #aboutMe .about-container {
    max-width: 100%;
  }
  #aboutMe .about-text p {
    font-size: 0.95rem;
  }
  #aboutMe .about-text .btn-cv,
  #aboutMe .about-text .btn-outline {
    display: block;
    text-align: center;
    margin-top: 28px;
  }
  .tittle_Aboutme,
  .tittle_Skills,
  .tittle_Qualifications,
  .tittle_Projects,
  .tittle_Contact {
    font-size: 32px;
  }
  .section-title {
    font-size: 1.8rem;
    text-align: center;
  }
  .section-subtitle {
    font-size: 0.9rem;
    padding: 0 12px;
  }
  .engineering-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
  }
  .qualifications-section {
    padding: 60px 16px;
  }
  .qualification-tabs {
    gap: 20px;
  }
  .timeline::before {
    left: 12px;
    transform: none;
  }
  .timeline-item {
    width: 100% !important;
    left: 0 !important;
    text-align: left !important;
    padding: 10px 10px 10px 36px;
  }
  .timeline-item::before {
    left: 8px !important;
    right: auto !important;
    top: 16px;
  }
  .projects-section {
    padding: 40px 16px;
  }
  .projects-section .projects-header .projects-title {
    font-size: 24px;
  }
  .projects-section .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 640px;
  }
  .contact {
    padding: 48px 20px;
  }
  .contact .contact-container {
    flex-direction: column;
    gap: 32px;
  }
  .contact .contact-info {
    min-width: auto;
  }
  .contact .contact-form {
    min-width: auto;
    width: 100%;
  }
  .contact .contact-form .form-row {
    flex-direction: column;
  }
  footer .footer-container {
    padding: 24px 16px 16px;
  }
  footer .footer-container .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  body {
    padding-top: 65px;
  }
  .Nav {
    padding: 12px 16px;
  }
  .hero {
    padding: 30px 5% 50px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-role {
    font-size: 15px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-stats {
    gap: 14px;
  }
  .hero-stats div h3 {
    font-size: 16px;
  }
  .btn-primary,
  .btn-outline {
    padding: 12px 20px;
    font-size: 13px;
    width: 100%;
  }
  .hero-image img {
    width: 200px;
  }
  .tittle_Aboutme,
  .tittle_Skills,
  .tittle_Qualifications,
  .tittle_Projects,
  .tittle_Contact {
    font-size: 26px;
  }
  .section-title {
    font-size: 1.4rem;
  }
  #aboutMe {
    padding: 60px 5%;
  }
  #aboutMe .about-text p {
    font-size: 0.9rem;
  }
  .core-card {
    padding: 1rem;
  }
  .core-card h6 {
    font-size: 0.88rem;
  }
  .svg-wrapper {
    width: 44px;
    height: 44px;
  }
  .skill-pill {
    height: 40px;
    font-size: 0.78rem;
    padding: 0 0.9rem;
  }
  .engineering-grid {
    grid-template-columns: 1fr;
  }
  .qualifications-section {
    padding: 50px 12px;
  }
  .tab-btn {
    font-size: 0.85rem;
  }
  .projects-section {
    padding: 30px 12px;
  }
  .projects-section .projects-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    gap: 28px;
  }
  .projects-section .project-item .project-gallery {
    height: 180px;
  }
  .projects-section .project-name {
    font-size: 14px;
  }
  .contact {
    padding: 36px 14px;
  }
  .contact .tittle_Contact {
    font-size: 24px;
  }
  .contact .contact-form input, .contact .contact-form textarea {
    font-size: 14px;
    padding: 11px 14px;
  }
  .contact .contact-form button {
    width: 100%;
    justify-content: center;
  }
  .contact .contact-info .info-item {
    gap: 12px;
  }
  .contact .contact-info .info-item h3 {
    font-size: 15px;
  }
  .contact .contact-info .info-item p {
    font-size: 13px;
  }
  footer .footer-container .footer-title {
    font-size: 18px;
  }
  footer .footer-container .social-links {
    gap: 10px;
  }
  footer .footer-container .social-links a {
    font-size: 20px;
    padding: 6px;
  }
}
@media (max-width: 360px) {
  body {
    padding-top: 60px;
  }
  .hero-title {
    font-size: 22px;
  }
  .hero-image img {
    width: 170px;
  }
  .projects-section .projects-grid {
    max-width: 280px;
  }
  .btn-primary,
  .btn-outline {
    font-size: 12px;
    padding: 10px 16px;
  }
}

/*# sourceMappingURL=styles.css.map */
