/**
* 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/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* 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;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #149ddd; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #a8a9b4;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #040b14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --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(--default-color), transparent 90%);
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.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(--default-color), transparent 90%);
  color: var(--default-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(--default-color), transparent 90%);
}

.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;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 70%);
  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;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# 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);
}

/*--------------------------------------------------------------
# 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;
}

.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);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background-color: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@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.1);
}

@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: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-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
--------------------------------------------------------------*/
.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%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}


.project-video video {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-height: 480px;
  object-fit: cover;
}



.portfolio-details .swiper {
  width: 100%;
  height: auto;
}

.portfolio-details .portfolio-details-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}



/* ==========================================================
   UPGRADED PORTFOLIO DETAILS CARDS (Project Info + Description)
   Paste at the bottom of main.css
   ========================================================== */

/* Nice spacing + responsive sticky behavior */
.portfolio-details .portfolio-info,
.portfolio-details .portfolio-description {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Add an accent top border line like a premium card */
.portfolio-details .portfolio-info::before,
.portfolio-details .portfolio-description::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), white 30%)
  );
}

/* Improve padding & typography */
.portfolio-details .portfolio-info {
  padding: 22px 22px 18px;
}

.portfolio-details .portfolio-description {
  margin-top: 18px;
  padding: 22px;
}

/* Title styling */
.portfolio-details .portfolio-info h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 0 0 14px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

/* List layout like a spec sheet */
.portfolio-details .portfolio-info ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

/* Add small icon bullet for each row */
.portfolio-details .portfolio-info ul li::before {
  content: "•";
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
  margin-top: 2px;
}

/* Strong labels pop more */
.portfolio-details .portfolio-info ul li strong {
  color: var(--heading-color);
  font-weight: 800;
  min-width: 110px;
  display: inline-block;
}

/* Link style inside the card */
.portfolio-details .portfolio-info a {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--accent-color), transparent 40%);
}

.portfolio-details .portfolio-info a:hover {
  border-bottom-style: solid;
}

/* Description header better */
.portfolio-details .portfolio-description h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

/* Description text: more readable */
.portfolio-details .portfolio-description p,
.portfolio-details .portfolio-description li {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.7;
}

/* Description list beautification */
.portfolio-details .portfolio-description ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.portfolio-details .portfolio-description ul li {
  margin: 8px 0;
}

/* Optional: make the right-side cards sticky on desktop */
@media (min-width: 992px) {
  .portfolio-details .col-lg-4 {
    position: sticky;
    top: 90px;
    align-self: flex-start;
    height: fit-content;
  }
}

/* Dark background compatibility (if the section changes theme) */
.dark-background .portfolio-details .portfolio-info,
.dark-background .portfolio-details .portfolio-description {
  background: color-mix(in srgb, var(--surface-color), #000 8%);
  border-color: color-mix(in srgb, #fff, transparent 88%);
}



/* ==============================
   Professional Square Avatar Card
   ============================== */

.header .profile-img.profile-img--square {
  width: 140px;
  height: 140px;
  margin: 18px auto 10px;
  border-radius: 16px; /* soft-square */
  padding: 8px;
  background: color-mix(in srgb, var(--surface-color), transparent 5%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  overflow: hidden; /* ensures image stays inside the square */
}

.header .profile-img.profile-img--square .profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 12px; /* inner soft corners */
  object-fit: cover;
  display: block;
  border: 0; /* remove old thick border */
}

/* Optional: subtle hover polish */
.header .profile-img.profile-img--square:hover {
  transform: translateY(-1px);
  transition: 0.25s ease;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}




/* Optional: highlight EMIS project slightly */
.portfolio-details .row:nth-of-type(3) .portfolio-info::before,
.portfolio-details .row:nth-of-type(3) .portfolio-description::before {
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
}



/* ==========================================================
   MODERN RESUME SECTION
   ========================================================== */

.resume-modern {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-color), transparent 86%), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f4fafd 100%);
}

.resume-modern .resume-kicker {
  display: inline-flex;
  color: var(--accent-color);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.resume-hero-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 30px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(4, 11, 20, 0.94), rgba(20, 157, 221, 0.82)),
    url("../img/Hakeem.jpg") center/cover;
  color: #fff;
  box-shadow: 0 24px 70px rgba(4, 11, 20, 0.22);
  overflow: hidden;
  position: relative;
  margin-bottom: 34px;
}

.resume-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22), transparent 28%);
  pointer-events: none;
}

.resume-hero-left,
.resume-hero-right {
  position: relative;
  z-index: 2;
}

.resume-status {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 15px;
}

.resume-hero-card h3 {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 12px;
}

.resume-hero-card p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.8;
}

.resume-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.resume-btn {
  border: 0;
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition: 0.25s ease;
  cursor: pointer;
}

.resume-btn-primary {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.resume-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent-color), #000 12%);
}

.resume-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.resume-btn-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.resume-hero-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.resume-stat-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.resume-stat-card strong {
  display: block;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
}

.resume-stat-card span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  margin-top: 8px;
}

.resume-modern-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: start;
}

.resume-side-stack {
  display: grid;
  gap: 20px;
}

.resume-panel {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(4, 11, 20, 0.07);
}

.resume-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.resume-panel-head span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 20px;
}

.resume-panel-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
}

.modern-timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.modern-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: color-mix(in srgb, var(--accent-color), transparent 78%);
}

.modern-timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  position: relative;
}

.timeline-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-color);
  border: 5px solid var(--accent-color);
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

.timeline-content {
  padding: 18px;
  border-radius: 18px;
  background: #f8fbfd;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.timeline-date {
  display: inline-flex;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 91%);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.timeline-content h4 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 6px;
}

.timeline-place {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 10px;
}

.timeline-content ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.timeline-content li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 6px;
}

.resume-mini-list {
  display: grid;
  gap: 14px;
}

.resume-mini-list div {
  padding: 14px;
  border-radius: 16px;
  background: #f8fbfd;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 91%);
}

.resume-mini-list strong {
  display: block;
  color: var(--heading-color);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 5px;
}

.resume-mini-list span,
.resume-mini-list a {
  display: block;
  font-size: 13px;
  line-height: 1.6;
}

.resume-skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resume-skill-cloud span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 91%);
  color: color-mix(in srgb, var(--accent-color), #000 20%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  font-size: 13px;
  font-weight: 800;
}

/* ==========================================================
   RESUME PDF MODAL - BRIGHT RECRUITER FRIENDLY
   ========================================================== */

.resume-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.resume-modal.is-open {
  display: flex;
}

.resume-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(241, 245, 249, 0.9);
  backdrop-filter: blur(10px);
}

.resume-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1120px, 96vw);
  height: min(90vh, 920px);
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.18);
}

.resume-modal-header,
.resume-modal-footer {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff;
}

.resume-modal-header {
  border-bottom: 1px solid #e2e8f0;
}

.resume-modal-footer {
  border-top: 1px solid #e2e8f0;
}

.resume-modal-header span {
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.resume-modal-header h3 {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
}

.resume-modal-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 18px;
  transition: 0.25s ease;
}

.resume-modal-close:hover {
  background: var(--accent-color);
  color: #fff;
}

.resume-modal-body {
  flex: 1;
  background: #f8fafc;
  padding: 18px;
  overflow: hidden;
}

.resume-pdf-viewer,
.resume-modal-body iframe,
.resume-modal-body object {
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.resume-pdf-fallback {
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  background: #ffffff;
  color: #334155;
}

.resume-pdf-fallback i {
  font-size: 54px;
  color: var(--accent-color);
  margin-bottom: 16px;
}

.resume-pdf-fallback h4 {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 10px;
}

.resume-pdf-fallback p {
  max-width: 520px;
  color: #64748b;
  margin-bottom: 20px;
}

.resume-modal-footer .resume-btn-outline {
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
  background: #ffffff;
}

.resume-modal-footer .resume-btn-outline:hover {
  color: #fff;
  background: var(--accent-color);
}

body.resume-modal-open {
  overflow: hidden;
}

/* ==========================================================
   RESPONSIVE RESUME SECTION
   ========================================================== */

@media (max-width: 991px) {
  .resume-hero-card,
  .resume-modern-grid {
    grid-template-columns: 1fr;
  }

  .resume-hero-right {
    grid-template-columns: repeat(2, 1fr);
  }

  .resume-modal-dialog {
    width: 96vw;
    height: 90vh;
  }
}

@media (max-width: 575px) {
  .resume-hero-card {
    padding: 22px;
    border-radius: 22px;
  }

  .resume-hero-card h3 {
    font-size: 26px;
  }

  .resume-hero-right {
    grid-template-columns: 1fr;
  }

  .resume-panel {
    padding: 18px;
  }

  .resume-modal {
    padding: 10px;
  }

  .resume-modal-header,
  .resume-modal-footer {
    padding: 14px;
  }

  .resume-modal-header h3 {
    font-size: 15px;
  }

  .resume-modal-body {
    padding: 10px;
  }

  .resume-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .resume-modal-footer .resume-btn {
    width: 100%;
  }
}



.resume-html-dialog {
  width: min(1000px, 96vw);
  height: min(90vh, 920px);
}

.resume-html-body {
  background: #f8fafc;
  padding: 22px;
  overflow-y: auto;
}

.resume-paper {
  max-width: 850px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 34px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.resume-paper-header {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.resume-paper-header h2 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 6px;
  color: #0f172a;
}

.resume-paper-header p {
  margin-bottom: 14px;
  color: #64748b;
}

.resume-paper-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.resume-paper-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.resume-paper-links a:hover {
  background: var(--accent-color);
  color: #ffffff;
}

.resume-paper-section {
  margin-bottom: 26px;
}

.resume-paper-section h4 {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.resume-paper-section p,
.resume-paper-section li {
  font-size: 14px;
  line-height: 1.75;
  color: #334155;
}

.resume-paper-item {
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 14px;
}

.resume-paper-item h5 {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 4px;
}

.resume-paper-item span {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.resume-paper-item ul {
  margin-bottom: 0;
  padding-left: 18px;
}

.resume-project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resume-project-grid span {
  padding: 9px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 91%);
  color: color-mix(in srgb, var(--accent-color), #000 20%);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
}

@media (max-width: 575px) {
  .resume-paper {
    padding: 22px;
    border-radius: 18px;
  }

  .resume-paper-header h2 {
    font-size: 24px;
  }

  .resume-paper-links {
    justify-content: flex-start;
  }
}





/* ==========================================================
   MODERN ABOUT SECTION
   ========================================================== */

.about-modern {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent-color), transparent 88%), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.about-modern .about-kicker {
  display: inline-flex;
  color: var(--accent-color);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.about-modern-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: center;
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 24px 70px rgba(4, 11, 20, 0.08);
  position: relative;
  overflow: hidden;
}

.about-modern-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 94%), transparent 42%);
  pointer-events: none;
}

.about-photo-wrap,
.about-modern-content {
  position: relative;
  z-index: 2;
}

.about-photo-wrap {
  width: 230px;
  margin: 0 auto;
}

.about-photo {
  width: 230px;
  height: 300px;
  object-fit: cover;
  border-radius: 26px;
  display: block;
  border: 8px solid #ffffff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
}

.about-floating-badge {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-color);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent-color), transparent 55%);
}

.about-status {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: color-mix(in srgb, var(--accent-color), #000 20%);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.about-modern-content h3 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--heading-color);
}

.about-modern-content p {
  color: color-mix(in srgb, var(--default-color), transparent 22%);
  font-size: 15px;
  line-height: 1.8;
}

.about-lead {
  font-size: 16px !important;
  color: #334155 !important;
  font-weight: 500;
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.about-info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fbfd;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: 0.25s ease;
}

.about-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  border-color: color-mix(in srgb, var(--accent-color), transparent 65%);
}

.about-info-card i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 18px;
}

.about-info-card strong {
  display: block;
  color: var(--heading-color);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 4px;
}

.about-info-card span {
  display: block;
  color: #475569;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.about-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-highlight-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 800;
}

.about-highlight-row i {
  color: var(--accent-color);
}

@media (max-width: 991px) {
  .about-modern-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about-photo-wrap {
    margin: 0;
  }
}

@media (max-width: 575px) {
  .about-modern-card {
    padding: 22px;
    border-radius: 22px;
  }

  .about-photo-wrap,
  .about-photo {
    width: 190px;
  }

  .about-photo {
    height: 245px;
  }

  .about-modern-content h3 {
    font-size: 24px;
  }

  .about-info-grid {
    grid-template-columns: 1fr;
  }
}




/* ==========================================================
   MODERN SKILLS SECTION
   ========================================================== */

.skills-modern {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-color), transparent 88%), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.skills-modern .skills-kicker {
  display: inline-flex;
  color: var(--accent-color);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

/* Grid */
.skills-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card */
.skills-card {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 18px 45px rgba(4, 11, 20, 0.06);
  transition: 0.3s ease;
}

.skills-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(4, 11, 20, 0.1);
}

.skills-card h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skills-card i {
  color: var(--accent-color);
  font-size: 20px;
}

/* Tags */
.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-tags span {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: color-mix(in srgb, var(--accent-color), #000 20%);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  cursor: default;
  transition: 0.25s ease;
}

/* Percentage badge */
.skills-tags span::after {
  content: attr(data-level);
  margin-left: 8px;
  font-size: 11px;
  font-weight: 900;
  color: #64748b;
}

/* Hover effect */
.skills-tags span:hover {
  transform: translateY(-2px);
  background: var(--accent-color);
  color: #fff;
}

.skills-tags span:hover::after {
  color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
  .skills-modern-grid {
    grid-template-columns: 1fr;
  }
}





/* ==========================================================
   MODERN HERO SECTION WITH FADED BACKGROUND IMAGE
   ========================================================== */
/* ==========================================================
   MODERN HERO SECTION WITH CLEAR BACKGROUND IMAGE
   ========================================================== */

.hero-modern {
  position: relative !important;
  min-height: 100vh;
  padding: 0 !important;
  overflow: hidden;
  color: #fff;
  background: #eef6fb;
}

/* Main background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/black.png");
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
  opacity: 0.82;
  filter: none;
  z-index: 1;
}

/* Light overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 6, 23, 0.44) 0%,
      rgba(2, 6, 23, 0.24) 45%,
      rgba(2, 6, 23, 0.06) 100%
    ),
    rgba(255, 255, 255, 0.1);
  z-index: 2;
}

/* Remove old template overlay */
.hero-modern::before {
  display: none !important;
}

/* Force content to bottom-left */
.hero-modern .hero-content {
  position: absolute !important;
  z-index: 5 !important;

  left: 25px !important;
  bottom: 25px !important;

  width: auto !important;
  max-width: 620px !important;
  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;
  text-align: left !important;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

/* Name */
.hero-modern h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 950;
  line-height: 1.05;
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.hero-name {
  color: var(--accent-color);
}

/* Typed */
.hero-typed {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.hero-typed .typed {
  color: var(--accent-color);
}

/* Subtext */
.hero-subtext {
  max-width: 590px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.75;
  margin-bottom: 22px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 14px;
  transition: 0.25s ease;
  text-decoration: none;
}

.hero-btn-primary {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 199, 247, 0.26);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  color: #fff;
}

.hero-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(8px);
}

.hero-btn-outline:hover {
  background: rgba(2, 6, 23, 0.35);
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-bg {
    background-position: center top;
    opacity: 0.76;
  }

  .hero-modern .hero-content {
    left: 24px !important;
    bottom: 28px !important;
    max-width: calc(100% - 48px) !important;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    min-height: 92vh;
  }

  .hero-bg {
    background-position: center top;
    opacity: 0.72;
  }

  .hero-overlay {
    background: rgba(2, 6, 23, 0.42);
  }

  .hero-modern h1 {
    font-size: 34px;
  }

  .hero-typed {
    font-size: 18px;
  }

  .hero-subtext {
    font-size: 15px;
  }
}


/* ==========================================================
   MODERN CONTACT SECTION
   ========================================================== */

.contact-modern {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-color), transparent 88%), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.contact-modern .contact-kicker {
  display: inline-flex;
  color: var(--accent-color);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.contact-modern-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 24px 70px rgba(4, 11, 20, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-modern-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 94%), transparent 45%);
  pointer-events: none;
}

.contact-left,
.contact-links-grid {
  position: relative;
  z-index: 2;
}

.contact-status {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: color-mix(in srgb, var(--accent-color), #000 20%);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.contact-left h3 {
  font-size: 32px;
  font-weight: 900;
  color: var(--heading-color);
  margin-bottom: 14px;
}

.contact-left p {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
}

.contact-mini-info {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-mini-info div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 700;
}

.contact-mini-info i {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 18px;
  border-radius: 22px;
  background: #f8fbfd;
  border: 1px solid #e2e8f0;
  transition: 0.25s ease;
}

.contact-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.contact-link-card i {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  flex: 0 0 52px;
}

.contact-link-card strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 4px;
}

.contact-link-card span {
  display: block;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.contact-link-card.whatsapp i {
  background: #25d366;
}

.contact-link-card.phone i {
  background: var(--accent-color);
}

.contact-link-card.instagram i {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.contact-link-card.linkedin i {
  background: #0a66c2;
}

@media (max-width: 991px) {
  .contact-modern-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .contact-modern-card {
    padding: 22px;
    border-radius: 22px;
  }

  .contact-left h3 {
    font-size: 25px;
  }

  .contact-links-grid {
    grid-template-columns: 1fr;
  }

  .contact-link-card {
    min-height: auto;
  }
}




/* ==========================================================
   MODERN EXPERTISE SECTION
   ========================================================== */

.expertise-modern {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent-color), transparent 88%), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.expertise-modern .expertise-kicker {
  display: inline-flex;
  color: var(--accent-color);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.expertise-card {
  min-height: 185px;
  padding: 24px 18px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 18px 45px rgba(4, 11, 20, 0.06);
  transition: 0.28s ease;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 92%), transparent 55%);
  opacity: 0;
  transition: 0.28s ease;
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(4, 11, 20, 0.1);
  border-color: color-mix(in srgb, var(--accent-color), transparent 65%);
}

.expertise-card:hover::before {
  opacity: 1;
}

.expertise-card i,
.expertise-card h3,
.expertise-card span {
  position: relative;
  z-index: 2;
}

.expertise-card i {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin-bottom: 18px;
}

.expertise-card h3 {
  font-size: 17px;
  font-weight: 900;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.expertise-card span {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: auto;
  }
}



/* ==========================================================
   MODERN PORTFOLIO SECTION
   ========================================================== */

.portfolio-modern {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-color), transparent 88%), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.portfolio-kicker {
  display: inline-flex;
  color: var(--accent-color);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.portfolio-filter {
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #0f172a;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s ease;
}

.portfolio-filter:hover,
.portfolio-filter.active {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

.portfolio-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-project-card {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 20px 55px rgba(4, 11, 20, 0.07);
  transition: 0.3s ease;
}

.portfolio-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 75px rgba(4, 11, 20, 0.12);
}

.portfolio-project-card.featured {
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.project-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #0f172a;
}

.project-media img,
.project-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.project-media video {
  opacity: 0;
}

.portfolio-project-card:hover .project-media img {
  opacity: 0;
  transform: scale(1.05);
}

.portfolio-project-card:hover .project-media video {
  opacity: 1;
  transform: scale(1.03);
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14);
}

.project-content {
  padding: 22px;
}

.project-content h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #0f172a;
}

.project-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 91%);
  color: color-mix(in srgb, var(--accent-color), #000 22%);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.project-actions a,
.project-status,
.project-login {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.project-actions a {
  background: var(--accent-color);
  color: #ffffff;
}

.project-actions a:hover {
  background: color-mix(in srgb, var(--accent-color), #000 14%);
  color: #ffffff;
}

.project-status {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.project-login {
  background: #f1f5f9;
  color: #334155;
}

.portfolio-project-card.hide-project {
  display: none;
}

@media (max-width: 991px) {
  .portfolio-showcase-grid {
    grid-template-columns: 1fr;
  }

  .project-media {
    height: 240px;
  }
}

@media (max-width: 575px) {
  .project-media {
    height: 210px;
  }

  .project-content {
    padding: 18px;
  }
}



/* ==========================================================
   MODERN COMPACT DARK SIDEBAR
   ========================================================== */

:root {
  --sidebar-full-width: 240px;
  --sidebar-collapsed-width: 82px;
  --sidebar-bg: #050b14;
  --sidebar-bg-soft: #0b1220;
  --sidebar-card: #111827;
  --sidebar-border: rgba(255, 255, 255, 0.09);
  --sidebar-text: #ffffff;
  --sidebar-muted: #a8b3c7;
}

.header.portfolio-sidebar {
  width: var(--sidebar-full-width);
  padding: 18px 14px;
  background:
    radial-gradient(circle at top left, rgba(20, 157, 221, 0.18), transparent 34%),
    linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-soft) 100%);
  color: var(--sidebar-text);
  border-right: 1px solid var(--sidebar-border);
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.28);
  overflow-x: visible;
  z-index: 997;
}

@media (min-width: 1200px) {
  .header.portfolio-sidebar ~ main,
  .header.portfolio-sidebar ~ #footer {
    margin-left: var(--sidebar-full-width);
    transition: 0.3s ease;
  }

  body.sidebar-collapsed .header.portfolio-sidebar {
    width: var(--sidebar-collapsed-width);
  }

  body.sidebar-collapsed .header.portfolio-sidebar ~ main,
  body.sidebar-collapsed .header.portfolio-sidebar ~ #footer {
    margin-left: var(--sidebar-collapsed-width);
  }
}

/* Desktop toggle INSIDE sidebar */
.desktop-sidebar-toggle {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(20, 157, 221, 0.18);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  z-index: 1000;
  cursor: pointer;
  transition: 0.25s ease;
}

.desktop-sidebar-toggle:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

@media (min-width: 1200px) {
  .desktop-sidebar-toggle {
    display: inline-flex;
  }

  body.sidebar-collapsed .desktop-sidebar-toggle {
    right: 12px;
  }
}

.sidebar-brand {
  text-align: center;
  padding-top: 8px;
}

.header .profile-img.profile-img--square {
  width: 72px;
  height: 72px;
  margin: 8px auto 12px;
  border-radius: 18px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--sidebar-border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.header .profile-img.profile-img--square .profile-avatar {
  border-radius: 14px;
  object-fit: cover;
}

.header .logo {
  display: block;
  margin-bottom: 12px;
}

.header .logo h1 {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
}

.sidebar-role {
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(20, 157, 221, 0.22);
  border: 1px solid rgba(20, 157, 221, 0.35);
  padding: 5px 10px;
  border-radius: 999px;
}

.header .social-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 22px;
}

.header .social-links a {
  width: 34px;
  height: 34px;
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid var(--sidebar-border);
}

.header .social-links a:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.navmenu {
  padding-top: 8px;
}

.navmenu ul {
  padding: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--sidebar-muted);
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 750;
  gap: 10px;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  width: 36px;
  height: 36px;
  margin-right: 0;
  border-radius: 13px;
  background: rgba(20, 157, 221, 0.12);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--sidebar-border);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  background: var(--accent-color);
  color: #ffffff;
}

/* Collapsed desktop sidebar */
@media (min-width: 1200px) {
  body.sidebar-collapsed .sidebar-brand .logo,
  body.sidebar-collapsed .sidebar-role,
  body.sidebar-collapsed .social-links,
  body.sidebar-collapsed .navmenu a span {
    display: none;
  }

  body.sidebar-collapsed .header.portfolio-sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.sidebar-collapsed .header .profile-img.profile-img--square {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    padding: 3px;
    margin-top: 48px;
  }

  body.sidebar-collapsed .header .profile-img.profile-img--square .profile-avatar {
    border-radius: 12px;
  }

  body.sidebar-collapsed .navmenu a,
  body.sidebar-collapsed .navmenu a:focus {
    justify-content: center;
    padding: 10px;
  }
}

/* Mobile */
@media (max-width: 1199px) {
  .header.portfolio-sidebar {
    width: 260px;
    left: -100%;
  }

  .header.header-show {
    left: 0;
  }
}