/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*
* Customized for: Léo Arnould – Administrateur Systèmes & Réseaux
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
  --mono-font: "Fira Code", "Consolas", "Monaco", monospace;
}

/* Global Colors – Dark / Tech theme */
:root { 
  --background-color: #0f1117;
  --default-color: #c5c8d4;
  --heading-color: #e8eaf0;
  --accent-color: #00b4d8;
  --surface-color: #161925;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: #8b8fa3;
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #0a0c12;
  --nav-dropdown-background-color: #0a0c12;
  --nav-dropdown-color: #8b8fa3;
  --nav-dropdown-hover-color: #ffffff;
}

/* Color Presets */

.light-background {
  --background-color: #121520;
  --surface-color: #1a1e2e;
}

.dark-background {
  --background-color: #0a0c12;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #111422;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--accent-color), transparent 75%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (min-width: 1200px) {

  .header~main,
  .header~#footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.3) saturate(0.6);
}

.hero:before {
  content: "";
  background: linear-gradient(135deg, rgba(10,12,18,0.92) 0%, rgba(0,180,216,0.15) 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Skill Cards (New)
--------------------------------------------------------------*/
.skill-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
  padding: 30px 25px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.1);
}

.skill-card-icon {
  width: 60px;
  height: 60px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.skill-card-icon i {
  font-size: 28px;
  color: var(--accent-color);
}

.skill-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-list li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--default-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-list li i {
  color: var(--accent-color);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Projects Section (New)
--------------------------------------------------------------*/
.projects .section-title h2:after {
  left: 0;
}

.project-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 15px 40px rgba(0, 180, 216, 0.08);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.project-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.project-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
}

.project-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badge-tech {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--mono-font);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
}

.project-card h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.project-list li {
  padding: 5px 0;
  font-size: 14px;
  color: var(--default-color);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.project-list li i {
  color: var(--accent-color);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

/*--------------------------------------------------------------
# Homelab Section (New)
--------------------------------------------------------------*/
.homelab .section-title h2:after {
  left: 0;
}

.homelab-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
}

.homelab-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.homelab-card h3 i {
  color: var(--accent-color);
  font-size: 22px;
}

.homelab-detail {
  margin-bottom: 25px;
}

.homelab-badge-main {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6366f1 50%));
  color: var(--contrast-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--mono-font);
  margin-bottom: 10px;
}

.homelab-detail p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-top: 10px;
}

.homelab-subtitle {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 18px;
  font-family: var(--mono-font);
}

.homelab-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.homelab-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: color-mix(in srgb, #10b981, transparent 92%);
  border: 1px solid color-mix(in srgb, #10b981, transparent 80%);
  border-radius: 8px;
  font-size: 13px;
  color: var(--default-color);
  font-family: var(--mono-font);
}

.homelab-spec-item i {
  color: #10b981;
  font-size: 16px;
  min-width: 20px;
}

.homelab-vm-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.homelab-vm-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.homelab-vm-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: color-mix(in srgb, var(--accent-color), transparent 93%);
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
}

.homelab-vm-item i {
  font-size: 24px;
  color: var(--accent-color);
  min-width: 30px;
  text-align: center;
}

.homelab-vm-item strong {
  display: block;
  font-size: 14px;
  color: var(--heading-color);
}

.homelab-vm-item span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.homelab-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.homelab-service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 8px;
  font-size: 13px;
  color: var(--default-color);
}

.homelab-service-item i {
  color: var(--accent-color);
  font-size: 16px;
}

/* Cyber variant */
.homelab-service-cyber {
  border-color: color-mix(in srgb, #ef4444, transparent 75%);
  background: color-mix(in srgb, #ef4444, transparent 92%);
}

.homelab-service-cyber i {
  color: #ef4444;
}

/* Docker containers grid */
.homelab-docker-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: color-mix(in srgb, #6366f1, transparent 93%);
  border-radius: 8px;
  border-left: 3px solid #6366f1;
  transition: all 0.2s ease;
}

.docker-item:hover {
  background: color-mix(in srgb, #6366f1, transparent 88%);
  transform: translateX(4px);
}

.docker-item i {
  font-size: 20px;
  color: #6366f1;
  min-width: 26px;
  text-align: center;
}

.docker-item strong {
  display: block;
  font-size: 13px;
  color: var(--heading-color);
}

.docker-item span {
  font-size: 11px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Network Diagram (Homelab)
--------------------------------------------------------------*/
.network-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 10px;
  gap: 0;
}

.net-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.net-row-vms {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.net-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 25px;
  border-radius: 12px;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  background: color-mix(in srgb, var(--accent-color), transparent 93%);
  transition: all 0.3s ease;
  position: relative;
  min-width: 160px;
}

.net-node:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
  transform: translateY(-2px);
}

.net-node i {
  font-size: 28px;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.net-node span {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
}

.net-node small {
  font-size: 11px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 2px;
  font-family: var(--mono-font);
}

/* Node type colors */
.net-internet {
  border-color: #6366f1;
  background: color-mix(in srgb, #6366f1, transparent 92%);
}

.net-internet i {
  color: #6366f1;
}

.net-firewall {
  border-color: #ef4444;
  background: color-mix(in srgb, #ef4444, transparent 92%);
}

.net-firewall i {
  color: #ef4444;
}

.net-switch {
  border-color: #f59e0b;
  background: color-mix(in srgb, #f59e0b, transparent 92%);
}

.net-switch i {
  color: #f59e0b;
}

.net-vm {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  flex: 1;
  max-width: 200px;
}

.net-hypervisor {
  border-color: #10b981;
  background: color-mix(in srgb, #10b981, transparent 92%);
  min-width: 280px;
}

.net-hypervisor i {
  color: #10b981;
}

/* VM color variants in diagram */
.net-vm-docker {
  border-color: #6366f1;
}

.net-vm-docker i {
  color: #6366f1;
}

.net-vm-docker .net-vlan-tag {
  background: #6366f1;
}

.net-vm-monitor {
  border-color: #f59e0b;
}

.net-vm-monitor i {
  color: #f59e0b;
}

.net-vm-monitor .net-vlan-tag {
  background: #f59e0b;
}

.net-vm-iot {
  border-color: #10b981;
}

.net-vm-iot i {
  color: #10b981;
}

.net-vm-iot .net-vlan-tag {
  background: #10b981;
}

.net-vm-cyber {
  border-color: #ef4444;
}

.net-vm-cyber i {
  color: #ef4444;
}

.net-vm-cyber .net-vlan-tag {
  background: #ef4444;
}

.net-vm-storage {
  border-color: #8b5cf6;
}

.net-vm-storage i {
  color: #8b5cf6;
}

.net-vm-storage .net-vlan-tag {
  background: #8b5cf6;
}

.net-vlan-tag {
  margin-top: 8px;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--mono-font);
  background: var(--accent-color);
  color: var(--contrast-color);
}

/* Connectors */
.net-connector {
  display: flex;
  justify-content: center;
  align-items: center;
}

.net-connector-vertical {
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-color), transparent 40%), color-mix(in srgb, var(--accent-color), transparent 70%));
}

.net-connector-branch {
  width: 60%;
  max-width: 500px;
  height: 30px;
  border-left: 2px solid color-mix(in srgb, var(--accent-color), transparent 50%);
  border-right: 2px solid color-mix(in srgb, var(--accent-color), transparent 50%);
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 50%);
  border-radius: 0 0 12px 12px;
  position: relative;
}

.net-connector-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.net-connector-branch-up {
  width: 60%;
  max-width: 500px;
  height: 30px;
  border-left: 2px solid color-mix(in srgb, #10b981, transparent 50%);
  border-right: 2px solid color-mix(in srgb, #10b981, transparent 50%);
  border-top: 2px solid color-mix(in srgb, #10b981, transparent 50%);
  border-radius: 12px 12px 0 0;
  position: relative;
}

.net-connector-branch-up::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: color-mix(in srgb, #10b981, transparent 50%);
}

@media (max-width: 768px) {
  .net-row-vms {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .net-vm {
    max-width: 100%;
    width: 80%;
  }

  .net-connector-branch,
  .net-connector-branch-up {
    width: 40%;
  }

  .net-node {
    min-width: 140px;
    padding: 14px 18px;
  }
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  border-radius: 4px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/* Download CV Button */
.btn-download-cv {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.btn-download-cv:hover {
  background: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 180, 216, 0.3);
}

.btn-download-cv i {
  font-size: 18px;
}

/* View CV Button (secondary) */
.btn-view-cv {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--accent-color);
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.btn-view-cv:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 180, 216, 0.3);
}

.btn-view-cv i {
  font-size: 18px;
}

/* CV Viewer Card */
.cv-viewer-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
  padding: 30px;
}

.cv-viewer-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cv-viewer-card h3 i {
  color: #ef4444;
  font-size: 24px;
}

.cv-pdf-embed {
  background: #1a1a2e;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.cv-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 6px;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--surface-color), black 15%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section (keep for compatibility)
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Custom Scrollbar (Tech feel)
--------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent-color), transparent 60%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Selection Color
--------------------------------------------------------------*/
::selection {
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--contrast-color);
}
