/**
* 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: #0a0e27;
  /* Background color for the entire website, including individual sections */
  --default-color: #e0e0e0;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #00d4ff;
  /* 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: #1a1f3a;
  /* 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. */
  --sidebar-width: 300px;
  --sidebar-collapsed-width: 80px;
}

/* 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: #b0b0b0;
  /* The default color of the main navmenu links */
  --nav-hover-color: #00d4ff;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #0a0e27;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #1a1f3a;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #b0b0b0;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #00d4ff;
  /* 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: #0f1428;
  --surface-color: #1a1f3a;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
}

.dark-background {
  --background-color: #0a0e27;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
  --surface-color: #1a1f3a;
  --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);
}

.main {
  width: 100%;
  box-sizing: border-box;
}

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: 20px 15px;
  width: var(--sidebar-width);
  transition: all ease-in-out 0.3s;
  overflow: hidden;
  z-index: 997;
  border-right: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Sidebar profile (top of sidebar) */
.header .sidebar-profile {
  width: 100%;
  padding: 14px 12px;
  gap: 12px;
  align-items: center;
}

.header .sidebar-profile img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid rgba(0, 212, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.header .profile-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header .profile-name {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 15px;
}

.header .profile-role {
  color: var(--default-color);
  font-size: 12px;
  opacity: 0.85;
}

.header .profile-img img {
  display: none;
}

.header .logo {
  display: none;
}

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

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

.header .social-links {
  display: none;
}

.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) {

  /* Reserve sidebar space so main layout never shifts when sidebar toggles */
  .header~main,
  .header~#footer {
    padding-left: var(--sidebar-width);
    transition: padding-left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  /* Containers fill available space within main (which already has sidebar padding) */
  main .container {
    width: 100%;
    max-width: none;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  main .row {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  /* Optional: Limit container width on ultra-wide screens */
  @media (min-width: 1920px) {
    main .container {
      max-width: 1600px;
    }
  }

}

/* Collapsed sidebar styles for a professional icons-only left menu */
.header.collapsed {
  /* Icons-only collapsed state: keep visual width small so main content doesn't have excessive left gap */
  width: var(--sidebar-collapsed-width);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header.collapsed~main,
.header.collapsed~#footer {
  /* When icons-only, reserve the smaller collapsed width so content aligns correctly */
  padding-left: var(--sidebar-collapsed-width);
}

/* Show labels only when sidebar expanded */
.navmenu a .nav-label {
  display: inline-block;
  margin-left: 10px;
}

.header.collapsed .navmenu a {
  justify-content: center;
}

.header.collapsed .navmenu a .nav-label {
  display: none;
}

/* Allow hover-to-expand when collapsed */
.header.collapsed:hover {
  width: var(--sidebar-width);
}

.header.collapsed:hover~main {
  padding-left: var(--sidebar-width);
}

.header.collapsed:hover .navmenu a .nav-label {
  display: inline-block;
}

.sidebar-collapse {
  position: absolute;
  top: 18px;
  right: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  background: var(--background-color);
  color: var(--default-color);
  border: 1px solid rgba(0, 212, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.25s;
}

.sidebar-collapse i {
  font-size: 18px;
}

.sidebar-collapse:hover {
  transform: rotate(10deg);
}

@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: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.header .header-toggle:active {
  transform: scale(0.95);
}

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

.navmenu {
  padding: 0;
  z-index: 9997;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.navmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 12px;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  transition: all 0.3s ease;
  width: 100%;
  border-left: 3px solid transparent;
  letter-spacing: 0.3px;
}

/* nav icon size and spacing */
.navmenu a {
  position: relative;
}

.navmenu a .navicon {
  flex: 0 0 36px;
  width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-right: 12px;
  font-size: 18px;
}

.navmenu a .nav-label {
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* active indicator bar */
.navmenu a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-color), #0099cc);
  border-radius: 4px;
}

/* Hover and active visuals */
.navmenu a:hover,
.navmenu a.active {
  color: var(--contrast-color);
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.06), rgba(0, 212, 255, 0.02));
  border-left-color: transparent;
}

/* Tooltip for collapsed sidebar (desktop) */
.header.collapsed .navmenu a::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 90px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 14, 39, 0.96);
  color: var(--default-color);
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 9999;
}

.header.collapsed .navmenu a:hover::after {
  opacity: 1;
}

.navmenu a:focus .navicon {
  font-size: 20px;
}

.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);
  background-color: rgba(0, 212, 255, 0.1);
  border-left-color: var(--accent-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: rgba(10, 14, 39, 0.3);
  /* Semi-transparent background */
  backdrop-filter: blur(10px);
  /* Blur effect */
  -webkit-backdrop-filter: blur(10px);
  /* Safari support */
  font-size: 15px;
  padding: 40px 0;
  position: relative;
  opacity: 0.5;
  /* Make footer less visible */
  transition: opacity 0.3s ease;
  border-top: 2px solid;
  border-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 212, 255, 0.2) 25%,
      rgba(0, 212, 255, 0.3) 50%,
      rgba(0, 212, 255, 0.2) 75%,
      transparent 100%) 1;
}

/* Optional: Increase opacity slightly on hover for better readability */
.footer:hover {
  opacity: 0.7;
}

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

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

/* Footer quick links: present as columns on wide screens, stack on small screens */
.footer .container .row.mb-4 {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer .container .row.mb-4>div {
  flex: 1 1 220px;
  max-width: 340px;
  text-align: left;
}

.footer .container .row.mb-4 h6 {
  text-align: left;
  margin-bottom: 12px;
}

.footer .container .row.mb-4 a {
  display: block;
  color: #b0b0b0;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer .container .row.mb-4 a:hover {
  color: var(--accent-color);
}

@media (max-width: 767px) {
  .footer .container .row.mb-4>div {
    text-align: center;
  }

  .footer .container .row.mb-4 h6 {
    text-align: center;
  }
}

/* Center bottom footer text and links and slightly increase font-size for readability */
.footer .copyright,
.footer .copyright p,
.footer .credits {
  text-align: center;
  font-size: 15px;
}

.footer .footer-links a {
  font-size: 15px;
}

/* Footer refactor styles */
.footer-title {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s ease;
}

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

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.footer-social-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.08);
  color: var(--accent-color);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  font-size: 18px;
}

.footer-social-icon i,
.footer-social-icon svg {
  font-size: 20px;
  line-height: 1;
}

.footer-social-icon:hover {
  transform: translateY(-4px);
  background: rgba(0, 212, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Make footer columns layout consistent and professional on wide screens */
@media (min-width: 768px) {
  .footer .container .row.mb-4>div {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Keep social icons aligned to the start of their column */
  .footer .footer-social {
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# 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;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
}

.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: var(--default-color);
}

.page-title .breadcrumbs ol li a {
  color: var(--accent-color);
}

.page-title .breadcrumbs ol li.current {
  color: var(--default-color);
}

/*--------------------------------------------------------------
# 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;
}

/* Enhanced Section Dividers */
section {
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 212, 255, 0.3) 25%,
      rgba(0, 212, 255, 0.5) 50%,
      rgba(0, 212, 255, 0.3) 75%,
      transparent 100%);
}

section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 212, 255, 0.2) 25%,
      rgba(0, 212, 255, 0.3) 50%,
      rgba(0, 212, 255, 0.2) 75%,
      transparent 100%);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 60px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0e27 0%, #1a2847 25%, #0d1628 50%, #1a3a4a 75%, #0a0e27 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0) 70%);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  z-index: 0;
  animation: float-slow 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 157, 221, 0.1) 0%, rgba(20, 157, 221, 0) 70%);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
  z-index: 0;
  animation: float-slower 12s ease-in-out infinite;
}

@keyframes float-slow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -40px) scale(1.1);
  }
}

@keyframes float-slower {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-50px, 50px) scale(0.95);
  }
}

.hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero .headshot-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--accent-color);
  box-shadow:
    0 0 80px rgba(0, 212, 255, 0.6),
    0 0 120px rgba(0, 212, 255, 0.3),
    inset 0 0 40px rgba(0, 212, 255, 0.15);
  animation: float 6s ease-in-out infinite;
  position: relative;
  margin-bottom: 8px;
  backdrop-filter: blur(0.5px);
}

.hero .headshot-circle::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.1));
  z-index: -1;
}

.hero .headshot-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) contrast(1.15) saturate(1.1);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-30px);
  }
}

.hero h2 {
  margin: 0 0 8px 0;
  font-size: 68px;
  font-weight: 900;
  color: var(--heading-color);
  letter-spacing: -2px;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.6);
  line-height: 1.1;
  animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  margin: 0 0 28px 0;
  font-size: 30px;
  color: var(--default-color);
  font-weight: 600;
  letter-spacing: 0.3px;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p span {
  color: var(--accent-color);
  font-weight: 800;
  letter-spacing: 0.6px;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--accent-color);
  animation: pulse-glow 2.5s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

@keyframes pulse-glow {

  0%,
  100% {
    border-bottom-color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  }

  50% {
    border-bottom-color: rgba(0, 212, 255, 0.7);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
  }
}

.hero .social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  padding: 10px 12px;
  min-width: 44px;
  height: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero .social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero .social-links a:hover::before {
  opacity: 1;
}

.hero .social-links a svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 2;
}

/* Hero two-column layout: text left, image right */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 520px;
  text-align: left;
}

.hero-content h2 {
  font-size: 2.25rem;
  margin-bottom: 8px;
}

.hero-sub {
  color: var(--default-color);
  margin-bottom: 18px;
}

.hero-image {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.headshot-circle img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* CTAs: rectangular, same height as social icons (40px), black background, white text */
.btn-hero {
  height: 40px;
  padding: 0 18px;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.btn-hero.btn-primary,
.btn-hero.btn-outline {
  background: #000;
  color: #fff !important;
  border: none;
}

.btn-hero i {
  font-size: 16px;
}

@media (max-width: 767px) {
  .hero-inner {
    flex-direction: column-reverse;
    align-items: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image {
    justify-content: center;
  }
}

/* Reduce large bottom gap after Recommendations/Testimonials */
#testimonials {
  padding-bottom: 20px;
}

#testimonials .section-title {
  padding-bottom: 12px;
}

.hero .social-links a:hover {
  color: var(--contrast-color);
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
  filter: brightness(1.1);
}

/* LinkedIn: remove the oval highlight and disable vertical hover movement */
.hero .social-links a.linkedin::before {
  display: none;
}

.hero .social-links a.linkedin:hover {
  transform: none !important;
  box-shadow: 0 10px 30px rgba(0, 119, 181, 0.25);
}

.hero .social-links a.github {
  background: linear-gradient(135deg, #0077b5 0%, #00a8e8 100%);
  color: #ffffff;
  border-color: rgba(0, 119, 181, 0.7);
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.2);
}

.hero .social-links a.github:hover {
  background: linear-gradient(135deg, #005885 0%, #0088c0 100%);
  box-shadow: 0 15px 40px rgba(0, 119, 181, 0.4);
}

.hero .social-links a.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #00a8e8 100%);
  color: #ffffff;
  border-color: rgba(0, 119, 181, 0.7);
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.2);
}

.hero .social-links a.linkedin:hover {
  background: linear-gradient(135deg, #005885 0%, #0088c0 100%);
  box-shadow: 0 15px 40px rgba(0, 119, 181, 0.4);
}

.hero .social-links a.notion {
  background: linear-gradient(135deg, #0077b5 0%, #00a8e8 100%);
  color: #ffffff;
  border-color: rgba(0, 119, 181, 0.7);
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.2);
  font-size: 16px;
  font-weight: 600;
}

.hero .social-links a.notion:hover {
  background: linear-gradient(135deg, #005885 0%, #0088c0 100%);
  box-shadow: 0 15px 40px rgba(0, 119, 181, 0.4);
  transform: translateY(-8px) scale(1.08);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding: 8px 0;
  position: relative;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(-6px);
    opacity: 1;
  }

  100% {
    transform: translateY(6px);
    opacity: 0;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}

.hero .social-links a.notion:hover {
  transform: translateY(-4px) rotateX(6deg) rotateY(-6deg);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 120px 0 60px 0;
  }

  .hero h2 {
    font-size: 42px;
  }

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

  .hero .headshot-circle {
    width: 150px;
    height: 150px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about .about-main-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about .about-header h2 {
  font-weight: 700;
  font-size: 36px;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.2;
  text-align: center;
}

.about .header-divider {
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.about .about-intro {
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
  text-align: center;
}

.about .details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 50px;
  padding: 35px 40px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 212, 255, 0.03) 100%);
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.08), inset 0 1px 0 rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
}

.about .details-list:hover {
  border-color: rgba(0, 212, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(0, 212, 255, 0.06) 100%);
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.15), inset 0 1px 0 rgba(0, 212, 255, 0.2);
}

.about .detail-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.about .detail-row:last-child {
  border-bottom: none;
}

.about .detail-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 16px;
  min-width: 140px;
}

.about .detail-label i {
  color: var(--accent-color);
  font-size: 18px;
}

.about .detail-value {
  color: var(--default-color);
  font-size: 16px;
  font-weight: 500;
}

/* Professional Info Cards */
.about .info-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06) 0%, rgba(0, 212, 255, 0.02) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.about .info-card:hover {
  border-color: var(--accent-color);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(0, 212, 255, 0.05) 100%);
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
}

.about .info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about .info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

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

.about .info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.about .info-label {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 14px;
  text-transform: capitalize;
  display: block;
}

.about .info-value {
  color: var(--default-color);
  font-size: 16px;
  font-weight: 500;
  display: block;
}

.about .about-closing {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.8;
  border-left: 4px solid var(--accent-color);
  padding-left: 20px;
  margin: 0;
  text-align: left;
}

/* Responsive About Layout */
@media (max-width: 992px) {
  .about .about-wrapper {
    gap: 30px;
  }

  .about .about-header h2 {
    font-size: 32px;
  }

  .about .details-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .about .about-header h2 {
    font-size: 26px;
  }

  .about .details-list {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 15px;
  }

  .about .detail-label {
    min-width: auto;
    font-size: 15px;
  }

  .about .detail-value {
    font-size: 15px;
  }

  .about .about-intro {
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: stretch;
}

.stats .col-lg-3 {
  flex: 0 0 calc(25% - 19px);
  display: flex;
  min-width: 0;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 212, 255, 0.02) 100%);
  border-radius: 12px;
  border: 2px solid rgba(0, 212, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  overflow: visible;
  min-height: 150px;
  position: relative;
}

.stats .stats-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.stats .stats-item:hover::before {
  opacity: 1;
}

.stats .stats-item:hover {
  border-color: var(--accent-color);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 38px;
  min-width: 45px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.stats .stats-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding-top: 3px;
}

.stats .stats-number {
  display: block;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  display: block;
}

.stats .stats-item p {
  color: var(--default-color);
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
}

@media (max-width: 1199px) {
  .stats .col-lg-3 {
    flex: 0 0 calc(50% - 13px);
  }
}

@media (max-width: 767px) {
  .stats .col-lg-3 {
    flex: 0 0 100%;
  }

  .stats .stats-item {
    padding: 25px;
    min-height: 140px;
    gap: 18px;
  }
}

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

.skills .progress::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
}

.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);
  font-size: 13px;
  letter-spacing: 0.5px;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
  color: var(--accent-color);
}

.skills .progress-bar-wrap {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
  height: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.skills .progress-bar {
  width: 1px;
  height: 12px;
  transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(90deg, var(--accent-color), #0099cc);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.resume .resume-column {
  display: flex;
  flex-direction: column;
}

.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: var(--heading-color);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 4px;
  color: var(--default-color);
}

.resume .resume-item h5 a {
  color: var(--accent-color);
}

.resume .resume-item ul {
  padding-left: 20px;
  color: var(--default-color);
}

.resume .resume-item ul li {
  padding-bottom: 10px;
  color: var(--default-color);
}

.resume .resume-item p {
  color: var(--default-color);
}

.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);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.resume .resume-item:hover::before {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  transform: scale(1.2);
}

/* Responsive Resume Layout */
@media (max-width: 768px) {
  .resume .resume-section-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio {
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Portfolio items should have proper spacing */
.portfolio .portfolio-item {
  box-sizing: border-box;
}

.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: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
  color: var(--default-color);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-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: 12px;
    margin: 0 5px;
    padding: 6px 12px;
  }
}

.portfolio .portfolio-item {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  min-width: 0;
  box-sizing: border-box;
}

.portfolio .portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25);
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-color);
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.portfolio .portfolio-content:hover {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.2);
}

.portfolio .portfolio-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.portfolio .portfolio-item:hover .portfolio-content::before {
  left: 100%;
}

.portfolio .portfolio-content img {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.97) 0%, rgba(20, 30, 60, 0.95) 100%);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transform: translateY(10px);
}

.portfolio .portfolio-item:hover .portfolio-content .portfolio-info {
  opacity: 1;
  transform: translateY(0);
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 18px;
  padding: 10px 15px;
  font-weight: 700;
  color: var(--contrast-color);
  display: inline-block;
  background-color: var(--accent-color);
  border-radius: 4px;
  margin-bottom: 10px;
}

.portfolio .portfolio-content .portfolio-info p {
  position: relative;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--default-color);
  margin: 10px 0;
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  font-size: 28px;
  color: var(--accent-color);
  transition: 0.3s;
  line-height: 1;
  margin: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--contrast-color);
  transform: scale(1.2);
}

.portfolio .portfolio-item {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.portfolio .portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25);
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 8px;
}

.portfolio .portfolio-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.portfolio .portfolio-item:hover .portfolio-content::before {
  left: 100%;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
  transform: translateY(0);
  background: rgba(0, 0, 0, 0.8);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.15);
  filter: brightness(0.7) contrast(1.2);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 212, 255, 0.02) 100%);
  padding: 30px;
  border: 2px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.services .service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
  transition: left 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.services .service-item:hover::before {
  left: 100%;
}

.services .service-item:hover {
  border-color: var(--accent-color);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.services .service-item .icon {
  background: linear-gradient(135deg, var(--accent-color), #0099cc);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: 0.3s;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  line-height: 0;
}

.services .service-item:hover .icon {
  transform: scale(1.1) rotate(5deg);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--heading-color);
}

.services .service-item .title a {
  color: var(--heading-color);
  text-decoration: none;
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 26px;
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
  opacity: 1;
  letter-spacing: 0.3px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 212, 255, 0.02) 100%);
  border: 2px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.testimonials .testimonial-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.testimonials .testimonial-item:hover {
  border-color: var(--accent-color);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.testimonials .testimonial-item:hover::before {
  left: 100%;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  color: var(--heading-color);
  position: relative;
  z-index: 1;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: var(--default-color);
  margin: 0;
  position: relative;
  z-index: 1;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: var(--accent-color);
  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: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
  color: var(--default-color);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid rgba(0, 212, 255, 0.05);
  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: rgba(0, 212, 255, 0.3);
  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 15px 40px rgba(0, 212, 255, 0.15);
  padding: 30px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
}

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

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

.contact .info-item i {
  font-size: 20px;
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), #0099cc);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

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

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--default-color);
}

.contact .info-item:hover i {
  transform: scale(1.1);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 15px 40px rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
}

@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: 12px 15px;
  box-shadow: none;
  border-radius: 4px;
  color: var(--default-color);
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.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);
  background-color: rgba(0, 212, 255, 0.05);
  outline: none;
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: rgba(224, 224, 224, 0.5);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), #0099cc);
  border: 0;
  padding: 12px 35px;
  transition: 0.4s;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.contact .php-email-form button[type=submit]:hover {
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# 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;
}

/* Image Lazy-Loading Optimization */
img[loading="lazy"] {
  background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0),
    linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-color: #e0e0e0;
  animation: shimmer 1.5s infinite;
  transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

@keyframes shimmer {
  0% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.8;
  }
}

.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
--------------------------------------------------------------*/
/* Starter section styles can be added here */

/* ============================================
   PROFESSIONAL SCROLLBAR & SPACING FIXES
   ============================================ */

/* 1. Make the Website More Compact (Fix "Too Large") */
section {
  padding: 40px 0 !important;
  /* Reduces huge gaps between sections */
}

.section-title {
  padding-bottom: 20px !important;
  /* Reduces gap below titles */
}

/* 2. Fix the Left Menu Scrollbar (Make it Sleek) */
#header {
  /* For Firefox */
  scrollbar-width: thin;
  scrollbar-color: #149ddd #040b14;
}

/* For Chrome, Edge, and Safari */
#header::-webkit-scrollbar {
  width: 6px;
  /* Very thin */
}

#header::-webkit-scrollbar-track {
  background: #040b14;
  /* Matches the black menu background */
}

#header::-webkit-scrollbar-thumb {
  background-color: #2c3e50;
  /* Dark grey for subtle visibility */
  border-radius: 10px;
  /* Round edges */
}

/* Hover effect on scrollbar */
#header:hover::-webkit-scrollbar-thumb {
  background-color: #149ddd;
  /* Turns blue when you mouse over the menu */
}

/* 3. Global Scrollbar (Main Website Window) */
/* This makes the main page scrollbar look premium too */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #149ddd;
  /* Blue on hover */
}

/* ============================================
   RIGHT (MAIN) SCROLLBAR STYLING
   ============================================ */

/* 1. The Width of the Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  /* Professional standard width */
}

/* 2. The Background Track (The part the bar moves in) */
::-webkit-scrollbar-track {
  background: #fdfdfd;
  /* Very light grey, almost white */
}

/* 3. The Handle (The moving part) */
::-webkit-scrollbar-thumb {
  background-color: #b0b0b0;
  /* Soft grey (subtle) */
  border-radius: 6px;
  /* Rounded corners for a modern look */
  border: 3px solid #fdfdfd;
  /* Creates a nice padding effect */
}

/* 4. Hover Effect (When you grab it) */
::-webkit-scrollbar-thumb:hover {
  background-color: #149ddd;
  /* Changes to your Theme Blue */
}

/* === FIX COUNTER ALIGNMENT (iPortfolio override) === */

.stats .stat-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* override theme forcing span to block */
.stats .stat-number span {
  display: inline-block !important;
}

/* number styling */
.stats .purecounter {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

/* plus sign styling */
.stats .plus-sign {
  font-size: 22px;
  font-weight: 600;
  margin-left: 2px;
}

/* Hero CTAs */
.hero-ctas {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero {
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.18s ease;
  text-decoration: none;
  cursor: pointer;
  min-width: 160px;
  font-size: 15px;
}

/* Keep CTAs in one row on medium+ screens */
@media (min-width: 600px) {
  .hero-ctas {
    flex-wrap: nowrap;
  }
}

.btn-hero.btn-primary {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.12);
  border: none;
}

.btn-hero.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 212, 255, 0.18);
}

.btn-hero.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-hero.btn-outline:hover {
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-3px);
}