/*--------------------------------------------------------------
# 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: #0d1117; /* Dark background color for the entire website */
  --default-color: #e6edf3; /* Light text color for readability on dark background */
  --heading-color: #f0f6fc; /* Light color for headings on dark background */
  --accent-color: #58a6ff; /* Blue accent color that works well with dark theme */
  --surface-color: #161b22; /* Dark surface color for cards and boxed elements */
  --contrast-color: #ffffff; /* White contrast color for text on accent backgrounds */
}

/* 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: #0d1117;
  --surface-color: #161b22;
  --default-color: #e6edf3;
  --heading-color: #f0f6fc;
}

.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
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 30%, #21262d 60%, #1a202c 100%);
  background-attachment: fixed;
  min-height: 100%;
}

body {
  color: var(--default-color);
  background-color: transparent;
  font-family: var(--default-font);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

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: -300px;
    background-color: #040b14 !important;
    width: 300px;
    transition: all 0.3s ease-in-out;
    z-index: 999;
  }
  
  /* Main content and footer animation for mobile sidebar */
  main, #footer, body {
    transition: transform 0.3s ease-in-out;
  }
  
  /* When sidebar is shown, slide content to the right */
  .header-mobile-open main,
  .header-mobile-open #footer {
    transform: translateX(300px);
  }
  
  /* Prevent horizontal scroll during animation */
  .header-mobile-open {
    overflow-x: hidden;
  }
  
  /* Ensure proper text visibility on mobile sidebar */
  .header .logo h1 {
    color: #ffffff !important;
  }
  
  .header {
    color: #ffffff !important;
  }
  
  /* Make all text elements visible on dark background */
  .header .social-links a {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
  }
  
  .header .profile-img img {
    border-color: rgba(255, 255, 255, 0.4) !important;
  }
  
  /* Ensure navigation links are visible */
  .header .navmenu a {
    color: #b8b9c4 !important;
  }
  
  .header .navmenu a:hover,
  .header .navmenu .active {
    color: #ffffff !important;
  }
}

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

/* Mobile sidebar open state - add class to body */
@media (max-width: 1199px) {
  .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 {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer {
  color: var(--default-color);
  background-color: transparent;
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

.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 {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: 0.3s;
}

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

/* Company name styling */
.company-name {
  margin-top: 5px;
  margin-bottom: 15px;
}

.company-name span {
  font-size: 0.9rem;
  color: #aaa;
  font-weight: 300;
}

/* Hero section language text */
.hero-languages-text {
  font-size: 0.75em;
}

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

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
#about {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
  position: relative;
  overflow: hidden;
}

.about-content-wrapper {
  position: relative;
  z-index: 2;
}

.about-section-title {
  color: #f0f6fc;
}

.about-section-title h2 {
  color: #58a6ff;
}

.about-section-title p {
  color: #e6edf3;
}

.about-profile-img {
  border: 2px solid #30d158;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(48, 209, 88, 0.3);
}

.about-content h2 {
  color: #58a6ff;
}

.about-content .description {
  color: #e6edf3;
}

.about-content ul {
  color: #e6edf3;
}

.about-content ul li .bi-chevron-right {
  color: #30d158;
}

.about-content ul li strong {
  color: #58a6ff;
}

.about-freelance-status {
  color: #30d158;
}

.about-conclusion {
  color: #e6edf3;
}

.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

/* Terminal overlay styling for about section */
.terminal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 255, 0, 0.02) 2px,
      rgba(0, 255, 0, 0.02) 4px
    );
  pointer-events: none;
  z-index: 1;
}
/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 35px 25px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.stats .stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.15);
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
  margin-bottom: 10px;
}

.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 {
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.95) 0%, rgba(22, 27, 34, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

#skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(88, 166, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(48, 209, 88, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.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: 25px 25px 25px 35px;
  margin: 10px 0 15px 0;
  border-left: 4px solid var(--accent-color);
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 15px 15px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.resume .resume-item:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.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 {
  padding: 80px 0 60px 0;
  background: var(--background-color);
}

/* Add custom spacing to services row */
.services .row.gy-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

/* Desktop: 2 rows of 3 columns */
@media (min-width: 992px) {
  .services .service-item {
    flex: 0 0 calc(32% - 1rem);
    max-width: calc(32% - 1rem);
    margin: 0 auto;
  }
}

/* Tablet: 3 rows of 2 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
  .services .service-item {
    flex: 0 0 calc(47% - 1rem);
    max-width: calc(47% - 1rem);
    margin: 0 auto;
  }
}

/* Mobile: 6 rows of 1 column */
@media (max-width: 767.98px) {
  .services .service-item {
    flex: 0 0 calc(90% - 1rem);
    max-width: calc(90% - 1rem);
    margin: 0 auto;
  }
  
  .services .row.gy-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
}

.services .service-item {
  position: relative;
  padding: 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  min-height: 200px;
  width: 100%;
}

.services .service-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.services .service-item .icon {
  background: linear-gradient(135deg, var(--accent-color), #4dabf7);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(116, 192, 252, 0.3);
}

.services .service-item .icon i {
  color: white;
  font-size: 28px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: linear-gradient(135deg, #4dabf7, var(--accent-color));
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(116, 192, 252, 0.5);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.3;
}

.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: 1.6;
  font-size: 15px;
  color: var(--text-color);
  margin: 0;
}

/* Tablet-specific services section fixes */
@media (min-width: 768px) and (max-width: 1199px) {
  section#services.services.section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  #services .container {
    display: block !important;
    visibility: visible !important;
  }
  
  #services .row {
    display: flex !important;
    flex-wrap: wrap !important;
    visibility: visible !important;
  }
  
  #services .service-item {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #services .col-lg-4,
  #services .col-md-6 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Override any potential AOS issues */
  #services [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Override any Bootstrap conflicts */
  #services .d-flex {
    display: flex !important;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
#testimonials {
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.95) 0%, rgba(22, 27, 34, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(88, 166, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(224, 102, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
  max-height: 450px;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 15px;
}

.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;
  align-items: stretch;
  min-height: 320px;
}

.testimonials .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  min-height: 320px;
}

.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%);
}

/* Contact section iframe */
.contact-iframe {
  border: 0;
  width: 100%;
  height: 270px;
}

/*--------------------------------------------------------------
# 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 {
  padding: 60px 0;
}

/*--------------------------------------------------------------
# Pull Requests Section
--------------------------------------------------------------*/

/* Forked Repositories Stats */
#forked-stats {
  display: none;
}

.forked-stats-item {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 30px;
}

.forked-stats-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.forked-repos-counter {
  font-size: 2.5rem;
  display: block;
  font-weight: 700;
}

.forked-stats-text {
  font-size: 1.1rem;
  margin: 10px 0 0 0;
}

/* Pull Request Stats */
#pr-stats {
  padding: 40px 0;
  background: var(--background-color);
}

#pr-stats .stats-item {
  padding: 20px 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  margin-bottom: 20px;
  height: auto;
  min-height: 140px;
}

#pr-stats .stats-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#pr-stats .stats-item i {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

/* Specific icon colors */
#pr-stats .stats-item i.bi-git {
  color: #f97316;
}

#pr-stats .stats-item i.bi-check-circle {
  color: #28a745;
}

#pr-stats .stats-item i.bi-clock {
  color: #ffc107;
}

#pr-stats .stats-item i.bi-x-circle {
  color: #dc3545;
}

#pr-stats .stats-item i.bi-folder {
  color: #007bff;
}

#pr-stats .stats-item i.bi-file-text {
  color: #20c997;
}

#pr-stats .stats-item i.bi-percent {
  color: #6f42c1;
}

#pr-stats .stats-item i.bi-code-slash {
  color: #fd7e14;
}

#pr-stats .stats-item span {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin: 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#pr-stats .stats-item p {
  margin: 0;
  color: var(--text-color);
  font-size: 14px;
}

#pr-stats .stats-item p strong {
  color: var(--heading-color);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}

#pr-stats .stats-item p span {
  font-size: 12px;
  color: var(--text-color-light);
  font-weight: 400;
  opacity: 0.8;
  text-shadow: none;
}

/* Pull Request Slider */
#pr-slider {
  background: var(--background-color);
}

/* PR Error Handling */
#pr-error {
  display: none !important;
  padding: 40px 0;
  background: var(--background-color);
}

#pr-error.show {
  display: block !important;
}

.pr-error-icon {
  font-size: 48px;
  color: #ffc107;
}

#pr-error p {
  color: var(--text-color);
  font-size: 16px;
  margin-top: 15px;
}

/* Pull Request Slider - Mobile Centering Fix */

/* Base PR Slider Styles */
#pr-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}

#pr-slider .swiper {
  width: 100%;
  padding-bottom: 50px;
  overflow: visible;
}

/* Desktop and Tablet - Default behavior */
#pr-slider .swiper-slide {
  width: 100%;
  max-width: 412px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* PR Card Base Styling */
.pr-slide {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  border-left: 4px solid #007bff;
  height: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  display: block;
}

/* Mobile-specific fixes - SIMPLE TESTIMONIAL-STYLE BEHAVIOR */
@media (max-width: 767px) {
  #pr-slider {
    overflow: hidden;
    padding: 40px 0;
  }
  
  #pr-slider .swiper {
    width: 100%;
    padding-bottom: 50px;
  }
  
  #pr-slider .swiper-wrapper {
    height: auto;
    align-items: stretch;
    min-height: 320px;
  }
  
  #pr-slider .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    min-height: 320px;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  /* PR Card mobile styling */
  .pr-slide {
    padding: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  /* Mobile card content adjustments */
  .pr-title {
    font-size: 16px !important;
    line-height: 1.3;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .pr-meta {
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .pr-description {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  
  .pr-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
  }
  
  .pr-link {
    flex: none;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
  }
  
  /* Navigation buttons mobile positioning */
  #pr-slider .swiper-button-next,
  #pr-slider .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    font-size: 16px;
  }
  
  #pr-slider .swiper-button-next::after,
  #pr-slider .swiper-button-prev::after {
    font-size: 16px;
  }
  
  /* Pagination mobile styling */
  #pr-slider .swiper-pagination {
    bottom: 5px;
  }
  
  #pr-slider .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 3px;
  }
}

/* Extra small phones (320px and below) */
@media (max-width: 375px) {
  #pr-slider .swiper-slide {
    width: 95vw !important;
    max-width: 320px !important;
  }
  
  .pr-slide {
    padding: 15px;
    min-height: 300px;
  }
  
  .pr-title {
    font-size: 15px !important;
  }
  
  .pr-description {
    font-size: 13px;
  }
}

/* Landscape mobile orientation */
@media (max-width: 767px) and (orientation: landscape) {
  #pr-slider .swiper-slide {
    width: 70vw !important;
    max-width: 400px !important;
  }
  
  .pr-slide {
    min-height: 280px;
  }
}

/* Fix for Swiper initialization on mobile */
@media (max-width: 767px) {
  .swiper-container-initialized .swiper-slide {
    display: flex !important;
    justify-content: center !important;
  }
  
  /* Ensure slides are properly centered when Swiper loads */
  .swiper-slide-active {
    transform: translateX(0) !important;
  }
}

/* Additional mobile-specific PR card improvements */
@media (max-width: 767px) {
  .pr-stats {
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 15px;
  }
  
  .pr-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .pr-repo {
    font-size: 13px;
    word-break: break-all;
  }
  
  .pr-status {
    font-size: 11px;
    padding: 3px 8px;
    white-space: nowrap;
  }
}

/* Ensure proper spacing in mobile PR stats section */
@media (max-width: 767px) {
  #pr-stats .stats-item {
    padding: 15px 10px;
    min-height: 120px;
    margin-bottom: 15px;
  }
  
  #pr-stats .stats-item span {
    font-size: 28px;
  }
  
  #pr-stats .stats-item p {
    font-size: 12px;
  }
  
  #pr-stats .stats-item p strong {
    font-size: 14px;
  }
}

.pr-slide:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Status Border Colors */
.pr-slide.merged {
  border-left-color: #28a745;
}

.pr-slide.closed {
  border-left-color: #dc3545;
}

.pr-slide.open {
  border-left-color: #ffc107;
}

.pr-slide.gist {
  border-left-color: #6f42c1;
}

/* PR Card Header */
.pr-card-header {
  margin-bottom: 15px;
}

.pr-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* PR Meta Information */
.pr-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.pr-repo {
  color: #74c0fc;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  flex-shrink: 0;
}

.pr-repo:hover {
  color: #4dabf7;
  text-decoration: underline;
}

.pr-status {
  padding: 4px 12px;
  border-radius: 12px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* PR Description */
.pr-description-container {
  margin-bottom: 15px;
}

.pr-description {
  font-size: 14px;
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* PR Stats Container */
.pr-stats-container {
  margin-bottom: 15px;
}

.pr-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.pr-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-color-light);
}

.pr-stat i {
  font-size: 14px;
}

/* PR Actions */
.pr-actions-container {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.pr-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pr-link {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  min-width: 80px;
}

.pr-link.primary {
  background: linear-gradient(135deg, var(--accent-color), #4dabf7);
  color: white;
}

.pr-link.primary:hover {
  background: linear-gradient(135deg, #4dabf7, var(--accent-color));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(116, 192, 252, 0.4);
}

.pr-link.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pr-link.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Swiper Navigation */
#pr-slider .swiper-button-next,
#pr-slider .swiper-button-prev {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  margin-top: -22px;
}

#pr-slider .swiper-button-next:hover,
#pr-slider .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#pr-slider .swiper-button-next::after,
#pr-slider .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* Swiper Pagination */
#pr-slider .swiper-pagination {
  bottom: 10px;
}

#pr-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  width: 8px;
  height: 8px;
}

#pr-slider .swiper-pagination-bullet-active {
  background: var(--accent-color);
  transform: scale(1.2);
}

/* Mobile carousel improvements */
@media (max-width: 767px) {
  #pr-slider {
    padding: 20px 15px;
  }
  
  #pr-slider .swiper-slide {
    width: 100%;
    margin-right: 15px;
  }
  
  .pr-slide {
    margin: 0;
    padding: 20px;
  }
  
  .pr-title {
    font-size: 15px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  
  .pr-actions {
    flex-direction: column;
  }
  
  .pr-link {
    flex: none;
  }
}

/*--------------------------------------------------------------
# Extracted CSS - Previously Inline Styles
--------------------------------------------------------------*/

/* Global Background Styles */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 30%, #21262d 60%, #1a202c 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0d1117 0%, #161b22 30%, #21262d 60%, #1a202c 100%);
  background-attachment: fixed;
  background-size: cover;
  z-index: -1;
  animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background: 
      radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
      linear-gradient(135deg, #0d1117 0%, #161b22 30%, #21262d 60%, #1a202c 100%);
  }
  33% {
    background: 
      radial-gradient(circle at 60% 30%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 20% 70%, rgba(239, 68, 68, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
      linear-gradient(135deg, #161b22 0%, #21262d 30%, #0d1117 60%, #1a202c 100%);
  }
  66% {
    background: 
      radial-gradient(circle at 40% 70%, rgba(34, 197, 94, 0.12) 0%, transparent 50%),
      radial-gradient(circle at 70% 40%, rgba(239, 68, 68, 0.12) 0%, transparent 50%),
      radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
      linear-gradient(135deg, #21262d 0%, #0d1117 30%, #161b22 60%, #1a202c 100%);
  }
}

#main {
  position: relative;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  margin: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Education and Portfolio Styles */
#education {
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.95) 0%, rgba(22, 27, 34, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

#education::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(116, 192, 252, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

#education .section-title h2 {
  background: linear-gradient(135deg, #74c0fc 0%, #e066ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Education Tutorial Cards */
#portfolio .portfolio-item {
  background: rgba(22, 27, 34, 0.9);
  border-radius: 15px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#portfolio .portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(116, 192, 252, 0.3);
}

#portfolio .portfolio-item img {
  border-radius: 15px 15px 0 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid rgba(116, 192, 252, 0.2);
}

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

#portfolio .portfolio-info {
  padding: 20px;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
  opacity: 1;
  transform: none;
  transition: all 0.3s ease;
}

#portfolio .portfolio-info h4 {
  color: #74c0fc;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  background: none;
  padding: 0;
  display: block;
}

#portfolio .portfolio-info p {
  color: #e6edf3;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  position: static;
}

#portfolio .tutorial-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#portfolio .tutorial-meta span {
  color: #a8a9b4;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

#portfolio .tutorial-meta .duration i {
  color: #58a6ff;
}

#portfolio .tutorial-meta .difficulty i {
  color: #ffd700;
}

#portfolio .details-link {
  background: linear-gradient(135deg, #58a6ff 0%, #74c0fc 100%);
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: static;
  left: auto;
  top: auto;
  font-size: 14px;
  line-height: normal;
}

#portfolio .details-link:hover {
  background: linear-gradient(135deg, #4dabf7 0%, #58a6ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(88, 166, 255, 0.3);
  color: white !important;
}

#portfolio .details-link i {
  font-size: 16px;
}

/* Portfolio filters styling */
#portfolio .portfolio-filters {
  margin-bottom: 40px;
  padding: 0;
  text-align: center;
}

#portfolio .portfolio-filters li {
  background: rgba(22, 27, 34, 0.8);
  color: #a8a9b4;
  padding: 12px 20px;
  border-radius: 25px;
  margin: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: inline-block;
  font-weight: 500;
  font-size: 14px;
}

#portfolio .portfolio-filters li:hover,
#portfolio .portfolio-filters li.filter-active {
  background: linear-gradient(135deg, #58a6ff 0%, #74c0fc 100%);
  color: white;
  border-color: rgba(116, 192, 252, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(88, 166, 255, 0.2);
}

/* Section title enhancements */
#portfolio .section-title {
  margin-bottom: 50px;
}

#portfolio .section-title p {
  color: #e6edf3;
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive adjustments for education cards */
@media (max-width: 768px) {
  #portfolio .portfolio-item {
    margin-bottom: 30px;
  }
  
  #portfolio .tutorial-meta {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  #portfolio .details-link {
    width: 100%;
    justify-content: center;
  }
}

#portfolio {
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.95) 0%, rgba(22, 27, 34, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

#portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(224, 102, 255, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

#portfolio .section-title h2 {
  background: linear-gradient(135deg, #e066ff 0%, #74c0fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Services Section Styles */
#services {
  background: linear-gradient(135deg, rgba(4, 11, 20, 0.9) 0%, rgba(16, 33, 54, 0.85) 100%);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(116, 192, 252, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(224, 102, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

#services .services-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

#services .services-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(116, 192, 252, 0.3);
}

#services .services-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(116, 192, 252, 0.1) 0%, rgba(224, 102, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#services .services-item:hover::before {
  opacity: 1;
}

#services .icon {
  background: linear-gradient(135deg, #74c0fc 0%, #e066ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

#services h4 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

#services p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive fixes for tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  #services {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  #services .container {
    display: block !important;
    visibility: visible !important;
  }
  
  #services .section-title,
  #services .row {
    display: block !important;
    visibility: visible !important;
  }
  
  #services .services-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Testimonials Section Styles */
#testimonials {
  background: linear-gradient(135deg, rgba(4, 11, 20, 0.95) 0%, rgba(16, 33, 54, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

#testimonials .testimonial-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

/* Contact Section Styles */
#contact {
  background: linear-gradient(135deg, rgba(4, 11, 20, 0.95) 0%, rgba(16, 33, 54, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(116, 192, 252, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

#contact .info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#contact .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(116, 192, 252, 0.3);
}

#contact .php-email-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

#contact .php-email-form input,
#contact .php-email-form textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
  border-color: #74c0fc;
  box-shadow: 0 0 10px rgba(116, 192, 252, 0.3);
}

/*--------------------------------------------------------------
# Projects Dropdown Styling
--------------------------------------------------------------*/
#projects-dropdown {
  min-width: 250px;
  max-height: 400px;
  overflow-y: auto;
}

#projects-dropdown li a {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

#projects-dropdown li a i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
  font-size: 14px;
}

#projects-dropdown li a .bi-star {
  color: #ffc107;
}

#projects-dropdown li a .bi-folder {
  color: var(--nav-dropdown-color);
}

#projects-dropdown li a .bi-github {
  color: #74c0fc;
}

#projects-dropdown li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--nav-dropdown-hover-color);
  transform: translateX(5px);
}

#projects-dropdown li a:hover .bi-folder,
#projects-dropdown li a:hover .bi-github {
  color: var(--nav-dropdown-hover-color);
}

#projects-dropdown .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 5px 0;
}

#projects-dropdown .dropdown-loading,
#projects-dropdown .text-muted {
  color: var(--nav-dropdown-color) !important;
  font-style: italic;
  text-align: center;
  padding: 10px 15px;
}

/*--------------------------------------------------------------
# Project Detail Section Styling
--------------------------------------------------------------*/
#project-detail {
  background: var(--background-color);
  padding: 80px 0;
}

.project-detail-content {
  color: var(--default-color);
}

.project-header {
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
}

.project-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.project-subtitle {
  font-size: 1.2rem;
  color: var(--default-color);
  opacity: 0.9;
}

.project-main-content .section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-main-content .section h3 {
  color: var(--accent-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.project-main-content .section h3 i {
  color: var(--accent-color);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  margin-bottom: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li:last-child {
  border-bottom: none;
}

.project-sidebar .info-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-sidebar .info-card h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.project-sidebar .info-card h4 i {
  color: var(--accent-color);
}

.project-sidebar .info-card ul li {
  margin-bottom: 8px;
  color: var(--default-color);
}

.tech-badges .badge {
  font-size: 0.85rem;
  padding: 6px 12px;
}

.project-links .btn {
  transition: all 0.3s ease;
}

.project-links .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#back-to-main {
  transition: all 0.3s ease;
  border-color: var(--accent-color);
  color: var(--accent-color);
}

#back-to-main:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/* Responsive design for project detail */
@media (max-width: 768px) {
  .project-title {
    font-size: 2rem;
  }
  
  .project-subtitle {
    font-size: 1rem;
  }
  
  .project-main-content .section {
    padding: 20px;
  }
  
  .project-sidebar .info-card {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .tech-badges .badge {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}