/**
* Template Name: Style
* Template URL: https://bootstrapmade.com/style-bootstrap-portfolio-template/
* Updated: Jul 02 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# 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: "Quicksand",  sans-serif;
  --nav-font: "Open Sans",  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 */
/* prev_light – colours before the glassmorphism restyle (2026-10-20).
   To go back: swap these values in for the new ones below.
:root {
  --background-color: #ffffff;
  --default-color: #314862;
  --heading-color: #13447f;
  --accent-color: #065cc2;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}
*/
:root {
  --background-color: #e7ecf3; /* Background color for the entire website, including individual sections */
  --default-color: #36455a; /* was #4a5a6f; darkened 2026-10-20. */ /* Default color used for the majority of the text content across the entire website */
  --heading-color: #131c2a; /* was #1f2a3a; darkened 2026-10-20. */ /* Color for headings, subheadings and title throughout the website */
  --accent-color: #3f6ea8; /* 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: #f4f7fb; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
/* prev_light (nav)
:root {
  --nav-color: #314862;
  --nav-hover-color: #065cc2;
  --nav-mobile-background-color: #11427d;
  --nav-dropdown-background-color: #065cc2;
  --nav-dropdown-color: #acc4e0;
  --nav-dropdown-hover-color: #ffffff;
}
*/
:root {
  --nav-color: #36455a; /* was #4a5a6f */ /* The default color of the main navmenu links */
  --nav-hover-color: #3f6ea8; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #1f2a3a; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #3f6ea8; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #d3dfee; /* 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. */

/* prev_light (presets)
.light-background {
  --background-color: #f7faff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #065cc2;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #afcdf1;
  --surface-color: #2973cc;
  --contrast-color: #ffffff;
}
*/
.light-background {
  --background-color: #edf1f7;
  --surface-color: #f6f8fb;
}

.dark-background {
  --background-color: #1f2a3a;
  --default-color: #e6ecf4;
  --heading-color: #ffffff;
  --accent-color: #a9c4e6;
  --surface-color: #2b384b;
  --contrast-color: #ffffff;
}

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

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

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

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu */
.mobile-nav-toggle {
  color: var(--nav-color);
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 32px;
  line-height: 0;
  cursor: pointer;
  display: block !important;
  z-index: 998;
  transition: 0.3s;
}

.mobile-nav-toggle:hover {
  color: var(--nav-hover-color);
}

.navmenu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -300px;
  z-index: 997;
  transition: 0.3s;
  width: 300px;
  overflow: hidden;
}

.navmenu .profile-img img {
  margin: 15px auto;
  display: block;
  width: 160px;
  border: 8px solid color-mix(in srgb, var(--contrast-color), transparent 85%);
}

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

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

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

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

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

.navmenu .social-links a i {
  margin: 0;
}

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

.navmenu ul {
  display: block;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 998;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-dropdown-color);
  padding: 10px 20px;
  font-family: var(--nav-font);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
}

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

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

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

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

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 10px 0;
  margin: 10px 20px;
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--nav-dropdown-color), transparent 90%);
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav-toggle {
  right: 310px;
  font-size: 36px;
}

.mobile-nav-active .navmenu {
  position: fixed;
  overflow: hidden;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: var(--nav-mobile-background-color);
  transition: 0.3s;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

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

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 0 5px;
  transition: 0.3s;
}

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

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

/*--------------------------------------------------------------
# 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: 36px;
  font-weight: 700;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 0.5px;
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 10px 10px;
}

.section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 5px 0 0 0;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/bg/abstract-bg-1.webp") no-repeat center center;
  background-size: cover;
  opacity: 0.08;
  z-index: 1;
}

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

@media (max-width: 991px) {
  .hero .hero-content {
    padding: 60px 30px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero .hero-content {
    padding: 40px 20px;
  }
}

.hero .content-wrapper {
  max-width: 600px;
}

.hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-title {
    font-size: 2.2rem;
  }
}

.hero .hero-title .typed {
  color: var(--accent-color);
  position: relative;
}

.hero .lead {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 3rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

.hero .hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .hero .hero-stats {
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

.hero .hero-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .hero-stats .stat-item .purecounter {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.hero .hero-stats .stat-item .stat-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-top: 0.25rem;
}

.hero .hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .hero .hero-actions {
    justify-content: center;
    margin-bottom: 2rem;
  }
}

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

.hero .hero-actions .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero .hero-actions .btn.btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

.hero .hero-actions .btn.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
}

.hero .hero-actions .btn.btn-outline {
  background-color: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 70%);
}

.hero .hero-actions .btn.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.hero .social-links {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hero .social-links {
    justify-content: center;
  }
}

.hero .social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--surface-color);
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.hero .social-links a i {
  font-size: 1.2rem;
}

.hero .hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
}

@media (max-width: 991px) {
  .hero .hero-image {
    min-height: auto;
    padding: 40px 30px;
  }
}

.hero .image-container {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.hero .hero-main-image {
  border-radius: 20px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
  position: relative;
  z-index: 2;
}

.hero .image-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 30%));
  border-radius: 20px;
  z-index: 1;
}

.hero .floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.hero .floating-card {
  position: absolute;
  background-color: var(--surface-color);
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero .floating-card {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

.hero .floating-card i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero .floating-card i {
    font-size: 1.2rem;
  }
}

.hero .floating-card span {
  font-weight: 600;
  color: var(--default-color);
}

.hero .floating-card.card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

@media (max-width: 768px) {
  .hero .floating-card.card-1 {
    top: 5%;
    left: -5%;
  }
}

.hero .floating-card.card-2 {
  top: 60%;
  right: -15%;
  animation-delay: 2s;
}

@media (max-width: 768px) {
  .hero .floating-card.card-2 {
    top: 70%;
    right: -10%;
  }
}

.hero .floating-card.card-3 {
  bottom: 15%;
  left: -5%;
  animation-delay: 4s;
}

@media (max-width: 768px) {
  .hero .floating-card.card-3 {
    bottom: 10%;
    left: 0%;
  }
}

@keyframes float {

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

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .profile-image-wrapper {
  position: relative;
}

.about .profile-image-wrapper .profile-image {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--accent-color);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.about .profile-image-wrapper .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about .profile-image-wrapper .profile-image {
    width: 200px;
    height: 200px;
  }
}

.about .profile-image-wrapper .signature-section {
  text-align: center;
}

.about .profile-image-wrapper .signature-section .signature {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
  opacity: 0.8;
}

.about .profile-image-wrapper .signature-section .quote {
  position: relative;
  max-width: 420px;
  margin: 0.5rem auto 0;
  padding: 1.6rem 1rem 0;
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--heading-color);
  text-wrap: balance;
}

/* Accent quote mark above the About quote */
.about .profile-image-wrapper .signature-section .quote::before {
  content: "\201C";
  position: absolute;
  top: -0.35rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent-color);
}

@media (max-width: 576px) {
  .about .profile-image-wrapper .signature-section .quote {
    font-size: 1.05rem;
  }
}

.about .about-content .intro {
  margin-bottom: 40px;
}

.about .about-content .intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .about .about-content .intro h2 {
    font-size: 2rem;
    text-align: center;
  }
}

.about .about-content .intro p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@media (max-width: 768px) {
  .about .about-content .intro p {
    text-align: center;
  }
}

.about .about-content .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.about .about-content .skills-grid .skill-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: all 0.3s ease;
}

.about .about-content .skills-grid .skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.about .about-content .skills-grid .skill-item .skill-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 24px;
}

.about .about-content .skills-grid .skill-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.about .about-content .skills-grid .skill-item p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.about .about-content .journey-timeline {
  margin-bottom: 40px;
}

.about .about-content .journey-timeline .timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  border-left: 3px solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color), transparent 30%);
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}

.about .about-content .journey-timeline .timeline-item:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-left-color: color-mix(in srgb, var(--accent-color), transparent 10%);
}

.about .about-content .journey-timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.about .about-content .journey-timeline .timeline-item .year {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 18px;
  min-width: 80px;
  margin-right: 20px;
}

.about .about-content .journey-timeline .timeline-item .description {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 576px) {
  .about .about-content .journey-timeline .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .about .about-content .journey-timeline .timeline-item .year {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

.about .about-content .cta-section .fun-fact {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 15px 25px;
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.about .about-content .cta-section .fun-fact .emoji {
  font-size: 20px;
  margin-right: 10px;
}

.about .about-content .cta-section .fun-fact .text {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about .about-content .cta-section .fun-fact {
    justify-content: center;
    text-align: center;
  }
}

.about .about-content .cta-section .action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

@media (max-width: 576px) {
  .about .about-content .cta-section .action-buttons {
    flex-direction: column;
    align-items: center;
  }
}

.about .about-content .cta-section .action-buttons .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
}

.about .about-content .cta-section .action-buttons .btn.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

.about .about-content .cta-section .action-buttons .btn.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.about .about-content .cta-section .action-buttons .btn.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.about .about-content .cta-section .action-buttons .btn.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .about .profile-image-wrapper {
    margin-bottom: 40px;
  }
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .skills-grid .skill-card {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 5%) 100%);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: all 0.3s ease;
}

.skills .skills-grid .skill-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
}

.skills .skills-grid .skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 80%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.skills .skills-grid .skill-card .skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
}

.skills .skills-grid .skill-card .skill-header i {
  font-size: 28px;
  color: var(--accent-color);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 12px;
}

.skills .skills-grid .skill-card .skill-header h3 {
  font-size: 20px;
  margin: 0;
  color: var(--heading-color);
}

.skills .skills-grid .skill-card .skill-item {
  margin-bottom: 20px;
}

.skills .skills-grid .skill-card .skill-item:last-child {
  margin-bottom: 0;
}

.skills .skills-grid .skill-card .skill-item .skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skills .skills-grid .skill-card .skill-item .skill-info .skill-name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 15px;
}

.skills .skills-grid .skill-card .skill-item .skill-info .skill-percentage {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
}

.skills .skills-grid .skill-card .skill-item .skill-bar {
  height: 6px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skills .skills-grid .skill-card .skill-item .skill-bar .progress-bar {
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
  border-radius: 10px;
  width: 0;
  transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.skills .skills-grid .skill-card .skill-item .skill-bar .progress-bar:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

.skills .skills-summary {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 15px;
  height: fit-content;
  position: sticky;
  top: 20px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
}

.skills .skills-summary h3 {
  color: var(--heading-color);
  margin-bottom: 20px;
  font-size: 24px;
}

.skills .skills-summary p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 30px;
  line-height: 1.6;
}

.skills .skills-summary .summary-stats {
  margin-bottom: 30px;
}

.skills .skills-summary .summary-stats .stat-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.skills .skills-summary .summary-stats .stat-item:last-child {
  margin-bottom: 0;
}

.skills .skills-summary .summary-stats .stat-item .stat-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skills .skills-summary .summary-stats .stat-item .stat-circle i {
  color: var(--contrast-color);
  font-size: 20px;
}

.skills .skills-summary .summary-stats .stat-item .stat-info .stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
}

.skills .skills-summary .summary-stats .stat-item .stat-info .stat-label {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.skills .skills-summary .skills-badges h4 {
  color: var(--heading-color);
  margin-bottom: 15px;
  font-size: 18px;
}

.skills .skills-summary .skills-badges .badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills .skills-summary .skills-badges .badge-list .skill-badge {
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 991px) {
  .skills .skills-summary {
    margin-top: 30px;
    position: relative;
    top: auto;
  }
}

@media (max-width: 767px) {
  .skills .skills-grid .skill-card {
    padding: 25px 20px;
  }

  .skills .skills-grid .skill-card .skill-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .skills .skills-grid .skill-card .skill-header h3 {
    font-size: 18px;
  }

  .skills .skills-summary {
    padding: 30px 20px;
  }

  .skills .skills-summary .summary-stats .stat-item .stat-circle {
    width: 45px;
    height: 45px;
  }

  .skills .skills-summary .summary-stats .stat-item .stat-circle i {
    font-size: 18px;
  }

  .skills .skills-summary .summary-stats .stat-item .stat-info .stat-number {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .section-header {
  margin-bottom: 2.5rem;
}

.resume .section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.resume .section-header h2 i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.resume .section-header .section-subtitle {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1rem;
  line-height: 1.6;
}

.resume .experience-section {
  padding-right: 1.5rem;
}

.resume .experience-section .experience-cards .experience-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 12px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resume .experience-section .experience-cards .experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 30%));
}

.resume .experience-section .experience-cards .experience-card:hover {
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 85%);
  transform: translateY(-5px);
}

.resume .experience-section .experience-cards .experience-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.resume .experience-section .experience-cards .experience-card .card-header .role-info h3 {
  color: var(--heading-color);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.resume .experience-section .experience-cards .experience-card .card-header .role-info h4 {
  color: var(--accent-color);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.resume .experience-section .experience-cards .experience-card .card-header .duration {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.resume .experience-section .experience-cards .experience-card .card-body p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.resume .experience-section .experience-cards .experience-card .card-body .achievements {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.resume .experience-section .experience-cards .experience-card .card-body .achievements li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  font-size: 0.9rem;
}

.resume .experience-section .experience-cards .experience-card .card-body .achievements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.resume .experience-section .experience-cards .experience-card .card-body .achievements li:last-child {
  margin-bottom: 0;
}

.resume .education-section {
  padding-left: 1.5rem;
}

.resume .education-section .education-timeline {
  position: relative;
}

.resume .education-section .education-timeline .timeline-track {
  position: absolute;
  left: 1rem;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 70%));
}

.resume .education-section .education-timeline .education-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2.5rem;
}

.resume .education-section .education-timeline .education-item:last-child {
  margin-bottom: 0;
}

.resume .education-section .education-timeline .education-item .timeline-marker {
  position: absolute;
  left: 0.5rem;
  top: 1.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--accent-color);
  border: 3px solid var(--surface-color);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.resume .education-section .education-timeline .education-item .education-content {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.resume .education-section .education-timeline .education-item .education-content:hover {
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.resume .education-section .education-timeline .education-item .education-content .degree-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.resume .education-section .education-timeline .education-item .education-content .degree-header h3 {
  color: var(--heading-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.resume .education-section .education-timeline .education-item .education-content .degree-header .year {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.3rem 0.7rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.resume .education-section .education-timeline .education-item .education-content .institution {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.resume .education-section .education-timeline .education-item .education-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 992px) {

  .resume .experience-section,
  .resume .education-section {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .resume .section-header h2 {
    font-size: 1.6rem;
  }

  .resume .experience-cards .experience-card .card-header {
    flex-direction: column;
    gap: 0.8rem;
  }

  .resume .experience-cards .experience-card .card-header .duration {
    align-self: flex-start;
  }

  .resume .education-timeline .education-item .education-content .degree-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .resume .education-timeline .education-item .education-content .degree-header .year {
    align-self: flex-start;
  }
}

@media (max-width: 576px) {
  .resume .section-header h2 {
    font-size: 1.4rem;
  }

  .resume .section-header h2 i {
    font-size: 1.2rem;
  }

  .resume .experience-cards .experience-card {
    padding: 1.3rem;
  }

  .resume .education-timeline .timeline-track {
    left: 0.5rem;
  }

  .resume .education-timeline .education-item {
    padding-left: 2rem;
  }

  .resume .education-timeline .education-item .timeline-marker {
    left: 0;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  height: 100%;
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 25px -5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.services .service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--accent-color);
  transition: height 0.3s ease-in-out;
}

.services .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px -5px rgba(0, 0, 0, 0.08);
}

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

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

.services .service-item:hover .link-item i {
  transform: translateX(5px);
}

.services .service-item .icon {
  margin-bottom: 1.5rem;
}

.services .service-item .icon i {
  font-size: 2.5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transition: all 0.3s ease-in-out;
}

.services .service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.services .service-item p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.services .service-item .card-links {
  margin-top: auto;
}

.services .service-item .card-links .link-item {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.services .service-item .card-links .link-item i {
  margin-left: 0.5rem;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.services .service-item .card-links .link-item:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

@media (max-width: 991px) {
  .services .card-item {
    padding: 1.75rem;
  }

  .services .card-item h3 {
    font-size: 1.35rem;
  }

  .services .card-item .icon i {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .services .card-item {
    padding: 1.5rem;
  }

  .services .card-item h3 {
    font-size: 1.25rem;
  }

  .services .card-item .icon i {
    font-size: 2rem;
  }

  .services .card-item:hover {
    transform: translateY(-3px);
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0 0 40px;
  list-style: none;
}

.portfolio .portfolio-filters li {
  font-size: 15px;
  font-weight: 500;
  padding: 12px 25px;
  cursor: pointer;
  background: var(--surface-color);
  color: var(--default-color);
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.portfolio .portfolio-filters li i {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.portfolio .portfolio-filters li:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.portfolio .portfolio-filters li:hover i {
  transform: scale(1.1);
}

.portfolio .portfolio-filters li.filter-active {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters {
    gap: 10px;
  }

  .portfolio .portfolio-filters li {
    padding: 8px 20px;
    font-size: 14px;
  }
}

.portfolio .portfolio-entry {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.portfolio .portfolio-entry .entry-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.portfolio .portfolio-entry .entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-entry .entry-image .entry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-entry .entry-image .entry-overlay .overlay-content {
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-meta {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-title {
  color: var(--contrast-color);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px;
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-links {
  display: flex;
  gap: 15px;
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-links a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-color);
  color: var(--accent-color);
  border-radius: 12px;
  font-size: 20px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-links a:nth-child(1) {
  transition-delay: 0.1s;
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-links a:nth-child(2) {
  transition-delay: 0.2s;
}

.portfolio .portfolio-entry:hover .entry-image img {
  transform: scale(1.05);
}

.portfolio .portfolio-entry:hover .entry-image .entry-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio .portfolio-entry:hover .entry-image .entry-overlay .overlay-content {
  transform: translateY(0);
}

.portfolio .portfolio-entry:hover .entry-image .entry-overlay .entry-links a {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .portfolio .portfolio-entry .entry-image .entry-overlay {
    padding: 20px;
  }

  .portfolio .portfolio-entry .entry-image .entry-overlay .entry-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .portfolio .portfolio-entry .entry-image .entry-overlay .entry-links a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

.portfolio .portfolio-item .entry-image {
  aspect-ratio: 4/3;
}

@media (min-width: 1200px) {
  .portfolio .portfolio-item .entry-title {
    font-size: 20px;
  }
}

@media (min-width: 768px) {
  .portfolio .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .portfolio .row .portfolio-item {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 992px) {
  .portfolio .row {
    margin-left: -12px;
    margin-right: -12px;
  }

  .portfolio .row .portfolio-item {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (min-width: 1200px) {
  .portfolio .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  .portfolio .row .portfolio-item {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 1200px) {
  .portfolio .entry-overlay {
    padding: 25px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .portfolio .entry-overlay {
    padding: 20px;
  }
}

@media (max-width: 991px) {
  .portfolio .entry-overlay {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  overflow: hidden;
}

.testimonials .critic-reviews {
  margin-bottom: 60px;
}

.testimonials .critic-reviews .critic-review {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.testimonials .critic-reviews .critic-review .review-quote {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--accent-color);
  opacity: 0.2;
  line-height: 1;
}

.testimonials .critic-reviews .critic-review .stars {
  margin-bottom: 15px;
  display: flex;
}

.testimonials .critic-reviews .critic-review .stars i {
  color: #FFD700;
  margin-right: 3px;
  font-size: 18px;
}

.testimonials .critic-reviews .critic-review p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--default-color);
  font-style: italic;
}

.testimonials .critic-reviews .critic-review .critic-info .critic-name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 16px;
}

.testimonials .critic-reviews .critic-review:hover {
  transform: translateY(-10px);
}

.testimonials .testimonials-container {
  margin-bottom: 60px;
}

.testimonials .testimonials-container .swiper-wrapper {
  height: auto !important;
  padding-bottom: 20px;
}

.testimonials .testimonials-container .testimonial-item {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border-top: 3px solid var(--accent-color);
}

.testimonials .testimonials-container .testimonial-item .stars {
  margin-bottom: 15px;
  display: flex;
}

.testimonials .testimonials-container .testimonial-item .stars i {
  color: #FFD700;
  margin-right: 3px;
  font-size: 16px;
}

.testimonials .testimonials-container .testimonial-item p {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--default-color);
  line-height: 1.6;
}

.testimonials .testimonials-container .testimonial-item .testimonial-profile {
  display: flex;
  align-items: center;
}

.testimonials .testimonials-container .testimonial-item .testimonial-profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  margin-right: 15px;
}

.testimonials .testimonials-container .testimonial-item .testimonial-profile div h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px;
  color: var(--heading-color);
}

.testimonials .testimonials-container .testimonial-item .testimonial-profile div h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  font-weight: normal;
}

.testimonials .testimonials-container .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .testimonials-container .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  opacity: 1;
}

.testimonials .testimonials-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  width: 20px;
  border-radius: 10px;
}

.testimonials .overall-rating {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

.testimonials .overall-rating .rating-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
  margin-bottom: 10px;
}

.testimonials .overall-rating .rating-stars {
  margin-bottom: 15px;
}

.testimonials .overall-rating .rating-stars i {
  color: #FFD700;
  font-size: 22px;
  margin: 0 3px;
}

.testimonials .overall-rating p {
  color: var(--default-color);
  font-size: 15px;
  margin-bottom: 15px;
}

.testimonials .overall-rating .rating-platforms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.testimonials .overall-rating .rating-platforms span {
  font-size: 14px;
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 5px 15px;
  border-radius: 20px;
}

@media (max-width: 992px) {
  .testimonials .section-header h2 {
    font-size: 28px;
  }

  .testimonials .critic-reviews .critic-review {
    margin-bottom: 30px;
  }

  .testimonials .testimonials-container .testimonial-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }

  .testimonials .section-header h2 {
    font-size: 24px;
  }

  .testimonials .overall-rating {
    padding: 30px;
  }

  .testimonials .overall-rating .rating-number {
    font-size: 36px;
  }

  .testimonials .overall-rating .rating-stars i {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq {
  padding-top: 60px;
  padding-bottom: 60px;
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
}

.contact .info-box h3 {
  color: var(--contrast-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .contact .info-box h3 {
    font-size: 1.75rem;
  }
}

.contact .info-box p {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.contact .info-box a {
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .contact .info-box {
    padding: 1.5rem;
  }
}

.contact .info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact .info-item:last-child {
  margin-bottom: 0;
}

.contact .info-item .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 85%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.contact .info-item .icon-box i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.contact .info-item:hover .icon-box {
  background-color: color-mix(in srgb, var(--contrast-color), transparent 70%);
}

.contact .info-item .content h4 {
  color: var(--contrast-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact .info-item .content p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact .info-item .content p:last-child {
  margin-bottom: 0;
}

.contact .contact-form {
  background-color: var(--surface-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .contact .contact-form {
    padding: 1.5rem;
  }
}

.contact .contact-form h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .contact .contact-form h3 {
    font-size: 1.75rem;
  }
}

.contact .contact-form p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.875rem 1.25rem;
  border-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 0.5rem;
  background-color: color-mix(in srgb, var(--surface-color) 90%, white 5%);
  color: var(--default-color);
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.contact .contact-form .form-control::placeholder,
.contact .contact-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact .contact-form .btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
}

.contact .contact-form .btn i {
  font-size: 1.25rem;
}

.contact .contact-form .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), var(--contrast-color) 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
  --section-spacing: 2.5rem;
}

.portfolio-details .portfolio-details-media {
  position: relative;
}

.portfolio-details .portfolio-details-media .main-image {
  margin-bottom: 1rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider {
  position: relative;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-wrapper {
  height: auto !important;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-slide img {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-next,
.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-prev {
  background-color: var(--contrast-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-next:after,
.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-prev:after {
  font-size: 16px;
  color: var(--accent-color);
  font-weight: bold;
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-next:hover,
.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-prev:hover {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-next:hover:after,
.portfolio-details .portfolio-details-media .main-image .portfolio-details-slider .swiper-button-prev:hover:after {
  color: var(--contrast-color);
}

.portfolio-details .portfolio-details-media .thumbnail-grid img {
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.portfolio-details .portfolio-details-media .thumbnail-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-details-media .tech-stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.portfolio-details .portfolio-details-media .tech-stack-badges span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
  color: var(--heading-color);
  transition: all 0.3s ease;
}

.portfolio-details .portfolio-details-media .tech-stack-badges span:hover {
  background-color: color-mix(in srgb, var(--heading-color), transparent 70%);
  transform: translateY(-2px);
}

.portfolio-details .portfolio-details-content {
  padding: 0 0 0 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-details .portfolio-details-content .project-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.portfolio-details .portfolio-details-content .project-meta .badge-wrapper .project-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
}

.portfolio-details .portfolio-details-content .project-meta .date-client {
  display: flex;
  gap: 1.5rem;
}

.portfolio-details .portfolio-details-content .project-meta .date-client .meta-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.portfolio-details .portfolio-details-content .project-meta .date-client .meta-item i {
  margin-right: 6px;
  color: var(--accent-color);
}

.portfolio-details .portfolio-details-content .project-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
}

.portfolio-details .portfolio-details-content .project-website {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.portfolio-details .portfolio-details-content .project-website i {
  font-size: 22px;
  color: var(--accent-color);
  margin-right: 8px;
}

.portfolio-details .portfolio-details-content .project-website a {
  font-weight: 500;
  transition: all 0.3s;
}

.portfolio-details .portfolio-details-content .project-website a:hover {
  letter-spacing: 0.5px;
}

.portfolio-details .portfolio-details-content .project-overview {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .portfolio-details-content .project-overview .lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.5rem;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item {
  border: none;
  background: none;
  margin-bottom: 10px;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button {
  padding: 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading-color);
  background-color: color-mix(in srgb, var(--surface-color), transparent 70%);
  border-radius: 8px !important;
  box-shadow: none;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) {
  background-color: var(--surface-color);
  color: var(--accent-color);
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) i {
  color: var(--accent-color);
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button::after {
  background-size: 14px;
  width: 14px;
  height: 14px;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-header .accordion-button i {
  font-size: 1.1rem;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-body {
  padding: 1rem;
  background-color: var(--surface-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.portfolio-details .portfolio-details-content .project-overview .project-accordion .accordion-item .accordion-body p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.6;
}

.portfolio-details .portfolio-details-content .project-features {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .portfolio-details-content .project-features h3 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

.portfolio-details .portfolio-details-content .project-features h3 i {
  margin-right: 10px;
  color: var(--accent-color);
  font-size: 1.1em;
}

.portfolio-details .portfolio-details-content .project-features .feature-list {
  list-style: none;
  padding-left: 0;
}

.portfolio-details .portfolio-details-content .project-features .feature-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.portfolio-details .portfolio-details-content .project-features .feature-list li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.1em;
}

.portfolio-details .portfolio-details-content .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-view-project {
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-view-project:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project {
  padding: 12px 28px;
  background-color: color-mix(in srgb, var(--heading-color), transparent 90%);
  color: var(--heading-color);
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project i {
  transition: transform 0.3s ease;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project:hover {
  background-color: color-mix(in srgb, var(--heading-color), transparent 80%);
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project:hover i {
  transform: translateX(3px);
}

@media (max-width: 1199.98px) {
  .portfolio-details .portfolio-details-content {
    padding-left: 1rem;
  }
}

@media (max-width: 991.98px) {
  .portfolio-details .portfolio-details-content {
    padding: 2rem 0 0 0;
  }

  .portfolio-details .portfolio-details-content .cta-buttons {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .portfolio-details .project-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .portfolio-details .project-meta .date-client {
    flex-direction: column;
    gap: 0.5rem;
  }

  .portfolio-details .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .portfolio-details .cta-buttons a {
    width: 100%;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-hero {
  position: relative;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.service-details .service-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-details .service-hero .service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
}

.service-details .service-content .service-header {
  margin-bottom: 40px;
}

.service-details .service-content .service-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.service-details .service-content .service-header .service-intro {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details .service-content h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--heading-color);
}

.service-details .service-features {
  margin-bottom: 50px;
}

.service-details .service-features .feature-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.service-details .service-features .feature-item:hover {
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transform: translateY(-2px);
}

.service-details .service-features .feature-item .feature-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.service-details .service-features .feature-item .feature-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.service-details .service-features .feature-item .feature-content h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.service-details .service-features .feature-item .feature-content p {
  font-size: 14px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.service-details .service-process {
  margin-bottom: 50px;
}

.service-details .service-process .process-steps .process-step {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.service-details .service-process .process-steps .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 60px;
  width: 2px;
  height: 40px;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.service-details .service-process .process-steps .process-step .step-number {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 25px;
  flex-shrink: 0;
  font-size: 16px;
}

.service-details .service-process .process-steps .process-step .step-content h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.service-details .service-process .process-steps .process-step .step-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details .service-gallery {
  margin-bottom: 30px;
}

.service-details .service-gallery img {
  transition: transform 0.3s ease;
}

.service-details .service-gallery img:hover {
  transform: scale(1.05);
}

.service-details .service-sidebar .service-menu {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .service-menu h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--heading-color);
}

.service-details .service-sidebar .service-menu .menu-list .menu-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item:hover,
.service-details .service-sidebar .service-menu .menu-list .menu-item.active {
  color: var(--accent-color);
  padding-left: 10px;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item:hover i,
.service-details .service-sidebar .service-menu .menu-list .menu-item.active i {
  color: var(--accent-color);
}

.service-details .service-sidebar .service-menu .menu-list .menu-item i {
  margin-right: 12px;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: color 0.3s ease;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item span {
  font-weight: 500;
}

.service-details .service-sidebar .service-info {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .service-info h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--heading-color);
}

.service-details .service-sidebar .service-info .info-list .info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .service-info .info-list .info-item:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .service-info .info-list .info-item .info-label {
  font-weight: 500;
  color: var(--default-color);
}

.service-details .service-sidebar .service-info .info-list .info-item .info-value {
  font-weight: 600;
  color: var(--accent-color);
}

.service-details .service-sidebar .contact-card {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  padding: 30px;
  border-radius: 10px;
  color: var(--contrast-color);
}

.service-details .service-sidebar .contact-card .contact-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.service-details .service-sidebar .contact-card .contact-content p {
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.6;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info {
  margin-bottom: 25px;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info .contact-item i {
  margin-right: 10px;
  opacity: 0.8;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info .contact-item span {
  font-size: 14px;
}

.service-details .service-sidebar .contact-card .contact-content .btn {
  background: var(--contrast-color);
  color: var(--accent-color);
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .contact-card .contact-content .btn:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .service-details .service-hero img {
    height: 250px;
  }

  .service-details .service-hero .service-badge {
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    font-size: 12px;
  }

  .service-details .service-content .service-header h2 {
    font-size: 24px;
  }

  .service-details .feature-item {
    padding: 15px !important;
  }

  .service-details .feature-item .feature-icon {
    width: 50px !important;
    height: 50px !important;
    margin-right: 15px !important;
  }

  .service-details .feature-item .feature-icon i {
    font-size: 20px !important;
  }

  .service-details .service-sidebar {
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/*--------------------------------------------------------------
# Custom: Dhaval Joshi portfolio
--------------------------------------------------------------*/
/* "+" suffix on hero counters (e.g. 11+) */
.hero .purecounter.plus::after {
  content: "+";
}

/* Skill tags used in place of percentage bars (resume lists no percentages) */
.skills .skills-grid .skill-card .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skills .skills-grid .skill-card .tech-tags span {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* About: expertise tiles - 1 column on phones, 2x2 on small tablets, one row of 4 from 768px */
.about .about-expertise {
  margin-top: 40px;
}

.about .about-expertise .skills-grid {
  margin-bottom: 0;
}

@media (min-width: 576px) {
  .about .about-content .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .about .about-content .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* About: photo scales down to fit its column when beside the text */
.about .profile-image-wrapper .profile-image {
  width: min(280px, 100%);
  height: auto;
  aspect-ratio: 1 / 1;
}

@media (max-width: 767.98px) {
  .about .profile-image-wrapper .profile-image {
    width: min(200px, 100%);
  }
}

/* Hero: 4th floating card (top-right), reuses the template float animation */
.hero .floating-card.card-4 {
  top: 22%;
  right: -12%;
  animation-delay: 1s;
}

@media (max-width: 768px) {
  .hero .floating-card.card-4 {
    top: auto;
    bottom: -9%;
    right: -8%;
  }
}

/*--------------------------------------------------------------
# Custom: Floating sticky header (pill style)
--------------------------------------------------------------*/
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 997;
  padding: 0 16px;
  pointer-events: none; /* only the pill itself is clickable */
}

.site-header-inner {
  pointer-events: auto;
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 12px;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 18px;
  box-shadow: 0 6px 24px var(--header-shadow);
  transition: box-shadow 0.3s, background 0.3s;
}

.site-header.is-scrolled .site-header-inner {
  background: var(--header-bg-scrolled);
  box-shadow: 0 10px 32px var(--header-shadow-strong);
}

/* Brand: DJ avatar + name */
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading-color);
  text-decoration: none;
  flex-shrink: 0;
}

.site-header .brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), #6a5cff);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.site-header .brand-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  font-size: 15px;
  color: var(--header-brand-color);
}

/* Centered links */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--header-link-color);
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

/* Right-side icon buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.site-header .header-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--header-link-color);
  font-size: 17px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.site-header .header-icon:hover {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.site-nav-toggle {
  display: none !important;
  cursor: pointer;
  font-size: 22px !important;
}

/* Frosted band from the top of the screen to just below the pill, so content
   scrolling up is hidden behind it instead of showing around/through the glass.
   --header-offset = pill bottom edge in px, kept current by header.js. */
.site-header::before {
  content: "";
  position: absolute;
  top: -16px; /* the header itself sits 16px down; start at the screen edge */
  left: 0;
  right: 0;
  height: calc(var(--header-offset, 77px) + 12px);
  z-index: -1;
  pointer-events: none;
  background: color-mix(in srgb, var(--background-color), transparent 12%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  /* soft 12px fade under the pill rather than a hard edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Only needed once something can scroll under it */
.site-header.is-scrolled::before {
  opacity: 1;
}

/* Sections and other anchor targets land below the floating header when jumped to */
section,
.section,
main [id] {
  scroll-margin-top: calc(var(--header-offset, 77px) + 14px); /* was a fixed 90px */
}

/* Mobile / tablet: links collapse into a dropdown panel under the pill */
@media (max-width: 991.98px) {
  .site-nav-toggle {
    display: inline-flex !important;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--header-menu-bg);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
    border-radius: 16px;
    box-shadow: 0 12px 32px var(--header-shadow-strong);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .site-header.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav a {
    padding: 12px 14px;
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .site-header .brand-name {
    font-size: 14px;
  }

  .header-actions {
    gap: 2px;
  }
}

/*--------------------------------------------------------------
# Custom: Light / dark theme
--------------------------------------------------------------*/
/* Header colours (light) */
/* prev_light (header)
:root {
  --header-bg: rgba(255, 255, 255, 0.82);
  --header-bg-scrolled: rgba(255, 255, 255, 0.92);
  --header-menu-bg: #ffffff;
  --header-brand-color: #0f1b2d;
  --header-link-color: #2b3a4d;
  --header-shadow: rgba(19, 68, 127, 0.08);
  --header-shadow-strong: rgba(19, 68, 127, 0.14);
}
*/
:root {
  --header-bg: rgba(255, 255, 255, 0.42);
  --header-bg-scrolled: rgba(255, 255, 255, 0.58);
  --header-menu-bg: #f4f7fb; /* was rgba(244, 247, 251, 0.97): page text still showed through the nested glass */
  --header-brand-color: #131c2a; /* was #1f2a3a */
  --header-link-color: #2a3849; /* was #3b4a5e */
  --header-shadow: rgba(31, 42, 58, 0.08);
  --header-shadow-strong: rgba(31, 42, 58, 0.14);
}

/* Dark palette: overrides the template's global colour variables */
/* prev_dark – colours before the glassmorphism restyle (2026-10-20).
   To go back: swap these values in for the new ones below.
:root[data-theme="dark"] {
  --background-color: #0b1220;
  --default-color: #b4c0d3;
  --heading-color: #e8eef8;
  --accent-color: #3b82f6;
  --surface-color: #131c2e;
  --contrast-color: #ffffff;

  --nav-color: #b4c0d3;
  --nav-hover-color: #3b82f6;

  --header-bg: rgba(17, 25, 41, 0.78);
  --header-bg-scrolled: rgba(17, 25, 41, 0.92);
  --header-menu-bg: #111929;
  --header-brand-color: #e8eef8;
  --header-link-color: #c5d0e0;
  --header-shadow: rgba(0, 0, 0, 0.35);
  --header-shadow-strong: rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

:root[data-theme="dark"] .light-background {
  --background-color: #0e1628;
  --surface-color: #131c2e;
}

:root[data-theme="dark"] .dark-background {
  --background-color: #07101f;
  --default-color: #c5d0e0;
  --heading-color: #ffffff;
  --accent-color: #8fbaf0;
  --surface-color: #13203a;
}

:root[data-theme="dark"] .contact .info-box {
  background-color: #1d4f9e;
}
*/
:root[data-theme="dark"] {
  --background-color: #0c1322;
  --default-color: #b3bfd0;
  --heading-color: #eaf0f8;
  --accent-color: #4f8fe6;
  --surface-color: #151f31;
  --contrast-color: #ffffff;

  --nav-color: #b3bfd0;
  --nav-hover-color: #5b9df0;

  --header-bg: rgba(24, 33, 51, 0.45);
  --header-bg-scrolled: rgba(24, 33, 51, 0.62);
  --header-menu-bg: #121a29; /* was rgba(18, 26, 41, 0.97): page text still showed through the nested glass */
  --header-brand-color: #eaf0f8;
  --header-link-color: #c3cddb;
  --header-shadow: rgba(0, 0, 0, 0.35);
  --header-shadow-strong: rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

:root[data-theme="dark"] .light-background {
  --background-color: #0f1727;
  --surface-color: #151f31;
}

:root[data-theme="dark"] .dark-background {
  --background-color: #080d18;
  --default-color: #c3cddb;
  --heading-color: #ffffff;
  --accent-color: #8fb8ee;
  --surface-color: #141d2e;
}

:root[data-theme="dark"] body {
  background-color: var(--background-color);
}

/* Contact Info box: deep blue so white text stays readable */
:root[data-theme="dark"] .contact .info-box {
  background-color: #23477a;
}

/* Soften shadows/borders that were tuned for white backgrounds */
:root[data-theme="dark"] .hero::before {
  opacity: 0.04;
}

/* Smooth colour change when switching */
body,
.section {
  transition: background-color 0.3s, color 0.3s;
}

/*--------------------------------------------------------------
# Custom: Professional Journey timeline
--------------------------------------------------------------*/
/* Rows: role | years | line | summary. The line's x/top/height come from
   assets/js/journey.js (--journey-line-*), its fill from --journey-progress. */
.resume .journey-section {
  padding-right: 0;
  margin-bottom: 4rem;
}

.career-timeline {
  position: relative;
  --journey-progress: 0;
}

.journey-line {
  position: absolute;
  left: var(--journey-line-x, 50%);
  top: var(--journey-line-top, 0);
  height: var(--journey-line-height, 100%);
  width: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
}

.journey-line-fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(var(--journey-progress) * 100%);
  border-radius: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 80%), var(--accent-color));
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.journey-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13rem 3.5rem minmax(0, 1.2fr);
  column-gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  opacity: 0.45;
  transition: opacity 0.4s ease;
}

.journey-item.is-active {
  opacity: 1;
}

.journey-role h3 {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.4rem;
  color: var(--heading-color);
}

.journey-company {
  display: block;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent-color);
}

.journey-year {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
  color: var(--heading-color);
}

.journey-year span {
  color: var(--accent-color);
}

.journey-marker {
  justify-self: center;
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-top: 0.85rem;
  border-radius: 50%;
  background: var(--background-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.journey-item.is-active .journey-marker {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-color), transparent 80%), 0 0 18px var(--accent-color);
}

.journey-summary {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: var(--default-color);
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.journey-summary:hover,
.journey-summary:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 8px 26px color-mix(in srgb, var(--default-color), transparent 88%);
  outline: none;
}

.journey-summary:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.journey-summary-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.6;
}

.journey-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
}

.journey-more i {
  transition: transform 0.3s ease;
}

.journey-summary:hover .journey-more i {
  transform: translateX(4px);
}

/* Details popup */
.journey-modal .modal-content {
  background: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 16px;
}

.journey-modal .modal-header {
  align-items: flex-start;
  border-bottom-color: color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 1.5rem 1.75rem 1.25rem;
}

.journey-modal .modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 0.3rem;
}

.journey-modal-meta {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--accent-color);
}

.journey-modal .modal-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.journey-modal .achievements {
  list-style: none;
  padding: 0;
  margin: 0;
}

.journey-modal .achievements li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.journey-modal .achievements li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
}

:root[data-theme="dark"] .journey-modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Tablet / mobile: line on the left, content stacked */
@media (max-width: 991px) {
  .journey-item {
    grid-template-columns: 2rem minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0.6rem;
    padding: 1.25rem 0;
  }

  .journey-marker {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0.45rem;
  }

  .journey-role,
  .journey-year,
  .journey-summary {
    grid-column: 2;
  }

  .journey-role {
    grid-row: 1;
  }

  .journey-year {
    font-size: 1.75rem;
    text-align: left;
  }

  .journey-role h3 {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-item,
  .journey-marker,
  .journey-summary,
  .journey-more i {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Custom: Tech Stack section (logo grid, grey -> colour on hover)
--------------------------------------------------------------*/
.tech-stack .tech-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Rows of 9, 8, 6, 4, 2 form an inverted pyramid on wide screens */
.tech-stack .tech-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-stack .tech-tile {
  width: 88px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 6px;
  border-radius: 14px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 2px 10px rgba(19, 68, 127, 0.05);
  cursor: default;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tech-stack .tech-tile img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.tech-stack .tech-tile span {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  transition: color 0.25s ease;
}

.tech-stack .tech-tile:hover,
.tech-stack .tech-tile:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent-color), transparent 78%);
  outline: none;
}

.tech-stack .tech-tile:hover img,
.tech-stack .tech-tile:focus-visible img {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

.tech-stack .tech-tile:hover span,
.tech-stack .tech-tile:focus-visible span {
  color: var(--heading-color);
}

/* Dark mode: black logos (GitHub, AWS wordmark, Pandas) become white */
:root[data-theme="dark"] .tech-stack .tech-tile {
  box-shadow: none;
}

:root[data-theme="dark"] .tech-stack .tech-tile.invert-dark img {
  filter: grayscale(1) brightness(0) invert(1);
}

:root[data-theme="dark"] .tech-stack .tech-tile.invert-dark:hover img,
:root[data-theme="dark"] .tech-stack .tech-tile.invert-dark:focus-visible img {
  filter: brightness(0) invert(1);
}

/* Below desktop: drop the pyramid rows, use one continuous centred grid */
@media (max-width: 991.98px) {
  .tech-stack .tech-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tech-stack .tech-row {
    display: contents;
  }
}

/* Touch screens can't hover, so show logos in full colour */
@media (hover: none) {
  .tech-stack .tech-tile img {
    filter: none;
    opacity: 1;
  }

  :root[data-theme="dark"] .tech-stack .tech-tile.invert-dark img {
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 575.98px) {
  .tech-stack .tech-grid,
  .tech-stack .tech-row {
    gap: 10px;
  }

  .tech-stack .tech-tile {
    width: 80px;
    height: 84px;
  }

  .tech-stack .tech-tile img {
    width: 32px;
    height: 32px;
  }

  .tech-stack .tech-tile span {
    font-size: 11px;
  }
}

/*--------------------------------------------------------------
# Custom: About – software lifecycle diagram
--------------------------------------------------------------*/
.lifecycle {
  --lc-left: #8b7cf6;
  --lc-right: #1fb6e0;
  --lc-center: #4f8ff0;
  --lc-card-bg: linear-gradient(160deg, #f7f8ff 0%, #f1f6ff 55%, #eef9ff 100%);
  --lc-card-border: color-mix(in srgb, var(--accent-color), transparent 82%);
  --lc-grid-dot: color-mix(in srgb, var(--accent-color), transparent 88%);
  --lc-tile-bg: #ffffff;
  --lc-tile-border: color-mix(in srgb, var(--accent-color), transparent 85%);
  --lc-label: #25364b; /* was #33475f */
  position: relative;
  margin: 0 auto 28px;
  max-width: 520px;
  padding: 16px 14px 22px;
  border: 1px solid var(--lc-card-border);
  border-radius: 24px;
  background:
    radial-gradient(var(--lc-grid-dot) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--lc-card-bg);
  box-shadow: 0 18px 50px color-mix(in srgb, var(--accent-color), transparent 88%);
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] .lifecycle {
  --lc-left: #a99dfa;
  --lc-right: #43c9ee;
  --lc-center: #6ea6f5;
  --lc-card-bg: linear-gradient(160deg, #121a2d 0%, #111a2c 55%, #0f1d2c 100%);
  --lc-card-border: rgba(110, 166, 245, 0.18);
  --lc-grid-dot: rgba(148, 178, 230, 0.10);
  --lc-tile-bg: #18233a;
  --lc-tile-border: rgba(110, 166, 245, 0.22);
  --lc-label: #c5d0e0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* Window bar: traffic-light dots + file name */
.lifecycle-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 6px 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--lc-card-border);
}

.lifecycle-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff6159;
}

.lifecycle-dot:nth-child(2) { background: #ffbd2e; }
.lifecycle-dot:nth-child(3) { background: #28c941; }

.lifecycle-title {
  margin-left: 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--lc-label);
}

/* Flow: nodes are normal HTML, the SVG overlay holds the connectors */
.lifecycle-flow {
  position: relative;
  padding: 4px 34px;
}

.lifecycle-lines {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.lifecycle-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-row {
  display: flex;
  justify-content: center;
}

.lc-row + .lc-row {
  margin-top: 26px;
}

.lc-row.lc-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 30px;
}

.lc-pair + .lc-row {
  margin-top: 18px;
}

.lc-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  text-align: center;
}

.lc-pair .lc-node {
  justify-self: center;
}

/* Three-way split (Database | Backend | Data Pipelines) */
.lc-row.lc-pair--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.lc-pair--3 .lc-label {
  font-size: 11px;
  letter-spacing: 0;
}

/* Second row of a branch: an empty left slot keeps the right column aligned */
.lc-row.lc-pair--stacked {
  margin-top: 22px;
}

.lc-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--lc-tile-bg);
  border: 1px solid var(--lc-tile-border);
  box-shadow:
    0 6px 16px color-mix(in srgb, var(--lc-center), transparent 84%),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--lc-center);
  font-size: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lc-node--left .lc-icon { color: var(--lc-left); }
.lc-node--right .lc-icon { color: var(--lc-right); }

.lc-node:hover .lc-icon {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--lc-center), transparent 70%);
}

.lc-label {
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--lc-label);
  /* Keeps labels clear of the side loop lines; long ones wrap */
  max-width: 24ch;
}

.lc-pair .lc-label {
  max-width: min(15ch, 100%);
}

/* Connectors */
.lifecycle-lines .lc-tone-center { --lc-tone: var(--lc-center); }
.lifecycle-lines .lc-tone-left { --lc-tone: var(--lc-left); }
.lifecycle-lines .lc-tone-right { --lc-tone: var(--lc-right); }

.lifecycle-lines .lc-line {
  fill: none;
  stroke: var(--lc-tone);
  stroke-opacity: 0.35;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lifecycle-lines .lc-flow {
  fill: none;
  stroke: var(--lc-tone);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 3 9;
  animation: lc-dash 0.6s linear infinite;
}

.lifecycle-lines .lc-head {
  fill: none;
  stroke: var(--lc-tone);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lifecycle-lines .lc-start {
  fill: var(--lc-tone);
}

.lifecycle-lines .lc-runner {
  fill: none;
  stroke: var(--lc-tone);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px var(--lc-tone));
}

/* Dashes move 12px (one dash + gap) per cycle = 20px/s on every edge */
@keyframes lc-dash {
  to { stroke-dashoffset: -12; }
}

/* Intro text stays in view beside the taller diagram */
@media (min-width: 992px) {
  .about .about-intro-col {
    align-self: flex-start;
    position: sticky;
    top: 110px;
  }
}

@media (max-width: 400px) {
  .lifecycle { padding: 14px 8px 18px; }
  .lifecycle-flow { padding: 4px 28px; }
  .lc-label { font-size: 11px; }
  .lc-icon { width: 44px; height: 44px; font-size: 19px; border-radius: 12px; }
}

/*--------------------------------------------------------------
# Custom: Skills – Professional Expertise blocks
--------------------------------------------------------------*/
.skills .expertise-heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--heading-color);
}

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

.skills .expertise-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  line-height: 1.5;
  color: var(--default-color);
}

.skills .expertise-list li:last-child {
  margin-bottom: 0;
}

.skills .expertise-list li::before {
  content: "\f272"; /* bi-check2 */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 15px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Custom: Skills – Professional Strengths strip
--------------------------------------------------------------*/
.strengths-card {
  position: relative;
  margin-top: 48px;
  padding: 30px 30px 26px;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 5%) 100%);
}

.strengths-card .expertise-heading {
  margin-bottom: 6px;
}

.strengths-hint {
  margin: 0 0 18px;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* Visible window of the strip; edges fade out */
.strengths-marquee {
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* Two identical sets of items; moving by -50% lands exactly on the second set */
.strengths-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: strengths-scroll 36s linear infinite;
}

.strengths-card.is-paused .strengths-track,
.strengths-marquee:hover .strengths-track {
  animation-play-state: paused;
}

@keyframes strengths-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.strength-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 170px;
  padding: 10px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--heading-color);
  font: inherit;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.strength-item i {
  font-size: 30px;
  line-height: 1;
  color: var(--accent-color);
  transition: transform 0.25s ease;
}

.strength-name {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.strength-item:hover,
.strength-item:focus-visible {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  outline: none;
}

.strength-item:hover i,
.strength-item:focus-visible i {
  transform: translateY(-3px) scale(1.08);
}

.strength-item:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color), transparent 40%);
}

/* Tooltip: lives in the card (not the clipped strip) and is placed by strengths.js */
.strength-tip {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: max-content;
  max-width: min(360px, calc(100% - 24px));
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  background: var(--surface-color);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--heading-color), transparent 82%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.strength-tip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.strength-tip-title {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--heading-color);
}

.strength-tip-desc {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--default-color);
}

:root[data-theme="dark"] .strength-tip {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

@media (max-width: 575.98px) {
  .strengths-card { padding: 24px 16px 20px; }
  .strength-item { width: 140px; }
  .strength-name { font-size: 14px; }
}

/*--------------------------------------------------------------
# Custom: Resume – Education & Certifications card + certificate viewer
--------------------------------------------------------------*/
.edu-certs {
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: 2rem 2.25rem 1.5rem;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 18px;
}

.edu-certs-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 1.5rem;
}

.ec-group + .ec-group {
  margin-top: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.ec-group-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 1rem;
}

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

.ec-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
}

.ec-item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: start;
  padding: 0.9rem 0.75rem 0.9rem 0;
  border-radius: 12px;
  transition: background-color 0.25s ease;
}

.ec-item:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.ec-icon {
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--heading-color);
}

.ec-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--heading-color);
  margin: 0 0 0.35rem;
}

.ec-meta {
  margin: 0;
  font-size: 0.98rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.ec-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ec-link i {
  font-size: 0.8em;
  transition: transform 0.2s ease;
}

.ec-link:hover,
.ec-link:focus-visible {
  color: var(--accent-color);
}

.ec-link:hover i,
.ec-link:focus-visible i {
  transform: translateX(2px);
}

.ec-link:hover .bi-arrow-up-right,
.ec-link:focus-visible .bi-arrow-up-right {
  transform: translate(2px, -2px);
}

@media (max-width: 991px) {
  .ec-list--grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 576px) {
  .edu-certs {
    padding: 1.5rem 1.1rem 1rem;
    border-radius: 14px;
  }

  .edu-certs-title {
    font-size: 1.4rem;
  }

  .ec-group-title {
    font-size: 1.15rem;
  }

  .ec-item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .ec-icon {
    font-size: 1.25rem;
  }

  .ec-title {
    font-size: 1.02rem;
  }

  .ec-meta {
    font-size: 0.92rem;
  }
}

/* Certificate viewer popup (base look shared with .journey-modal) */
.cert-modal .modal-body {
  padding: 1rem 1.25rem;
}

/* Certificates are landscape pages (792 x 612 pt) */
.cert-frame {
  position: relative;
  aspect-ratio: 792 / 612;
  max-height: calc(100vh - 18rem);
  min-height: 220px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--default-color), transparent 94%);
}

.cert-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cert-frame.is-loading iframe {
  opacity: 0;
}

.cert-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cert-frame.is-loading .cert-loading {
  opacity: 1;
}

.cert-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem 1rem;
  border-top-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.cert-nav > * {
  margin: 0;
}

.cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
  border-radius: 999px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--default-color);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cert-btn:hover,
.cert-btn:focus-visible {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
}

.cert-count {
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.cert-nav .cert-open {
  margin-left: auto !important;
}

.cert-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.cert-fallback i.bi-file-earmark-pdf {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.cert-fallback p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.cert-frame.no-pdf iframe,
.cert-frame.no-pdf .cert-loading {
  display: none;
}

.cert-frame.no-pdf .cert-fallback {
  display: flex;
}

@media (max-width: 576px) {
  .cert-modal .modal-header {
    padding: 1.1rem 1.1rem 0.9rem;
  }

  .cert-modal .modal-title {
    font-size: 1.1rem;
  }

  .cert-modal .modal-body {
    padding: 0.75rem;
  }


  .cert-nav {
    padding: 0.6rem 0.75rem 0.85rem;
  }

  .cert-nav .cert-btn span {
    display: none;
  }

  .cert-nav .cert-btn {
    padding: 0.5rem 0.75rem;
  }
}

/*--------------------------------------------------------------
# Custom: Glassmorphism (frosted cards over soft background orbs)
# Modelled on the "Minimal Glassmorphism" reference. Colours come
# from the theme variables above; the glass tokens below follow
# light/dark mode. Remove this block to drop the glass effect.
--------------------------------------------------------------*/
:root {
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-bg-hover: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(246, 248, 251, 0.8);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-highlight: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 8px 32px rgba(31, 42, 58, 0.08);
  --glass-blur: blur(18px) saturate(160%);

  --orb-base: linear-gradient(160deg, #eef2f8 0%, #e1e8f1 45%, #e9eef5 100%);
  --orb-1: radial-gradient(circle 22vmax at 6% 4%, rgba(255, 255, 255, 0.95) 0%, rgba(228, 235, 244, 0.85) 62%, rgba(214, 224, 237, 0) 70%);
  --orb-2: radial-gradient(circle 30vmax at 100% 38%, rgba(246, 249, 252, 0.9) 0%, rgba(205, 217, 232, 0.75) 64%, rgba(205, 217, 232, 0) 72%);
  --orb-3: radial-gradient(circle 34vmax at 0% 92%, rgba(250, 252, 254, 0.9) 0%, rgba(212, 223, 236, 0.8) 64%, rgba(212, 223, 236, 0) 72%);
  --orb-4: radial-gradient(circle 18vmax at 72% 102%, rgba(255, 255, 255, 0.85) 0%, rgba(222, 231, 242, 0.7) 60%, rgba(222, 231, 242, 0) 70%);
}

:root[data-theme="dark"] {
  --glass-bg: rgba(30, 41, 62, 0.4);
  --glass-bg-hover: rgba(38, 51, 76, 0.5);
  --glass-bg-strong: rgba(20, 29, 46, 0.86);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-highlight: rgba(255, 255, 255, 0.07);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);

  --orb-base: linear-gradient(160deg, #0f1828 0%, #0b1220 50%, #0d1525 100%);
  --orb-1: radial-gradient(circle 22vmax at 6% 4%, rgba(40, 56, 84, 0.55) 0%, rgba(26, 37, 58, 0.45) 62%, rgba(26, 37, 58, 0) 70%);
  --orb-2: radial-gradient(circle 30vmax at 100% 38%, rgba(44, 62, 94, 0.5) 0%, rgba(22, 33, 53, 0.45) 64%, rgba(22, 33, 53, 0) 72%);
  --orb-3: radial-gradient(circle 34vmax at 0% 92%, rgba(36, 52, 80, 0.45) 0%, rgba(20, 30, 48, 0.45) 64%, rgba(20, 30, 48, 0) 72%);
  --orb-4: radial-gradient(circle 18vmax at 72% 102%, rgba(48, 68, 104, 0.45) 0%, rgba(24, 35, 56, 0.4) 60%, rgba(24, 35, 56, 0) 70%);
}

/* Fixed backdrop of soft spheres that the glass blurs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--orb-1), var(--orb-2), var(--orb-3), var(--orb-4), var(--orb-base);
}

/* Sections let the backdrop show through */
.section,
.section.light-background {
  background-color: transparent;
}

.hero::before {
  opacity: 0.05;
}

/* Frosted glass surfaces */
.hero .floating-card,
.skills .skills-grid .skill-card,
.strengths-card,
.journey-summary,
.tech-stack .tech-tile,
.edu-certs,
.contact .contact-form,
.site-nav {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

/* Header pill and mobile dropdown already blur; give them the glass edge */
.site-header-inner {
  border-color: var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

@media (min-width: 992px) {
  .site-nav {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 991.98px) {
  .site-nav {
    background: var(--header-menu-bg);
  }
}

/* Hover: glass brightens a little, keeps each card's existing lift/glow */
.skills .skills-grid .skill-card:hover,
.journey-summary:hover,
.journey-summary:focus-visible,
.tech-stack .tech-tile:hover,
.tech-stack .tech-tile:focus-visible {
  background: var(--glass-bg-hover);
}

/* Skill cards: thin accent line instead of the solid 3px bar */
.skills .skills-grid .skill-card:before {
  height: 2px;
  opacity: 0.55;
}

/* Lifecycle diagram: glass card and glass icon tiles */
.lifecycle,
:root[data-theme="dark"] .lifecycle {
  --lc-card-bg: var(--glass-bg);
  --lc-card-border: var(--glass-border);
  --lc-tile-bg: var(--glass-bg-hover);
  --lc-tile-border: var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

/* Popups and tooltips: denser glass so text stays readable */
.strength-tip,
.journey-modal .modal-content {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

/* Contact info box: tinted accent glass, white text */
.contact .info-box,
:root[data-theme="dark"] .contact .info-box {
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent-color), transparent 8%), color-mix(in srgb, var(--accent-color), #1f2a3a 35%));
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

:root[data-theme="dark"] .contact .info-box {
  background: linear-gradient(145deg, rgba(44, 82, 136, 0.72), rgba(24, 38, 62, 0.72));
}

/* Form fields: lighter glass inside the glass card */
.contact .contact-form .form-control,
.contact .contact-form .form-select {
  background-color: var(--glass-bg);
  border-color: var(--glass-border);
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  background-color: var(--glass-bg-hover);
  border-color: var(--accent-color);
}

/* Footer: frosted dark band */
.footer.dark-background {
  background-color: color-mix(in srgb, var(--background-color), transparent 10%);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

/* Browsers without backdrop-filter: use solid surfaces so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero .floating-card,
  .skills .skills-grid .skill-card,
  .strengths-card,
  .journey-summary,
  .tech-stack .tech-tile,
  .edu-certs,
  .contact .contact-form,
  .strength-tip,
  .journey-modal .modal-content {
    background: var(--surface-color);
  }
}

/*--------------------------------------------------------------
# Custom: Theme picker menu (Light / Dark / Lux)
--------------------------------------------------------------*/
.theme-switch {
  position: relative;
}

.theme-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: -6px;
  z-index: 10;
  min-width: 150px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--header-menu-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: 0 12px 32px var(--header-shadow-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.theme-switch.is-open .theme-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--header-link-color);
  font: 500 14px var(--nav-font);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.theme-option i {
  font-size: 16px;
  width: 18px;
  text-align: center;
}

.theme-option::after {
  content: "\f26e"; /* bi-check */
  font-family: "bootstrap-icons";
  margin-left: auto;
  font-size: 16px;
  opacity: 0;
}

.theme-option:hover,
.theme-option:focus-visible {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  outline: none;
}

.theme-option[aria-checked="true"] {
  color: var(--accent-color);
}

.theme-option[aria-checked="true"]::after {
  opacity: 1;
}

/*--------------------------------------------------------------
# Custom: Lux theme – DISABLED (2026-10-20)
# Commented out on request; the Lux option is also hidden from the
# theme menu. To re-enable: delete the comment opener before
# "LUX START" and the comment closer after "LUX END", then restore the
# commented Lux bits in index.html (menu option, <head> script,
# Playfair Display font) and in assets/js/header.js (THEMES).
--------------------------------------------------------------*/
/* LUX START
----------------------------------------------------------------
# Custom: Lux theme (warm cream, mocha & champagne)
# Builds on the light-mode rules; only colours, glass tokens,
# heading font and a few accent cards change.
----------------------------------------------------------------
:root[data-theme="lux"] {
  --background-color: #ece5dd;
  --default-color: #6b5a4e;
  --heading-color: #3a2a20;
  --accent-color: #8a5a3c;
  --surface-color: #fbf8f4;
  --contrast-color: #ffffff;

  --nav-color: #6b5a4e;
  --nav-hover-color: #8a5a3c;

  --header-bg: rgba(251, 248, 244, 0.5);
  --header-bg-scrolled: rgba(251, 248, 244, 0.68);
  --header-menu-bg: rgba(251, 248, 244, 0.97);
  --header-brand-color: #3a2a20;
  --header-link-color: #5a4a3f;
  --header-shadow: rgba(94, 58, 38, 0.08);
  --header-shadow-strong: rgba(94, 58, 38, 0.16);

  --lux-mocha: linear-gradient(150deg, #a87655 0%, #7a4b31 55%, #5a3523 100%);
  --lux-champagne: #e8c9a8;

  --glass-bg: rgba(255, 252, 248, 0.45);
  --glass-bg-hover: rgba(255, 252, 248, 0.62);
  --glass-bg-strong: rgba(251, 248, 244, 0.9);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-highlight: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 12px 34px rgba(94, 58, 38, 0.1);

  --orb-base: linear-gradient(165deg, #f3eee8 0%, #e9e1d8 50%, #efe9e3 100%);
  --orb-1: radial-gradient(circle 9vmax at 14% 12%, rgba(246, 222, 202, 0.95) 0%, rgba(226, 186, 154, 0.85) 62%, rgba(226, 186, 154, 0) 70%);
  --orb-2: radial-gradient(circle 30vmax at 100% 38%, rgba(255, 253, 250, 0.9) 0%, rgba(222, 211, 199, 0.75) 64%, rgba(222, 211, 199, 0) 72%);
  --orb-3: radial-gradient(circle 34vmax at 0% 92%, rgba(252, 249, 245, 0.9) 0%, rgba(226, 216, 205, 0.8) 64%, rgba(226, 216, 205, 0) 72%);
  --orb-4: radial-gradient(circle 12vmax at 78% 96%, rgba(244, 216, 192, 0.9) 0%, rgba(214, 170, 136, 0.7) 60%, rgba(214, 170, 136, 0) 70%);

  color-scheme: light;
}

:root[data-theme="lux"] .light-background {
  --background-color: #efe9e3;
  --surface-color: #fbf8f4;
}

:root[data-theme="lux"] .dark-background {
  --background-color: #3a2a20;
  --default-color: #eadfd4;
  --heading-color: #ffffff;
  --accent-color: #e8c9a8;
  --surface-color: #4a362a;
}

-- Elegant serif headings, as in the reference --
:root[data-theme="lux"] {
  --heading-font: "Playfair Display", Georgia, "Times New Roman", serif;
}

-- Primary buttons: mocha with a soft champagne glow --
:root[data-theme="lux"] .hero .hero-actions .btn.btn-primary,
:root[data-theme="lux"] .contact .contact-form .btn {
  background: var(--lux-mocha);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(232, 201, 168, 0.55);
}

-- Mocha accent cards: Contact Info box and two Expertise cards in a checkerboard --
:root[data-theme="lux"] .contact .info-box,
:root[data-theme="lux"] .skills .skills-grid .row > div:nth-child(2) .skill-card,
:root[data-theme="lux"] .skills .skills-grid .row > div:nth-child(3) .skill-card {
  --heading-color: #ffffff;
  --default-color: #f3e8de;
  --accent-color: #f0d6bb;
  background: var(--lux-mocha);
  border-color: rgba(255, 230, 205, 0.35);
  box-shadow: 0 14px 36px rgba(94, 58, 38, 0.22), inset 0 1px 0 rgba(255, 235, 215, 0.35);
}

:root[data-theme="lux"] .skills .skills-grid .row > div:nth-child(2) .skill-card:hover,
:root[data-theme="lux"] .skills .skills-grid .row > div:nth-child(3) .skill-card:hover {
  background: var(--lux-mocha);
  box-shadow: 0 20px 44px rgba(94, 58, 38, 0.3);
}

-- Lifecycle diagram: warm node colours --
:root[data-theme="lux"] .lifecycle {
  --lc-left: #a87655;
  --lc-right: #c79a6b;
  --lc-center: #8a5a3c;
  --lc-grid-dot: rgba(138, 90, 60, 0.12);
  --lc-label: #5a4a3f;
}

:root[data-theme="lux"] .hero .hero-actions .btn.btn-primary:hover,
:root[data-theme="lux"] .contact .contact-form .btn:hover {
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(232, 201, 168, 0.85);
}

-- "DJ" avatar: mocha instead of the blue-violet gradient --
:root[data-theme="lux"] .site-header .brand-avatar {
  background: var(--lux-mocha);
  box-shadow: 0 4px 14px rgba(232, 201, 168, 0.7);
}
LUX END */

/*--------------------------------------------------------------
# Custom: Hero – darker colours (light mode) & cards clear of the face
--------------------------------------------------------------*/
/* Light mode: deeper blue and darker text inside the hero only
   (rotating title, stat numbers, main button, photo backing, intro text) */
:root:not([data-theme="dark"]) .hero {
  --accent-color: #27507f; /* site-wide light accent is #3f6ea8 */
  --default-color: #1e2b3c; /* site-wide light text is #36455a */
}

/* Floating cards sit on the photo's corners and edges, not over the face */
.hero .floating-card.card-1 {
  top: -3%;
  left: -12%;
}

.hero .floating-card.card-4 {
  top: 6%;
  right: -16%;
}

.hero .floating-card.card-2 {
  top: auto;
  bottom: 24%;
  right: -18%;
}

.hero .floating-card.card-3 {
  bottom: 3%;
  left: -12%;
}

@media (max-width: 768px) {
  .hero .floating-card.card-1 {
    top: -4%;
    left: -6%;
  }

  /* Narrow photo: only one card fits above it; Cloud & DevOps goes below */
  .hero .floating-card.card-4 {
    top: auto;
    bottom: -7%;
    right: -8%;
  }

  .hero .floating-card.card-2 {
    bottom: 20%;
    right: -8%;
  }

  .hero .floating-card.card-3 {
    bottom: 6%;
    left: -6%;
  }
}
