@charset "UTF-8";
/**
 * ================================================================
 * PORTFOLIO MAIN STYLESHEET (SCSS)
 * ================================================================
 * 
 * Main entry point for the portfolio website's styling system.
 * This file orchestrates the modular SCSS architecture using @use
 * imports for better maintainability and organization.
 * 
 * Architecture:
 * - Variables: Global design tokens and configuration
 * - Base: Reset, typography, and foundational styles  
 * - Layout: Header, navigation, footer components
 * - Features: Interactive elements and animations
 * - Content: Section-specific styling
 * 
 * Build Target: assets/css/main.css
 * Dependencies: SCSS/Sass compiler required
 * 
 * @author Portfolio Project
 * @version 2.0
 * @created 2024
 * @updated 2025
 */
/**
 * ================================================================
 * DESIGN TOKENS & VARIABLES
 * ================================================================
 * 
 * Centralized design system configuration using CSS custom properties.
 * Establishes the visual foundation for the entire portfolio website
 * including typography, color schemes, spacing, and theming systems.
 * 
 * Features:
 * - Elegant deep blue primary theme
 * - Multiple alternative theme variants
 * - Typography scale and font stacks
 * - Semantic color naming system
 * - WCAG AA accessibility compliance
 * - Dark/light mode support
 * 
 * @section Typography
 * @section Colors
 * @section Themes
 */
:root {
  /* Font Family Stacks - Performance optimized with system fallbacks */
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/**
 * ================================================================
 * PRIMARY COLOR SYSTEM - ELEGANT DEEP BLUE THEME
 * ================================================================
 * 
 * Professional dark theme optimized for portfolio presentation.
 * 
 * Color Philosophy:
 * - Deep midnight navy (#0b1118) - Premium feel, reduced eye strain
 * - Layered surfaces (#121b24, #1b2632) - Subtle depth and elevation
 * - High contrast text (#f5f8fa, #b9c7d6) - Optimal readability
 * - Refined accent (#153953) - Professional yet distinctive
 * - Accessibility focus - WCAG AA compliant contrast ratios
 * 
 * Usage:
 * - Primary backgrounds: --background-color, --surface-color
 * - Text hierarchy: --heading-color, --default-color, --muted-color  
 * - Interactive elements: --accent-color, --accent-color-hover
 * - Structural elements: --border-color, --contrast-color
 */
:root {
  /* ============================================================
     SURFACE & BACKGROUND COLORS
     ============================================================ */
  --background-color: #0b1118; /* Primary page background */
  --surface-color: #121b24; /* Card/section backgrounds */
  --surface-color-alt: #1b2632; /* Alternative surface for variation */
  /* ============================================================
     TEXT COLOR HIERARCHY  
     ============================================================ */
  --default-color: #e1eaf2; /* Enhanced primary text - much better contrast */
  --heading-color: #ffffff; /* Pure white headings - maximum contrast */
  --muted-color: #9daab7; /* Improved secondary text - still readable */
  /* ============================================================
     ACCENT & INTERACTION COLORS
     ============================================================ */
  --accent-color: #2a8fad; /* Brighter teal - better visibility while elegant */
  --accent-color-hover: #3ba3c4; /* Enhanced hover - clear feedback */
  --accent-color-rgb: 42 143 173; /* Updated RGB values for rgba() usage */
  --accent-alt-color: #4db8d1; /* Bright complementary accent */
  /* ============================================================
     STATUS & SEMANTIC COLORS
     ============================================================ */
  --success-color: #27ae60; /* Success green - confirmation messages */
  --success-color-light: #2ecc71; /* Lighter success for hover states */
  --success-bg: rgba(39, 174, 96, 0.1); /* Success background tint */
  --success-border: rgba(39, 174, 96, 0.2); /* Success border */
  --error-color: #e74c3c; /* Error red - validation and alerts */
  --error-color-light: #c0392b; /* Darker error for hover states */
  --error-bg: rgba(231, 76, 60, 0.1); /* Error background tint */
  --error-border: rgba(231, 76, 60, 0.2); /* Error border */
  --warning-color: #f39c12; /* Warning orange - caution messages */
  --warning-bg: rgba(243, 156, 18, 0.1); /* Warning background tint */
  --warning-border: rgba(243, 156, 18, 0.2); /* Warning border */
  --info-color: #3498db; /* Info blue - informational messages */
  --info-bg: rgba(52, 152, 219, 0.1); /* Info background tint */
  --info-border: rgba(52, 152, 219, 0.2); /* Info border */
  /* ============================================================
     UTILITY COLORS
     ============================================================ */
  --contrast-color: #ffffff; /* Pure white for maximum contrast needs */
  /* ============================================================
     STRUCTURAL ELEMENTS
     ============================================================ */
  --border-color: #3a4856; /* Enhanced borders - better visibility */
  --border-color-soft: #2d3a47; /* Improved subtle borders */
  --shadow-color: 12 18 26; /* Shadow color values (used with rgba) */
}

/**
 * ================================================================
 * NAVIGATION COLOR SYSTEM
 * ================================================================
 * 
 * Derived color tokens specifically for navigation components.
 * Ensures consistent styling across header, mobile menu, and dropdowns.
 */
:root {
  --nav-color: var(--default-color); /* Default navigation text */
  --nav-hover-color: var(--accent-color); /* Navigation hover states */
  --nav-mobile-background-color: var(--surface-color); /* Mobile menu background */
  --nav-dropdown-background-color: var(--surface-color-alt); /* Dropdown menu background */
  --nav-dropdown-color: var(--default-color); /* Dropdown text color */
  --nav-dropdown-hover-color: var(--accent-color); /* Dropdown hover color */
  /* Global scroll behavior for smooth navigation */
  scroll-behavior: smooth;
}

/**
 * ================================================================
 * ALTERNATIVE COLOR SCHEMES
 * ================================================================
 * 
 * Context-specific color overrides for sections requiring different
 * visual treatment while maintaining design consistency.
 */
/* Light Theme Override - For light sections or alternate layouts */
.light-background {
  --background-color: #f5f7fa; /* Clean light background */
  --surface-color: #ffffff; /* Pure white surfaces */
  --surface-color-alt: #f0f3f6; /* Subtle light gray alternative */
  --default-color: #384048; /* Dark text for readability */
  --heading-color: #21252a; /* Near-black headings */
  --muted-color: #69737e; /* Muted text in light theme */
  --border-color: #d8e0e7; /* Light borders */
  --border-color-soft: #e5eaef; /* Very subtle borders */
  --shadow-color: 18 24 28; /* Shadow values for light theme */
}

/* Dark Theme Explicit - Mirrors root theme for explicit dark sections */
.dark-background {
  --background-color: #0b1118;
  --surface-color: #121b24;
  --surface-color-alt: #1b2632;
  --default-color: #b9c7d6;
  --heading-color: #f5f8fa;
  --muted-color: #7e8b98;
  --border-color: #243140;
  --border-color-soft: #1a242e;
  --shadow-color: 12 18 26;
}

/**
 * ================================================================
 * GRADIENT SYSTEM
 * ================================================================
 * 
 * Premium gradient combinations for enhanced visual elements.
 * Designed to complement the primary color scheme.
 */
:root {
  /* Primary accent gradient - Elegant transition with complementary colors */
  --accent-gradient: linear-gradient(135deg,
      rgba(var(--accent-color-rgb)/1) 0%,
      rgba(var(--accent-color-rgb)/0.78) 46%,
      color-mix(in srgb, #2fa9c4 55%, rgba(var(--accent-color-rgb)/0.5)) 100%);
}

/**
 * ================================================================
 * PREMIUM THEME VARIATIONS
 * ================================================================
 * 
 * Alternative color schemes for dynamic theming or different sections.
 * Apply via class on <body> or container elements.
 * 
 * Usage Examples:
 * - <body class="theme-deep-ocean">
 * - <section class="theme-warm-alloy">
 * - Dynamic switching: document.body.className = 'theme-minimal-cool'
 */
/* Deep Ocean Theme - Enhanced depth with richer navy tones */
.theme-deep-ocean {
  --background-color: #0a1319; /* Deeper ocean background */
  --surface-color: #111d25; /* Rich surface tones */
  --surface-color-alt: #18252f; /* Layered depth variation */
  --default-color: #b7c5d3; /* Clear reading text */
  --heading-color: #f2f6f8; /* Crisp heading contrast */
  --muted-color: #7a8793; /* Subtle secondary text */
  --accent-color: #153953; /* Consistent brand accent */
  --accent-color-hover: #1f5276; /* Hover interaction */
  --accent-color-rgb: 21 57 83; /* RGB for transparency */
  --accent-alt-color: #2fa9c4; /* Complementary aqua */
  --border-color: #22313d; /* Structural borders */
  --border-color-soft: #17232c; /* Gentle separations */
  --accent-gradient: linear-gradient(145deg, #153953 0%, #1f5276 55%, #2fa9c4 100%);
}

/* Warm Alloy Theme - Cool base with sophisticated warm metallic accents */
.theme-warm-alloy {
  --background-color: #0d1014; /* Refined dark base */
  --surface-color: #141a21; /* Elevated surfaces */
  --surface-color-alt: #1d252d; /* Depth variation */
  --default-color: #c0c8d1; /* Enhanced readability */
  --heading-color: #f7f9fa; /* Maximum heading impact */
  --muted-color: #87919a; /* Balanced secondary text */
  --accent-color: #153953; /* Primary brand consistency */
  --accent-color-hover: #1f5276; /* Interactive feedback */
  --accent-color-rgb: 21 57 83; /* Transparency support */
  --accent-alt-color: #c9a15a; /* Warm metallic pairing */
  --border-color: #27313a; /* Structural definition */
  --border-color-soft: #1c252c; /* Subtle separations */
  --accent-gradient: linear-gradient(140deg, #153953 0%, #275575 55%, #c9a15a 100%);
}

/* Minimal Cool Theme - Lighter minimal surfaces with cool sophistication */
.theme-minimal-cool {
  --background-color: #101921; /* Minimalist dark foundation */
  --surface-color: #16222b; /* Clean surface treatment */
  --surface-color-alt: #1f2d37; /* Elegant variation */
  --default-color: #c6d2dc; /* Optimized text clarity */
  --heading-color: #ffffff; /* Pure white headings */
  --muted-color: #8b97a1; /* Professional secondary text */
  --accent-color: #153953; /* Brand color consistency */
  --accent-color-hover: #1e4d6f; /* Refined hover state */
  --accent-color-rgb: 21 57 83; /* Alpha channel support */
  --accent-alt-color: #469ab5; /* Cool complementary accent */
  --border-color: #2a3945; /* Structured borders */
  --border-color-soft: #1e2a34; /* Gentle divisions */
  --accent-gradient: linear-gradient(160deg, #153953 0%, #1e4d6f 60%, #469ab5 100%);
}

/**
 * ================================================================
 * BASE STYLES & FOUNDATION
 * ================================================================
 * 
 * Core styling foundation for the portfolio website.
 * Establishes fundamental typography, link behavior, and shared
 * utility components used throughout the application.
 * 
 * Includes:
 * - Global typography settings
 * - Link styling and hover states  
 * - Typewriter cursor animation
 * - Form feedback messaging system
 * 
 * Dependencies: _variables.scss for design tokens
 */
/* Primary document styling - Establishes visual foundation */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

/* Link styling - Consistent interactive element appearance */
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;
}

/* Heading hierarchy - Typography system for content structure */
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Animated typing cursor for typewriter effect */
.typed-cursor {
  display: inline-block;
  width: 1ch;
  animation: typed-blink 0.8s steps(1, end) infinite;
}

@keyframes typed-blink {
  50% {
    opacity: 0;
  }
}
.btn-primary-elegant,
.btn-secondary-elegant {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn-primary-elegant::before,
.btn-secondary-elegant::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary-elegant:hover::before,
.btn-secondary-elegant:hover::before {
  left: 100%;
}

.btn-primary-elegant {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: var(--accent-color);
  border: none;
  border: 1px solid var(--accent-color);
}

.btn-primary-elegant:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.3);
  color: var(--primary-color);
  text-decoration: underline;
}

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

.btn-secondary-elegant:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.2);
}

/* Error message styling - Displays validation errors */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

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

/* Loading state styling - Shows during form processing */
.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

/* Loading spinner animation - Visual feedback during processing */
.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);
  }
}
/* Field validation error state */
.field-error {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 0 2px var(--error-bg) !important;
}

/* Loading button state */
.btn-send.loading {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-hover) 100%);
  pointer-events: none;
}
.btn-send.loading i {
  animation: spin 1s linear infinite;
}

/* Enhanced status messages */
.status .error-message {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--error-color);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.status .sent-message {
  background: var(--success-bg) !important;
  border: 1px solid var(--success-border);
  border-radius: 8px;
  padding: 12px 16px !important;
  color: var(--success-color) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px !important;
}
.status .loading {
  background: var(--info-bg) !important;
  border: 1px solid var(--info-border);
  border-radius: 8px;
  padding: 12px 16px !important;
  color: var(--info-color) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px !important;
}

/* Contact form animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/**
 * ================================================================
 * HEADER COMPONENT STYLES
 * ================================================================
 * 
 * Responsive header/sidebar implementation for portfolio navigation.
 * Provides adaptive layout behavior across different screen sizes:
 * 
 * - Desktop (1200px+): Fixed sidebar with navigation
 * - Tablet (992px-1199px): Collapsible sidebar drawer
 * - Mobile (< 992px): Hidden sidebar, navigation handled by mobile menu
 * 
 * Features:
 * - Smooth transitions between states
 * - Responsive width adaptation
 * - Z-index layering for proper stacking
 * - Content offset management
 */
/* Tablet Layout (992px - 1199px) - Collapsible sidebar with background */
@media (max-width: 1199px) {
  .header {
    background-color: var(--background-color);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    width: 300px;
    left: -100%; /* Hidden by default on tablet */
  }
}
/* Mobile Layout (< 992px) - Eliminate sidebar entirely */
@media (max-width: 991.98px) {
  .header {
    left: 0 !important;
    width: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    overflow: visible;
  }
  /* Hide all header content except mobile navigation */
  .header > *:not(.navmenu-elegant) {
    display: none !important;
  }
}
/* Large Desktop Layout (1200px - 1600px) - Content offset adjustment */
@media (min-width: 1200px) and (max-width: 1600px) {
  .header ~ main {
    margin-left: 160px;
  }
  .header ~ main .hero {
    margin-left: -160px;
    width: 100vw;
  }
}
/**
 * ================================================================
 * NAVIGATION MENU SYSTEMS
 * ================================================================
 * 
 * Comprehensive navigation styling supporting multiple layout patterns:
 * 
 * 1. Standard Navigation (navmenu) - Traditional sidebar navigation
 * 2. Elegant Navigation (navmenu-elegant) - Premium glass morphism design
 * 
 * Features:
 * - Responsive behavior across all screen sizes
 * - Smooth animations and micro-interactions
 * - Glass morphism effects with backdrop blur
 * - Active state indicators and hover feedback
 * - Accessibility considerations and motion reduction
 * 
 * Dependencies: _variables.scss for design tokens
 */
/* Primary navigation container */
.navmenu {
  padding: 0;
  z-index: 9997;
}

/* Navigation list styling */
.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
  width: 140px;
}

/* Navigation link base styling */
.navmenu a, .navmenu a:focus {
  color: var(--nav-color);
  font-family: var(--nav-font);
  display: flex;
  align-items: center;
  padding: 10px 18px;
  margin-bottom: 8px;
  font-size: 15px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

/* Icon styling within navigation links */
.navmenu a i, .navmenu a:focus i {
  font-size: 20px;
}

/* Text label styling */
.navmenu a span, .navmenu a:focus span {
  padding: 0 5px 0 7px;
}

/* Desktop Layout - Collapsed icon-only state */
@media (min-width: 992px) {
  .navmenu a, .navmenu a:focus {
    max-width: 56px;
  }
  .navmenu a span, .navmenu a:focus span {
    display: none;
  }
}
/* Hover and active states */
.navmenu a:hover, .navmenu .active, .navmenu .active:focus, .navmenu li:hover > a {
  color: var(--contrast-color);
  background: var(--nav-hover-color);
}

.navmenu a:hover, .navmenu li:hover > a {
  max-width: 100%;
  color: var(--contrast-color);
}

/* Show ALL text labels when hovering over navigation container */
.navmenu:hover a span {
  display: block;
  color: rgba(255, 255, 255, 0.7); /* Darker color for non-active items */
}

/* Active item gets full contrast color */
.navmenu:hover .active span {
  color: var(--contrast-color) !important; /* Bright color for active item */
}

/* Individual item hover - brighter "possible selection" preview */
.navmenu a:hover span, .navmenu li:hover > a span {
  display: block;
  color: rgba(255, 255, 255, 0.95) !important; /* Bright preview for hovered item */
}

/**
 * ================================================================
 * ELEGANT NAVIGATION SYSTEM
 * ================================================================
 * 
 * Premium glass morphism navigation with sophisticated interactions.
 * 
 * Features:
 * - Glass morphism backdrop blur effects
 * - Expandable compact rail design
 * - Gradient overlays and accent lighting
 * - Active state indicators with glow effects
 * - Smooth micro-interactions and transitions
 * Usage: Add 'navmenu-elegant' class to nav element
 * Example: <nav class="navmenu navmenu-elegant">
 */
/* ============================================================
   ELEGANT NAVIGATION BASE CONTAINER
   ============================================================ */
.navmenu-elegant {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: auto;
  padding: 14px 14px 18px;
  border-radius: 26px;
  backdrop-filter: blur(26px) saturate(130%);
  background: linear-gradient(155deg, rgba(18, 28, 36, 0.72) 0%, rgba(18, 28, 36, 0.55) 60%, rgba(18, 28, 36, 0.78) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color) 28%, transparent);
  box-shadow: 0 6px 28px -8px rgba(0, 0, 0, 0.55), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: width 0.5s cubic-bezier(0.65, 0.05, 0.36, 1), box-shadow 0.4s;
  isolation: isolate;
}

/* Gradient overlay for premium glass effect */
.navmenu-elegant::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(var(--accent-color-rgb)/0.28) 0%, transparent 70%);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.65;
}

/* Navigation list structure */
.navmenu-elegant ul {
  display: flex;
  flex-direction: column;
  width: auto;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.navmenu-elegant li {
  position: relative;
}

/* ============================================================
   EXPANDABLE RAIL BEHAVIOR
   ============================================================ */
/* Collapsed state - Icons only */
.navmenu-elegant {
  width: 76px;
}

/* Expanded state - Shows labels and enhanced shadow */
.navmenu-elegant:hover, .navmenu-elegant:focus-within {
  width: 232px;
  box-shadow: 0 10px 42px -12px rgba(0, 0, 0, 0.6), 0 4px 10px -4px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   NAVIGATION LINK STYLING
   ============================================================ */
.navmenu-elegant a {
  position: relative;
  background: transparent;
  border-radius: 18px;
  padding: 10px 16px 10px 14px;
  height: 54px;
  margin: 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.35px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
  transition: background 0.45s, color 0.45s, transform 0.35s;
  overflow: visible;
}

/* Icon styling with enhanced effects */
.navmenu-elegant a i {
  font-size: 20px;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  transition: color 0.45s, transform 0.45s;
}

/* Text label with reveal animation */
.navmenu-elegant a span {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.35s 0.05s, transform 0.45s;
  font-family: var(--nav-font);
}

/* Show labels when navigation is expanded */
.navmenu-elegant:hover a span, .navmenu-elegant:focus-within a span {
  opacity: 1;
  transform: translateX(0);
  color: rgba(255, 255, 255, 0.7); /* Darker color for non-active items */
}

/* Active item gets full contrast color in elegant navigation */
.navmenu-elegant:hover .active span, .navmenu-elegant:focus-within .active span {
  color: var(--contrast-color) !important; /* Bright active color */
  font-weight: 600;
}

/* ============================================================
   INTERACTION STATES
   ============================================================ */
/* Hover state with gradient background */
.navmenu-elegant a:hover {
  background: linear-gradient(90deg, rgba(var(--accent-color-rgb)/0.18), rgba(var(--accent-color-rgb)/0.05));
  color: var(--contrast-color);
}

/* Individual item hover - brighter "possible selection" preview */
.navmenu-elegant a:hover span {
  color: rgba(255, 255, 255, 0.95) !important; /* Bright preview for hovered item */
  opacity: 1;
  transform: translateX(0);
}

/* Enhanced icon effects on hover */
.navmenu-elegant a:hover i, .navmenu-elegant a:focus-visible i {
  color: #fff;
  transform: scale(1.15);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.85), 0 0 12px rgba(var(--accent-color-rgb)/0.7);
  filter: drop-shadow(0 0 4px rgba(var(--accent-color-rgb)/0.6));
}

/* Active state with prominent styling */
.navmenu-elegant .active, .navmenu-elegant .active:focus {
  background: linear-gradient(115deg, rgba(var(--accent-color-rgb)/0.4) 0%, rgba(var(--accent-color-rgb)/0.14) 70%);
  color: var(--contrast-color);
  box-shadow: 0 0 0 1px rgba(var(--accent-color-rgb)/0.45), 0 4px 14px -4px rgba(var(--accent-color-rgb)/0.6);
}

/* Active icon with glow effects */
.navmenu-elegant .active i {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.85), 0 0 14px rgba(var(--accent-color-rgb)/0.75);
  filter: drop-shadow(0 0 4px rgba(var(--accent-color-rgb)/0.7));
  transform: scale(1.12);
}

/* ============================================================
   ACTIVE STATE INDICATOR BAR
   ============================================================ */
.navmenu-elegant li {
  --_barOpacity: 0;
}

.navmenu-elegant li:has(> a.active) {
  --_barOpacity: 1;
}

/* Animated accent bar for active items */
.navmenu-elegant li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 8px;
  width: 4px;
  height: 38px;
  background: var(--accent-gradient);
  border-radius: 6px;
  opacity: var(--_barOpacity);
  transform: translateX(-6px);
  transition: opacity 0.4s, transform 0.5s;
  box-shadow: 0 0 0 1px rgba(var(--accent-color-rgb)/0.35), 0 0 14px -2px rgba(var(--accent-color-rgb)/0.65);
}

.navmenu-elegant:hover li::before, .navmenu-elegant:focus-within li::before {
  transform: translateX(0);
}

/* ============================================================
   OPTIONAL FOOTER & DIVIDER ELEMENTS
   ============================================================ */
/* Elegant divider line */
.navmenu-elegant .nav-divider {
  margin: 4px 0 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--default-color), transparent 70%) 20%, transparent 90%);
  border: 0;
}

/* Navigation footer area */
.navmenu-elegant .nav-footer {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.navmenu-elegant .nav-footer a {
  font-size: 13px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.navmenu-elegant .nav-footer a:hover {
  background: linear-gradient(120deg, rgba(var(--accent-color-rgb)/0.35), rgba(var(--accent-color-rgb)/0.15));
}

/* ============================================================
   ACCESSIBILITY & MOTION REDUCTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .navmenu-elegant, .navmenu-elegant a, .navmenu-elegant a span, .navmenu-elegant a i, .navmenu-elegant li::before {
    transition: none !important;
  }
}
/* ============================================================
   MOBILE RESPONSIVE TRANSFORMATION
   ============================================================ */
@media (max-width: 991.98px) {
  /* Transform to horizontal top bar */
  .navmenu-elegant {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    transform: none;
    width: 100% !important;
    max-width: none;
    padding: 10px 10px 12px;
    border-radius: 0 0 26px 26px;
    display: flex;
    flex-direction: row;
    background: linear-gradient(145deg, rgba(18, 28, 36, 0.95), rgba(18, 28, 36, 0.82));
    backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 6px 28px -10px rgba(0, 0, 0, 0.55), 0 2px 8px -4px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    height: auto;
  }
  .navmenu-elegant:hover, .navmenu-elegant:focus-within {
    width: 100%;
  }
  /* Always show labels on mobile */
  .navmenu-elegant a span {
    opacity: 1;
    transform: none;
    transition: opacity 0.35s, transform 0.45s;
  }
  /* Horizontal list layout */
  .navmenu-elegant ul {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
  }
  .navmenu-elegant li {
    flex: 1 1 0;
    min-width: 0;
  }
  /* Mobile button styling */
  .navmenu-elegant a {
    grid-template-columns: 1fr;
    width: 100%;
    height: 60px;
    padding: 8px 4px 6px;
    margin: 0;
    text-align: center;
    place-items: center;
    gap: 4px;
    font-size: 12px;
    letter-spacing: 0.35px;
    background: radial-gradient(circle at 50% 36%, rgba(var(--accent-color-rgb)/0.22) 0%, rgba(var(--accent-color-rgb)/0.05) 70%);
    border-radius: 18px;
    backdrop-filter: blur(6px) saturate(140%);
    border: 1px solid rgba(var(--accent-color-rgb)/0.22);
    box-sizing: border-box;
  }
  .navmenu-elegant a:hover {
    background: radial-gradient(circle at 50% 36%, rgba(var(--accent-color-rgb)/0.38) 0%, rgba(var(--accent-color-rgb)/0.12) 70%);
  }
  .navmenu-elegant .active, .navmenu-elegant .active:focus {
    background: linear-gradient(140deg, rgba(var(--accent-color-rgb)/0.55), rgba(var(--accent-color-rgb)/0.18));
    box-shadow: 0 0 0 1px rgba(var(--accent-color-rgb)/0.55), 0 4px 14px -4px rgba(var(--accent-color-rgb)/0.65), 0 0 18px -6px rgba(var(--accent-color-rgb)/0.7);
  }
  .navmenu-elegant a i {
    font-size: 21px;
    transform-origin: center;
  }
  .navmenu-elegant a span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.05;
  }
  /* Remove vertical accent bar on mobile */
  .navmenu-elegant li::before {
    display: none;
  }
  /* Subtle borders for inactive buttons */
  .navmenu-elegant a:not(.active) {
    box-shadow: inset 0 0 0 1px rgba(var(--accent-color-rgb)/0.14);
  }
  .navmenu-elegant a:not(.active):hover {
    box-shadow: inset 0 0 0 1px rgba(var(--accent-color-rgb)/0.3);
  }
}
@media (max-width: 768px) {
  .navmenu ul li a,
  .navmenu ul li a span {
    font-size: 0.38rem;
  }
  .navmenu ul li a i {
    font-size: 1.8rem;
  }
}
@media (max-width: 480px) {
  .navmenu ul li a span {
    display: none;
  }
  .navmenu:hover ul li a span {
    display: none;
  }
  .navmenu ul li a i {
    font-size: 1.7rem;
  }
}
/* ============================================================
   FALLBACK FOR UNSUPPORTED BACKDROP-FILTER
   ============================================================ */
@supports not (backdrop-filter: blur(1px)) {
  .navmenu-elegant {
    background: linear-gradient(155deg, rgba(18, 28, 36, 0.88), rgba(18, 28, 36, 0.8));
  }
}
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/* Creative Portfolio Footer */
.creative-footer {
  position: relative;
  padding: 70px 0 38px;
  background: linear-gradient(120deg, var(--background-color) 0%, color-mix(in srgb, var(--background-color), var(--surface-color) 40%) 60%, var(--surface-color-alt) 100%);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.creative-footer .cf-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 38px;
}

.creative-footer .cf-profile {
  text-align: center;
}

.creative-footer .cf-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 18px -6px rgba(var(--accent-color-rgb)/0.18);
  margin-bottom: 14px;
}

.creative-footer .cf-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--heading-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.creative-footer .cf-about {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
  margin-bottom: 0;
}

.creative-footer .cf-navskills {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.creative-footer .cf-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.creative-footer .cf-nav a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.creative-footer .cf-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.5s;
  border-radius: 2px;
}

.creative-footer .cf-nav a:hover::after {
  width: 100%;
}

.creative-footer .cf-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.creative-footer .cf-skills span {
  background: rgba(var(--accent-color-rgb)/0.13);
  color: var(--accent-color);
  border-radius: 18px;
  padding: 5px 14px 4px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 4px;
  border: 1px solid rgba(var(--accent-color-rgb)/0.28);
}

.creative-footer .cf-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.creative-footer .cf-contact h4 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
  text-align: left;
}

.creative-footer .cf-contact ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.creative-footer .cf-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.creative-footer .cf-contact i {
  color: var(--accent-color);
  font-size: 1.1em;
}

.creative-footer .cf-social {
  display: flex;
  gap: 10px;
}

.creative-footer .cf-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 17px;
  color: var(--accent-color);
  background: rgba(var(--accent-color-rgb)/0.12);
  border: 1px solid rgba(var(--accent-color-rgb)/0.35);
  backdrop-filter: blur(6px) saturate(140%);
  transition: 0.4s;
  box-shadow: 0 2px 10px -4px rgba(var(--accent-color-rgb)/0.35);
}

.creative-footer .cf-social a:hover {
  background: var(--accent-gradient);
  color: var(--contrast-color);
  transform: translateY(-4px);
  border-color: rgba(var(--accent-color-rgb)/0.65);
}

.creative-footer .cf-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

@media (max-width: 1200px) {
  .creative-footer .cf-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .creative-footer .cf-navskills {
    align-items: center;
  }
  .creative-footer .cf-nav ul {
    display: block;
    column-count: 2;
    column-gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
  }
  .creative-footer .cf-nav li {
    break-inside: avoid;
    margin-bottom: 18px;
  }
}
@media (max-width: 640px) {
  .creative-footer {
    padding: 48px 0 28px;
  }
  .creative-footer .cf-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .creative-footer .cf-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .creative-footer .cf-nav ul {
    display: block;
    column-count: 2;
    column-gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
  }
  .creative-footer .cf-nav li {
    break-inside: avoid;
    margin-bottom: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .creative-footer .cf-social a, .creative-footer .cf-nav a, .creative-footer .cf-skills span {
    transition: none;
    animation: none;
  }
  .creative-footer .cf-nav ul {
    display: block;
    column-count: 2;
    column-gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
  }
  .creative-footer .cf-nav li {
    break-inside: avoid;
    margin-bottom: 18px;
  }
}
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(4px);
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 35px);
  left: calc(50% - 35px);
  border: 4px solid transparent;
  border-color: var(--accent-color) rgba(255, 255, 255, 0.1) var(--accent-color) rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: animate-preloader 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  box-shadow: 0 0 20px rgba(var(--accent-color-rgb, 74, 144, 226), 0.3), inset 0 0 20px rgba(var(--accent-color-rgb, 74, 144, 226), 0.1);
  filter: drop-shadow(0 0 10px rgba(var(--accent-color-rgb, 74, 144, 226), 0.4));
}
#preloader:after {
  content: "";
  position: fixed;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  border: 2px solid rgba(var(--accent-color-rgb, 74, 144, 226), 0.4);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: animate-inner 1.5s linear infinite reverse;
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg) scale(0.95);
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(var(--accent-color-rgb, 74, 144, 226), 0.2));
  }
  50% {
    transform: rotate(180deg) scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(var(--accent-color-rgb, 74, 144, 226), 0.5));
  }
  100% {
    transform: rotate(360deg) scale(0.95);
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(var(--accent-color-rgb, 74, 144, 226), 0.2));
  }
}
@keyframes animate-inner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
@media (max-width: 768px) {
  #preloader:before {
    width: 60px;
    height: 60px;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border-width: 3px;
  }
  #preloader:after {
    width: 35px;
    height: 35px;
    top: calc(50% - 17.5px);
    left: calc(50% - 17.5px);
  }
}
.scroll-top {
  position: fixed;
  right: 15px;
  bottom: -15px;
  width: 44px;
  height: 44px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), white 30%) 50%, var(--accent-color) 100%);
  color: var(--contrast-color);
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(79, 140, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  z-index: 99999;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
  transition: transform 0.3s;
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
  transform: translateY(0);
}
.scroll-top:hover {
  background-color: var(--accent-alt-color);
  color: var(--heading-color);
  box-shadow: 0 12px 32px rgba(79, 140, 255, 0.28);
  transform: translateY(-4px) scale(1.07);
  border-color: var(--contrast-color);
}
.scroll-top:hover i {
  transform: scale(1.15);
  color: var(--heading-color);
}
.scroll-top:active {
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.12);
  transform: translateY(-1px) scale(0.97);
}

.floating-btn, .github-float, .linkedin-float {
  position: fixed;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.linkedin-float {
  bottom: 155px;
  background: linear-gradient(135deg, #0077B5 0%, #005983 100%);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.25);
  animation: linkedinFloat 3s ease-in-out infinite;
}
.linkedin-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 119, 181, 0.35);
  text-decoration: none;
}
.linkedin-float:hover::before, .linkedin-float:hover::after {
  opacity: 1;
  visibility: visible;
}
.linkedin-float .linkedin-icon {
  color: var(--heading-color);
  font-size: 24px;
  z-index: 2;
  position: relative;
}
.linkedin-float .linkedin-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(67, 174, 231, 0.25);
  animation: linkedinPulse 2s infinite;
}
.linkedin-float::before {
  content: "Connect with me on LinkedIn!";
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #333 0%, #555 100%);
  color: var(--heading-color);
  padding: 12px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
}
.linkedin-float::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #333;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.github-float {
  bottom: 215px;
  background: linear-gradient(135deg, #111 0%, #333 60%, #6e5494 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  animation: githubFloat 3s ease-in-out infinite;
}
.github-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(51, 51, 51, 0.35);
  text-decoration: none;
}
.github-float:hover::before, .github-float:hover::after {
  opacity: 1;
  visibility: visible;
}
.github-float .github-icon {
  color: var(--heading-color);
  font-size: 24px;
  z-index: 2;
  position: relative;
}
.github-float .github-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(131, 130, 130, 0.25);
  animation: githubPulse 2s infinite;
}
.github-float::before {
  content: "View me GitHub!";
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #333 0%, #555 100%);
  color: var(--heading-color);
  padding: 12px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
}
.github-float::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #333;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

@keyframes linkedinFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes linkedinPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
@keyframes githubFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes githubPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .linkedin-float {
    bottom: 135px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  .linkedin-float .linkedin-icon {
    font-size: 20px;
  }
  .linkedin-float::before, .linkedin-float::after {
    display: none;
  }
  .github-float {
    bottom: 195px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  .github-float .github-icon {
    font-size: 20px;
  }
  .github-float::before, .github-float::after {
    display: none;
  }
}
@media (max-width: 480px) {
  .linkedin-float {
    bottom: 70px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  .linkedin-float .linkedin-icon {
    font-size: 18px;
  }
  .github-float {
    bottom: 120px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  .github-float .github-icon {
    font-size: 18px;
  }
}
.section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 15px;
  position: relative;
}

.section-title p {
  margin: 0 auto;
  max-width: 720px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 0;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

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

.hero .social-links {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}

.hero .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  color: var(--default-color);
  font-size: 16px;
  transition: background 0.35s, color 0.35s, transform 0.35s;
  backdrop-filter: blur(2px);
}

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

@media (max-width: 768px) {
  .hero h2 {
    font-size: 36px;
  }
  .hero p {
    font-size: 20px;
  }
}
/* Hero --------------------------------------------------
-------------- */
.hero.hero-elegant {
  isolation: isolate;
}

.hero.hero-elegant::before,
.hero.hero-elegant::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Gradient overlay (lighter vignette with accent sweep for clearer image) */
.hero.hero-elegant::before {
  background: radial-gradient(circle at 18% 22%, rgba(var(--accent-color-rgb)/0.18) 0%, transparent 55%), radial-gradient(circle at 82% 78%, rgba(var(--accent-color-rgb)/0.15) 0%, transparent 60%), linear-gradient(145deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.45) 100%);
  mix-blend-mode: normal;
}

/* Fine subtle noise layer for texture */
.hero.hero-elegant::after {
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0 2px, transparent 2px 4px);
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/* Container as elevated glass panel */
.hero.hero-elegant .container {
  max-width: 880px;
  margin-inline: auto;
  padding: 56px 56px 48px;
  backdrop-filter: blur(22px) saturate(120%);
  background: linear-gradient(135deg, rgba(20, 30, 38, 0.42) 0%, rgba(20, 30, 38, 0.25) 55%, rgba(20, 30, 38, 0.55) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
  border-radius: 28px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.hero.hero-elegant .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(var(--accent-color-rgb)/0.18) 0%, rgba(var(--accent-color-rgb)/0) 55%, rgba(var(--accent-color-rgb)/0.25) 100%);
  pointer-events: none;
}

/* Accent glow ring element */
.hero.hero-elegant .container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(var(--accent-color-rgb)/0.12) 0%, rgba(var(--accent-color-rgb)/0) 55%), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 4px);
  mix-blend-mode: overlay;
  opacity: 0.55;
}

/* Typography refinements */
.hero.hero-elegant h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--heading-color), color-mix(in srgb, var(--heading-color), var(--accent-color) 15%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero.hero-elegant p {
  font-size: clamp(1.125rem, 2.4vw, 1.55rem);
  font-weight: 300;
  letter-spacing: 0.25px;
  color: color-mix(in srgb, var(--default-color), transparent 5%);
  margin-bottom: 10px;
}

.hero.hero-elegant p .typed {
  font-weight: 500;
  color: var(--accent-color);
}

/* Job title styling - smaller than name */
.hero.hero-elegant h1 .job-title {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  opacity: 1;
  letter-spacing: 0.25px;
  margin-top: 8px;
}

/* Underline accent animation */
.hero.hero-elegant h2::after {
  content: "";
  display: block;
  margin-top: 14px;
  width: 140px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 4px;
}

/* Typed effect stabilization (caret + reduced flicker) */
.typed {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-variant-ligatures: none;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

.typed-text {
  will-change: contents;
}

.typed-caret {
  display: inline-block;
  width: 0.08em;
  margin-left: 0.08em;
  height: 1em;
  background: currentColor;
  translate: 0 0.1em;
  opacity: 0.8;
}

.hero.hero-elegant .typed {
  text-shadow: 0 0 0.5px rgba(0, 0, 0, 0.2);
}

/* Social links elevated */
.hero.hero-elegant .social-links a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.5);
}

.hero.hero-elegant .social-links a:hover {
  background: var(--accent-gradient);
  box-shadow: 0 6px 18px -6px rgba(var(--accent-color-rgb)/0.6);
  transform: translateY(-6px);
}

.logoqp {
  position: absolute;
  top: 20px;
  right: 20px;
  width: clamp(80px, 9vw, 110px);
  height: auto;
  opacity: 0.9;
  z-index: 10;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.3)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4)) brightness(1.1);
  animation: logoFloat 4s ease-in-out infinite, logoGlow 3s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}
.logoqp:hover {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.4)) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5)) brightness(1.2);
}

/* Elegant Logo Animations */
@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(1deg);
  }
  50% {
    transform: translateY(-5px) rotate(0deg);
  }
  75% {
    transform: translateY(-2px) rotate(-1deg);
  }
}
@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.2)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4)) brightness(1.1);
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.4)) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.5)) brightness(1.15);
  }
}
/* Responsive adjustments */
@media (max-width: 992px) {
  .section {
    scroll-margin-top: 80px;
  }
  .hero.hero-elegant .container {
    padding: 48px 40px 42px;
    border-radius: 24px;
    margin: 100px 15px 15px 15px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
}
@media (max-width: 576px) {
  .section {
    scroll-margin-top: 70px;
  }
  .hero.hero-elegant .container {
    padding: 40px 28px 38px;
    margin: 100px 15px 15px 15px;
  }
}
@media ((min-width: 452px) and (max-width: 510px)) {
  .logoqp {
    top: 12px;
    right: 12px;
    width: clamp(30px, 4vw, 50px);
  }
}
@media (max-width: 451px) {
  .logoqp {
    top: 12px;
    right: 12px;
    width: clamp(70px, 8vw, 100px);
  }
}
/* Graceful fallback if no backdrop-filter supported */
@supports not (backdrop-filter: blur(1px)) {
  .hero.hero-elegant .container {
    background: linear-gradient(135deg, rgba(20, 30, 38, 0.78), rgba(20, 30, 38, 0.6));
  }
}
.hero.hero-elegant .hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.55;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
  margin: 10px 0 28px;
  max-width: 680px;
}

.hero.hero-elegant .hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 0 0 34px;
}

.hero.hero-elegant .btn-primary-hero, .hero.hero-elegant .btn-outline-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px 13px;
  border-radius: 26px;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.55s cubic-bezier(0.16, 0.8, 0.3, 1);
  overflow: hidden;
}

.hero.hero-elegant .btn-primary-hero {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 28%));
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(var(--accent-color-rgb)/0.68);
}

.hero.hero-elegant .btn-primary-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.9s ease;
}

.hero.hero-elegant .btn-primary-hero:hover::before {
  transform: translateX(0);
}

.hero.hero-elegant .btn-outline-hero {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-color);
  border: 1px solid rgba(var(--accent-color-rgb)/0.4);
  box-shadow: 0 6px 20px -10px rgba(var(--accent-color-rgb)/0.45);
}

.hero.hero-elegant .btn-outline-hero:hover {
  background: var(--accent-gradient);
  color: var(--contrast-color);
  border-color: rgba(var(--accent-color-rgb)/0.7);
  transform: translateY(-4px);
}

.hero.hero-elegant .hero-metrics {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 18px 28px;
  max-width: 680px;
}

.hero.hero-elegant .hero-metrics li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 14px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.hero.hero-elegant .hero-metrics li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(var(--accent-color-rgb)/0.22), transparent 65%);
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero.hero-elegant .hero-metrics .num {
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.hero.hero-elegant .hero-metrics .label {
  font-size: 0.6rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-top: 4px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .hero.hero-elegant .hero-cta-group {
    gap: 12px;
  }
  .hero.hero-elegant .btn-primary-hero, .hero.hero-elegant .btn-outline-hero {
    flex: 1 1 auto;
    justify-content: center;
  }
}
.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

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

/* Sophisticated About variant -------------------------------------------------
	 Usage: <section id="about" class="about about-elegant section">
	 Concept: Split layout card + feature grid + soft layered accents
-------------------------------------------------------------------------------*/
.about.about-elegant {
  position: relative;
  isolation: isolate;
}

.about.about-elegant::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(var(--accent-color-rgb)/0.18) 0%, transparent 60%), radial-gradient(circle at 85% 82%, rgba(var(--accent-color-rgb)/0.12) 0%, transparent 65%), linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  opacity: 0.9;
  pointer-events: none;
}

.about.about-elegant .about-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}

.about.about-elegant .profile-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, rgba(30, 42, 54, 0.85), rgba(30, 42, 54, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55), 0 2px 4px -1px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-end;
}

.about.about-elegant .profile-card {
  --tiltX:0deg;
  --tiltY:0deg;
  transform: perspective(1000px) rotateX(var(--tiltX)) rotateY(var(--tiltY));
  transition: transform 0.6s cubic-bezier(0.22, 0.99, 0.38, 1);
  animation: aboutCardFloat 18s ease-in-out infinite;
}

.about.about-elegant .profile-card:focus-within, .about.about-elegant .profile-card:hover {
  transition-duration: 0.25s;
}

.about.about-elegant .profile-card:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.about.about-elegant .profile-card:active {
  transform: perspective(900px) rotateX(calc(var(--tiltX) * 1.15)) rotateY(calc(var(--tiltY) * 1.15)) scale(0.985);
}

.about.about-elegant .profile-card img {
  will-change: transform;
}

.about.about-elegant .profile-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.95);
  transition: transform 1.4s ease;
}

.about.about-elegant .profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 65%, transparent 100%);
}

.about.about-elegant .profile-card:hover img {
  transform: scale(1.06);
}

.about.about-elegant .profile-meta {
  position: relative;
  z-index: 2;
  padding: 26px 26px 30px;
  width: 100%;
}

.about.about-elegant .profile-meta h3 {
  margin: 0 0 4px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
}

.about.about-elegant .profile-meta span.role {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.about.about-elegant .profile-meta .quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.about.about-elegant .profile-meta .quick-tags span {
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(var(--accent-color-rgb)/0.14);
  color: var(--accent-color);
  backdrop-filter: blur(6px);
  font-weight: 600;
}

.about.about-elegant .profile-meta .quick-tags span {
  opacity: 0;
  transform: translateY(8px);
  animation: tagRise 0.6s forwards;
}

.about.about-elegant .profile-meta .quick-tags span:nth-child(1) {
  animation-delay: 0.15s;
}

.about.about-elegant .profile-meta .quick-tags span:nth-child(2) {
  animation-delay: 0.28s;
}

.about.about-elegant .profile-meta .quick-tags span:nth-child(3) {
  animation-delay: 0.41s;
}

.about.about-elegant .profile-meta .quick-tags span:nth-child(4) {
  animation-delay: 0.54s;
}

/* Content panel */
.about.about-elegant .content-panel {
  position: relative;
  padding: 48px clamp(1.5rem, 3vw, 3rem) 54px;
  background: linear-gradient(130deg, rgba(25, 34, 44, 0.78) 0%, rgba(25, 34, 44, 0.55) 55%, rgba(25, 34, 44, 0.82) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color) 28%, transparent);
  border-radius: 20px;
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 16px 48px -14px rgba(0, 0, 0, 0.55), 0 2px 6px -1px rgba(0, 0, 0, 0.4);
}

.about.about-elegant .content-panel::before {
  content: "";
  position: absolute;
  border-radius: 20px;
  inset: 0;
  background: linear-gradient(150deg, rgba(var(--accent-color-rgb)/0.18), rgba(var(--accent-color-rgb)/0) 60%, rgba(var(--accent-color-rgb)/0.28));
  pointer-events: none;
}

.about.about-elegant .content-panel h2 {
  font-size: clamp(1.5rem, 3.3vw, 2.8rem);
  font-weight: 500;
  margin: 0 0 18px;
  background: linear-gradient(90deg, var(--heading-color), color-mix(in srgb, var(--heading-color), var(--accent-color) 12%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
  position: relative;
}

.about.about-elegant .content-panel h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 140px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 4px;
}

.about.about-elegant .lead {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 5%);
  max-width: 720px;
  margin-bottom: 30px;
  line-height: 1.55;
}

/* Stats style list */
.about.about-elegant .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px 34px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.about.about-elegant .info-grid li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}

.about.about-elegant .info-grid li i {
  font-size: 14px;
  margin-top: 4px;
  color: var(--accent-color);
}

.about.about-elegant .info-grid strong {
  font-weight: 600;
  color: var(--heading-color);
  margin-right: 4px;
}

/* Feature bullets (optional) */
.about.about-elegant .feature-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.about.about-elegant .feature-points li {
  position: relative;
  padding: 14px 16px 16px 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  font-size: 0.8rem;
  line-height: 1.35;
  letter-spacing: 0.3px;
  transition: 0.35s;
}

.about.about-elegant .feature-points li {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: featureFade 0.7s cubic-bezier(0.16, 0.8, 0.3, 1) forwards;
}

.about.about-elegant .feature-points li:nth-child(1) {
  animation-delay: 0.25s;
}

.about.about-elegant .feature-points li:nth-child(2) {
  animation-delay: 0.37s;
}

.about.about-elegant .feature-points li:nth-child(3) {
  animation-delay: 0.49s;
}

.about.about-elegant .feature-points li:nth-child(4) {
  animation-delay: 0.61s;
}

.about.about-elegant .feature-points li:nth-child(5) {
  animation-delay: 0.73s;
}

.about.about-elegant .feature-points li:nth-child(6) {
  animation-delay: 0.85s;
}

.about.about-elegant .feature-points li:hover {
  background: rgba(var(--accent-color-rgb)/0.16);
  border-color: rgba(var(--accent-color-rgb)/0.35);
  box-shadow: 0 6px 16px -6px rgba(var(--accent-color-rgb)/0.45);
}

.about.about-elegant .feature-points li i {
  position: absolute;
  left: 14px;
  top: 16px;
  font-size: 18px;
  color: var(--accent-color);
}

/**
 * ================================================================
 * ABOUT SECTION - RESPONSIVE LAYOUT FIXES
 * ================================================================
 * 
 * Enhanced responsive behavior for optimal viewing across all devices.
 * Addresses layout issues with profile card and content panel alignment.
 * 
 * Responsive Strategy:
 * - Desktop (>992px): Side-by-side layout with optimal spacing
 * - Tablet (768px-992px): Improved spacing and better proportions
 * - Mobile (<=768px): Single column with enhanced mobile experience
 */
/* Main wrapper with improved responsive grid */
.about.about-elegant .about-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 5vw, 48px);
  align-items: start; /* Changed from center for better mobile layout */
}

/* Enhanced responsive breakpoints with better proportions */
@media (max-width: 1200px) {
  .about.about-elegant .about-wrapper {
    gap: clamp(20px, 4vw, 36px);
  }
  .about.about-elegant .content-panel {
    padding: clamp(32px, 4vw, 42px) clamp(24px, 3vw, 38px) clamp(36px, 4vw, 46px);
  }
}
@media (max-width: 992px) {
  .about.about-elegant .about-wrapper {
    grid-template-columns: 1fr; /* Force single column on tablet */
    gap: clamp(24px, 4vw, 32px);
    text-align: center; /* Center content on smaller screens */
  }
  .about.about-elegant .profile-card {
    aspect-ratio: 3/4; /* Better proportions for tablet */
    max-width: 400px; /* Prevent oversized cards */
    margin: 0 auto; /* Center the card */
  }
  .about.about-elegant .content-panel {
    padding: clamp(28px, 3.5vw, 36px) clamp(20px, 3vw, 30px) clamp(32px, 3.5vw, 40px);
    text-align: left; /* Maintain readable text alignment */
  }
}
@media (max-width: 768px) {
  .about.about-elegant .about-wrapper {
    gap: clamp(20px, 3vw, 24px);
  }
  .about.about-elegant .profile-card {
    aspect-ratio: 4/5; /* Improved mobile proportions */
    max-width: 320px; /* Optimal mobile size */
  }
  .about.about-elegant .content-panel {
    padding: clamp(24px, 3vw, 32px) clamp(18px, 2.5vw, 24px) clamp(28px, 3vw, 32px);
  }
  /* Mobile-specific grid improvements */
  .about.about-elegant .info-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 16px;
  }
  .about.about-elegant .feature-points {
    grid-template-columns: 1fr; /* Single column features */
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .about.about-elegant .profile-card {
    max-width: 280px; /* Compact mobile size */
  }
  .about.about-elegant .content-panel {
    padding: 20px 16px 24px; /* Minimal padding for small screens */
  }
}
@supports not (backdrop-filter: blur(2px)) {
  .about.about-elegant .content-panel {
    background: linear-gradient(135deg, rgba(25, 34, 44, 0.92), rgba(25, 34, 44, 0.75));
  }
}
/* Keyframes */
@keyframes aboutCardFloat {
  0% {
    transform: perspective(1000px) rotateX(var(--tiltX)) rotateY(var(--tiltY)) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateX(var(--tiltX)) rotateY(var(--tiltY)) translateY(-10px);
  }
  100% {
    transform: perspective(1000px) rotateX(var(--tiltX)) rotateY(var(--tiltY)) translateY(0);
  }
}
@keyframes tagRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes featureFade {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .about.about-elegant .profile-card {
    animation: none;
  }
  .about.about-elegant .profile-meta .quick-tags span,
  .about.about-elegant .feature-points li {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
/* ================================================
    SKILLS SECTION - Technical Proficiency Display
    Features: Animated progress bars, skill percentages
   ================================================ */
.skills.skills-masonry {
  position: relative;
  padding: 80px 0;
  background: radial-gradient(circle at 12% 18%, rgba(var(--accent-color-rgb)/0.1) 0%, transparent 60%), radial-gradient(circle at 85% 82%, rgba(var(--accent-color-rgb)/0.08) 0%, transparent 65%);
  opacity: 2;
  overflow: hidden;
}

.skills.skills-masonry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23007bff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.skills-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}

.skill-category {
  background: var(--surface-color-alt);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 20px 40px -12px rgba(var(--shadow-color), 0.08), 0 8px 20px -6px rgba(var(--shadow-color), 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.skill-category:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -12px rgba(var(--shadow-color), 0.12), 0 12px 30px -8px rgba(var(--shadow-color), 0.08);
}

.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), white 30%) 50%, var(--accent-color) 100%);
  opacity: 0.8;
}

.category-header {
  padding: 28px 24px 20px;
  position: relative;
  z-index: 2;
}

.category-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.category-subtitle {
  font-size: 14px;
  color: var(--default-color);
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.category-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-count {
  font-size: 13px;
  color: var(--default-color);
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-color) 60%, transparent 100%);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}
.skill-count:hover {
  box-shadow: 0 2px 12px rgba(var(--accent-color-rgb), 0.18);
  transform: scale(1.08);
  background: linear-gradient(90deg, var(--accent-alt-color), var(--accent-color));
}

.expand-indicator {
  width: 32px;
  height: 32px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  border: 2px solid var(--accent-color);
  box-shadow: 0 2px 8px rgba(var(--accent-color-rgb), 0.3);
}
.expand-indicator::after {
  content: "Click to expand";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.expand-indicator:hover::after {
  opacity: 1;
}
.expand-indicator:hover {
  background: var(--accent-alt-color);
  color: white;
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 4px 16px rgba(var(--accent-color-rgb), 0.5);
  border-color: var(--accent-alt-color);
}
.expand-indicator {
  animation: bounce-hint 3s infinite;
}

/* Bouncing animation to indicate clickability */
@keyframes bounce-hint {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}
.skill-category.expanded .expand-indicator {
  background: var(--accent-color);
  color: white;
  transform: rotate(180deg);
}

.category-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.skill-category.expanded .category-content {
  max-height: 800px;
  padding-bottom: 24px;
  opacity: 1;
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(var(--accent-color-rgb), 0.08);
  transition: all 0.3s ease;
}

.skill-item:last-child {
  border-bottom: none;
}

.skill-item:hover {
  background: rgba(var(--accent-color-rgb), 0.03);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
}

.skill-info {
  flex: 1;
}

.skill-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--default-color);
  margin: 0 0 4px 0;
}

.skill-description {
  font-size: 13px;
  color: var(--default-color);
  line-height: 1.4;
  margin: 0;
}

.skill-level {
  margin-left: 16px;
  text-align: right;
  flex-shrink: 0;
}

.skill-percentage {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.skill-bar {
  width: 60px;
  height: 4px;
  background: rgba(var(--accent-color-rgb), 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 25%));
  border-radius: 4px;
  width: 0%;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.skill-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: skillShimmer 1.5s infinite;
}

@keyframes skillShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .skills-masonry-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .category-header {
    padding: 24px 20px 16px;
  }
  .category-content {
    padding: 0 20px;
  }
  .skill-category.expanded .category-content {
    padding-bottom: 20px;
  }
}
/* Animation classes */
.skill-category.animate-in {
  animation: categorySlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes categorySlideIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Expand animation */
.skill-category.expanding .category-content {
  animation: expandContent 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes expandContent {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 800px;
    opacity: 1;
  }
}
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin: 30px 0 15px;
  color: var(--heading-color);
}

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

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

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--heading-color);
  margin-bottom: 10px;
}

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

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

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

/* Sophisticated Resume Variant ------------------------------------------------
	 Usage: <section id="resume" class="resume resume-elegant section">
	 Features: dual-column glass timeline, accent gradient spine, animated nodes,
						 subtle card elevation, staggered reveal, reduced-motion safe.
----------------------------------------------------------------------------*/
.resume.resume-elegant {
  position: relative;
  isolation: isolate;
}

.resume.resume-elegant::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 14% 22%, rgba(var(--accent-color-rgb)/0.08) 0%, transparent 55%), radial-gradient(circle at 88% 78%, rgba(var(--accent-color-rgb)/0.07) 0%, transparent 60%);
  opacity: 0.9;
}

.resume.resume-elegant .resume-title {
  position: relative;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 20px;
  padding-left: 14px;
}

.resume.resume-elegant .resume-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 25%));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 14px -4px rgba(var(--accent-color-rgb)/0.6);
}

.resume.resume-elegant .resume-item {
  position: relative;
  padding: 22px 24px 20px 28px;
  margin: 0 0 28px 14px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
  border-left: 4px solid var(--accent-color);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(25, 34, 44, 0.72), rgba(25, 34, 44, 0.5));
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.55), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  animation: resumeCardIn 0.85s cubic-bezier(0.16, 0.78, 0.28, 0.99) forwards;
}

.resume.resume-elegant .resume-item:nth-of-type(1) {
  animation-delay: 0.08s;
}

.resume.resume-elegant .resume-item:nth-of-type(2) {
  animation-delay: 0.14s;
}

.resume.resume-elegant .resume-item:nth-of-type(3) {
  animation-delay: 0.2s;
}

.resume.resume-elegant .resume-item:nth-of-type(4) {
  animation-delay: 0.26s;
}

.resume.resume-elegant .resume-item:nth-of-type(5) {
  animation-delay: 0.32s;
}

.resume.resume-elegant .resume-item.pb-0 {
  padding-bottom: 22px;
}

.resume.resume-elegant .resume-item:before {
  content: "";
  position: absolute;
  left: -22px;
  top: 26px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 18%));
  box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb)/0.15), 0 0 0 6px rgba(var(--accent-color-rgb)/0.07), 0 4px 14px -2px rgba(var(--accent-color-rgb)/0.65);
}

.resume.resume-elegant .resume-item h4 {
  font-size: clamp(0.85rem, 1.9vw, 1rem);
  letter-spacing: 0.5px;
  margin: 0 0 6px;
  font-weight: 600;
  color: color-mix(in srgb, var(--heading-color), transparent 5%);
  text-transform: uppercase;
}

.resume.resume-elegant .resume-item h5 {
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  background: rgba(var(--accent-color-rgb)/0.18);
  padding: 4px 10px;
  border-radius: 6px;
  margin: 0 0 12px;
  color: var(--accent-color);
}

.resume.resume-elegant .resume-item p {
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0 0 14px;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

.resume.resume-elegant .resume-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.resume.resume-elegant .resume-item ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

.resume.resume-elegant .resume-item ul li::before {
  content: "\f26a"; /* bi-dot icon approximate */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.9rem;
  color: var(--accent-color);
  opacity: 0.85;
}

.resume.resume-elegant .resume-item em {
  font-style: normal;
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.resume.resume-elegant .resume-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.6), 0 3px 6px -1px rgba(0, 0, 0, 0.4);
  transition: transform 0.55s, box-shadow 0.55s;
}

.resume.resume-elegant .resume-item:active {
  transform: translateY(-2px) scale(0.995);
}

.resume.resume-elegant .resume-item:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.resume.resume-elegant .resume-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(var(--accent-color-rgb)/0.12), rgba(var(--accent-color-rgb)/0) 55%);
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
}

@keyframes resumeCardIn {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .resume.resume-elegant .resume-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.services-elegant {
  --sc-gap: clamp(1rem, 2vw, 1.6rem);
  background: radial-gradient(circle at 12% 18%, rgba(var(--accent-color-rgb)/0.1) 0%, transparent 60%), radial-gradient(circle at 85% 82%, rgba(var(--accent-color-rgb)/0.08) 0%, transparent 65%);
}

.services-elegant .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: var(--sc-gap);
  position: relative;
}

@media (min-width: 992px) {
  .services-elegant .services-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 1fr;
  }
}
.services-elegant .service-card {
  position: relative;
  background: linear-gradient(150deg, rgba(25, 34, 44, 0.78), rgba(25, 34, 44, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 34px -12px rgba(0, 0, 0, 0.55), 0 2px 6px -2px rgba(0, 0, 0, 0.45);
  display: flex;
}

.services-elegant .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(var(--accent-color-rgb)/0.25), transparent 70%);
  opacity: 0.9;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.services-elegant .service-card--accent {
  background: linear-gradient(145deg, rgba(var(--accent-color-rgb)/0.25), rgba(25, 34, 44, 0.6));
}

.services-elegant .service-card--glow {
  box-shadow: 0 0 0 1px rgba(var(--accent-color-rgb)/0.5), 0 0 42px -10px rgba(var(--accent-color-rgb)/0.7), 0 14px 38px -18px rgba(0, 0, 0, 0.65);
}

.services-elegant .service-card .sc-inner {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  animation: serviceCardIn 0.85s cubic-bezier(0.16, 0.78, 0.28, 0.99) forwards;
  opacity: 0;
  transform: translateY(22px) scale(0.97);
}

.services-elegant .service-card[data-delay] .sc-inner {
  animation-delay: calc(var(--delay, 0ms) * 1ms);
}

.services-elegant .service-card[data-delay] {
  --delay: attr(data-delay number);
}

.services-elegant .service-card h3 {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  letter-spacing: 0.4px;
  font-weight: 600;
  margin: 4px 0 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 4%);
}

.services-elegant .service-card p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
  margin: 0 0 4px;
}

.services-elegant .service-card .sc-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 30%));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 6px 18px -6px rgba(var(--accent-color-rgb)/0.7), 0 0 0 1px rgba(var(--accent-color-rgb)/0.5);
  position: relative;
  z-index: 2;
}

.services-elegant .service-card .sc-points {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.services-elegant .service-card .sc-points li {
  font-size: 0.6rem;
  padding: 4px 8px 3px;
  background: rgba(var(--accent-color-rgb)/0.18);
  color: var(--accent-color);
  border: 1px solid rgba(var(--accent-color-rgb)/0.4);
  border-radius: 40px;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.services-elegant .service-card .sc-link {
  margin-top: auto;
  font-size: 0.68rem;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-color);
  text-decoration: none;
  position: relative;
}

.services-elegant .service-card .sc-link i {
  font-size: 0.9rem;
  transition: transform 0.4s;
}

.services-elegant .service-card .sc-link:hover i {
  transform: translateX(4px);
}

.services-elegant .service-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 44px -16px rgba(0, 0, 0, 0.6), 0 4px 10px -3px rgba(0, 0, 0, 0.45);
  transition: transform 0.55s, box-shadow 0.55s;
}

.services-elegant .service-card:active {
  transform: translateY(-2px) scale(0.995);
}

.services-elegant .service-card:focus-within {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .services-elegant .service-card .sc-inner {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .services-elegant .service-card:hover {
    transform: none;
  }
}
@keyframes serviceCardIn {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.testimonials .testimonial-item {
  background: var(--surface-color);
  padding: 30px;
  margin: 15px 0;
  border-radius: 10px;
  box-shadow: 0 0 24px color-mix(in srgb, var(--default-color), transparent 94%);
}

.testimonials .testimonial-content p {
  font-style: italic;
}

.testimonials .testimonial-content .quote-icon-right {
  transform: rotate(180deg) !important;
  display: inline-block !important;
}

.testimonials .testimonial-img {
  width: 90px;
  border-radius: 50%;
  border: 4px solid var(--surface-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--default-color), transparent 90%);
}

.testimonials .stars {
  color: #ffc107;
  margin: 10px 0;
}

.contact .info-item {
  background: var(--surface-color);
  padding: 20px;
  height: 100%;
  display: flex;
}

.contact .info-item i {
  font-size: 32px;
  color: var(--accent-color);
  margin-right: 15px;
}

.contact .php-email-form {
  background: var(--surface-color);
  padding: 30px;
  height: 100%;
  box-shadow: 0 0 24px color-mix(in srgb, var(--default-color), transparent 94%);
}

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

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

/* Fancy / Elegant Contact Variant -------------------------------------------*/
.contact-elegant {
  position: relative;
}

.contact-elegant::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(var(--accent-color-rgb)/0.18) 0%, transparent 60%), radial-gradient(circle at 88% 82%, rgba(var(--accent-color-rgb)/0.12) 0%, transparent 65%), linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
  opacity: 0.9;
}

.contact-elegant .contact-elegant-wrapper {
  display: grid;
  gap: clamp(1.4rem, 2.4vw, 2.2rem);
  grid-template-columns: 1fr;
}

@media (min-width: 1100px) {
  .contact-elegant .contact-elegant-wrapper {
    grid-template-columns: 380px 1fr;
    align-items: start;
  }
}
.contact-elegant .contact-side {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.5vw, 1.3rem);
  position: relative;
}

.contact-elegant .c-card {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 18px 18px 20px;
  background: linear-gradient(145deg, rgba(25, 34, 44, 0.78), rgba(25, 34, 44, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
  border-radius: 22px;
  box-shadow: 0 10px 32px -14px rgba(0, 0, 0, 0.55), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(140%);
}

.contact-elegant .c-card.primary {
  background: linear-gradient(150deg, rgba(var(--accent-color-rgb)/0.35), rgba(25, 34, 44, 0.6));
}

.contact-elegant .c-card.subtle {
  background: linear-gradient(145deg, rgba(var(--accent-color-rgb)/0.18), rgba(25, 34, 44, 0.55));
}

.contact-elegant .c-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(var(--accent-color-rgb)/0.32), transparent 70%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.contact-elegant .c-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 30%));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 6px 18px -6px rgba(var(--accent-color-rgb)/0.7), 0 0 0 1px rgba(var(--accent-color-rgb)/0.5);
  flex-shrink: 0;
}

.contact-elegant .c-card h3 {
  margin: 0 0 4px;
  font-size: 0.75rem;
  letter-spacing: 0.55px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
}

.contact-elegant .c-card p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

.contact-elegant .c-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 44px -16px rgba(0, 0, 0, 0.6), 0 4px 10px -3px rgba(0, 0, 0, 0.45);
  transition: transform 0.55s, box-shadow 0.55s;
}

.contact-elegant .c-card:active {
  transform: translateY(-2px) scale(0.995);
}

.contact-elegant .c-card:focus-within {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.contact-elegant .c-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.contact-elegant .c-social .cs {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-color-rgb)/0.18);
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid rgba(var(--accent-color-rgb)/0.45);
  transition: 0.45s;
}

.contact-elegant .c-social .cs:hover {
  background: rgba(var(--accent-color-rgb)/0.28);
  box-shadow: 0 6px 16px -6px rgba(var(--accent-color-rgb)/0.55);
}

.contact-elegant .contact-form-panel {
  position: relative;
  background: linear-gradient(150deg, rgba(25, 34, 44, 0.78), rgba(25, 34, 44, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
  border-radius: 30px;
  padding: clamp(1.8rem, 2.8vw, 2.6rem) clamp(1.6rem, 2.4vw, 2.4rem) clamp(2rem, 3vw, 2.8rem);
  box-shadow: 0 12px 38px -16px rgba(0, 0, 0, 0.55), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
}

.contact-elegant .contact-form-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(var(--accent-color-rgb)/0.22), rgba(var(--accent-color-rgb)/0) 55%, rgba(var(--accent-color-rgb)/0.3));
  pointer-events: none;
}

.contact-elegant .form-grid {
  display: grid;
  gap: clamp(1rem, 1.4vw, 1.2rem) clamp(0.9rem, 1.2vw, 1.1rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-elegant .form-grid .fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.contact-elegant .form-grid .span-2 {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .contact-elegant .form-grid .span-2 {
    grid-column: span 1;
  }
}
.contact-elegant label {
  font-size: 0.6rem;
  letter-spacing: 0.55px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
}

.contact-elegant input, .contact-elegant textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--default-color);
  padding: 12px 14px 11px;
  font-size: 0.75rem;
  line-height: 1.4;
  border-radius: 14px;
  font-family: inherit;
  resize: vertical;
  box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.4) inset;
  transition: 0.4s;
}

.contact-elegant input:focus, .contact-elegant textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-color-rgb)/0.55);
  background: rgba(var(--accent-color-rgb)/0.12);
  box-shadow: 0 0 0 1px rgba(var(--accent-color-rgb)/0.45), 0 6px 14px -6px rgba(var(--accent-color-rgb)/0.55);
}

.contact-elegant textarea {
  min-height: 180px;
}

.contact-elegant .actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.contact-elegant .status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.6rem;
  letter-spacing: 0.4px;
}

.contact-elegant .loading, .contact-elegant .error-message, .contact-elegant .sent-message {
  display: none;
}

.contact-elegant .btn-send {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px 13px;
  border-radius: 20px;
  font-size: 0.65rem;
  letter-spacing: 0.55px;
  font-weight: 600;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 28%));
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(var(--accent-color-rgb)/0.68);
  transition: 0.5s;
}

.contact-elegant .btn-send:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -14px rgba(var(--accent-color-rgb)/0.75);
}

.contact-elegant .btn-send:active {
  transform: translateY(-1px);
}

.contact-elegant .btn-send:focus-visible {
  outline: 2px solid var(--contrast-color);
  outline-offset: 4px;
}

.contact-elegant .contact-footnote {
  margin-top: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.45px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-elegant .contact-footnote i {
  color: var(--accent-color);
}

.contact-elegant .contact-form-panel {
  padding: clamp(1.8rem, 2.8vw, 2.6rem) clamp(1.6rem, 2.4vw, 2.4rem) clamp(2.8rem, 3vw, 2.8rem);
}

@media (prefers-reduced-motion: reduce) {
  .contact-elegant .c-card:hover {
    transform: none;
  }
  .contact-elegant .btn-send {
    transition: none;
  }
}
.page-title {
  padding: 60px 0 30px;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.page-title h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs {
  margin-top: 15px;
}

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

.breadcrumbs ol li + li:before {
  content: "/";
  padding: 0 8px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.breadcrumbs .current {
  color: var(--accent-color);
  font-weight: 600;
}

/* ---------- Portfolio Details Page ---------- */
.portfolio-details .portfolio-details-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
  display: block;
}

.portfolio-details .portfolio-info {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 24px color-mix(in srgb, var(--default-color), transparent 94%);
}

.portfolio-details .portfolio-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

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

.portfolio-details .portfolio-info ul li {
  padding-bottom: 10px;
}

.portfolio-details .portfolio-info .btn-visit {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 20px;
  display: inline-block;
  border-radius: 4px;
  font-size: 14px;
  transition: 0.3s;
  text-decoration: none;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
}

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

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

.portfolio-details .portfolio-description p {
  margin-bottom: 16px;
}

.portfolio-details .testimonial-item {
  margin-top: 20px;
}

/* ---------- Service Details Page ---------- */
.service-details .services-img {
  border-radius: 10px;
  margin-bottom: 25px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 20px;
}

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

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
}

.service-details ul i {
  font-size: 18px;
  color: var(--accent-color);
  margin-right: 10px;
  line-height: 1;
}

.service-details .service-box {
  background: var(--surface-color);
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 0 24px color-mix(in srgb, var(--default-color), transparent 94%);
  margin-bottom: 30px;
}

.service-details .service-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.service-details .services-list a, .service-details .download-catalog a {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--default-color);
  font-size: 14px;
  transition: 0.25s;
  text-decoration: none;
}

.service-details .services-list a i, .service-details .download-catalog a i {
  font-size: 18px;
  margin-right: 8px;
  color: var(--accent-color);
}

/* Elegant variant */
.service-details-elegant .service-details-layout {
  display: grid;
  gap: clamp(1.2rem, 2.2vw, 2rem);
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .service-details-elegant .service-details-layout {
    grid-template-columns: 300px 1fr;
    align-items: start;
  }
}
.service-details-elegant .sd-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.5vw, 1.3rem);
}

.service-details-elegant .sd-card {
  position: relative;
  background: linear-gradient(150deg, rgba(25, 34, 44, 0.78), rgba(25, 34, 44, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
  border-radius: 22px;
  padding: 20px 20px 22px;
  box-shadow: 0 10px 32px -14px rgba(0, 0, 0, 0.55), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.service-details-elegant .sd-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(var(--accent-color-rgb)/0.25), transparent 70%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.service-details-elegant .sd-title {
  font-size: 0.72rem;
  letter-spacing: 0.55px;
  font-weight: 600;
  margin: 0 0 14px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.service-details-elegant .sd-cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-details-elegant .sd-cap-list li a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 4%);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.45s;
}

.service-details-elegant .sd-cap-list li a i {
  font-size: 1rem;
  color: color-mix(in srgb, var(--accent-color), white 15%);
}

.service-details-elegant .sd-cap-list li.active a, .service-details-elegant .sd-cap-list li a:hover {
  background: linear-gradient(140deg, rgba(var(--accent-color-rgb)/0.35), rgba(var(--accent-color-rgb)/0.15));
  color: var(--contrast-color);
  box-shadow: 0 4px 16px -6px rgba(var(--accent-color-rgb)/0.65);
}

.service-details-elegant .sd-cap-list li.active a i, .service-details-elegant .sd-cap-list li a:hover i {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.85), 0 0 12px rgba(var(--accent-color-rgb)/0.7);
}

.service-details-elegant .sd-download-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-details-elegant .sd-download-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(var(--accent-color-rgb)/0.18);
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(var(--accent-color-rgb)/0.4);
}

.service-details-elegant .sd-download-list a:hover {
  background: rgba(var(--accent-color-rgb)/0.28);
}

.service-details-elegant .sd-help {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.service-details-elegant .sd-help-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 30%));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 22px -10px rgba(var(--accent-color-rgb)/0.65);
}

.service-details-elegant .sd-help p {
  font-size: 0.7rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-details-elegant .sd-main {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.service-details-elegant .sd-hero-media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-details-elegant .sd-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(1.1);
}

.service-details-elegant .sd-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.service-details-elegant .badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-details-elegant .badge-stack span {
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  padding: 6px 10px 5px;
  background: rgba(var(--accent-color-rgb)/0.3);
  color: #fff;
  border: 1px solid rgba(var(--accent-color-rgb)/0.55);
  border-radius: 40px;
  font-weight: 600;
  backdrop-filter: blur(4px) saturate(140%);
}

.service-details-elegant .sd-heading {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  letter-spacing: 0.6px;
  font-weight: 600;
  margin: 0 0 6px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 25%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-details-elegant .sd-content .lead {
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
  margin: 0 0 12px;
}

.service-details-elegant .sd-key-points {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 12px 0 6px;
}

.service-details-elegant .sd-key-points .kp {
  position: relative;
  background: linear-gradient(150deg, rgba(22, 30, 40, 0.8), rgba(22, 30, 40, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
  border-radius: 18px;
  padding: 16px 14px 18px;
  box-shadow: 0 6px 22px -10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-details-elegant .sd-key-points .kp i {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.service-details-elegant .sd-key-points .kp h3 {
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  font-weight: 600;
}

.service-details-elegant .sd-key-points .kp p {
  font-size: 0.63rem;
  line-height: 1.4;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.service-details-elegant .sd-list {
  list-style: none;
  margin: 4px 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.service-details-elegant .sd-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.7rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

.service-details-elegant .sd-list i {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-top: 1px;
}

.service-details-elegant .sd-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.service-details-elegant .btn-cta, .service-details-elegant .btn-alt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 11px;
  border-radius: 18px;
  font-size: 0.7rem;
  letter-spacing: 0.55px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.service-details-elegant .btn-cta {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 28%));
  color: #fff;
  box-shadow: 0 8px 26px -10px rgba(var(--accent-color-rgb)/0.65);
}

.service-details-elegant .btn-cta:hover {
  filter: brightness(1.08);
}

.service-details-elegant .btn-alt {
  background: rgba(var(--accent-color-rgb)/0.18);
  color: var(--accent-color);
  border: 1px solid rgba(var(--accent-color-rgb)/0.55);
}

.service-details-elegant .btn-alt:hover {
  background: rgba(var(--accent-color-rgb)/0.28);
}

@media (prefers-reduced-motion: reduce) {
  .service-details-elegant .sd-card, .service-details-elegant .sd-key-points .kp {
    transition: none;
  }
}
.service-details .services-list a.active, .service-details .services-list a:hover, .service-details .download-catalog a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.service-details .services-list a.active i, .service-details .services-list a:hover i, .service-details .download-catalog a:hover i {
  color: var(--contrast-color);
}

.service-details .help-box {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 40%));
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  color: var(--contrast-color);
}

.service-details .help-box .help-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 10px;
}

.service-details .help-box a {
  color: var(--contrast-color);
  text-decoration: underline;
}

/* Fancy Reimagined Service Details -----------------------------------------*/
.service-details-fancy {
  --gap:clamp(1rem,2.2vw,2rem);
}

.service-details-fancy .sd-fancy-hero {
  display: grid;
  gap: var(--gap);
  align-items: start;
}

@media (min-width: 992px) {
  .service-details-fancy .sd-fancy-hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  }
}
.service-details-fancy .sd-hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.service-details-fancy .sd-hero-text h2 {
  font-size: clamp(1.8rem, 4.6vw, 3.1rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(90deg, var(--heading-color), color-mix(in srgb, var(--heading-color), var(--accent-color) 18%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
  position: relative;
}

.service-details-fancy .sd-hero-text h2::after {
  content: "";
  display: block;
  width: 140px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 4px;
  margin-top: 16px;
}

.service-details-fancy .hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 4%);
  margin: 0;
  max-width: 680px;
}

.service-details-fancy .hero-points {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.service-details-fancy .hero-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

.service-details-fancy .hero-points i {
  color: var(--accent-color);
  font-size: 1rem;
  margin-top: 2px;
}

.service-details-fancy .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.service-details-fancy .btn-solid, .service-details-fancy .btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px 13px;
  border-radius: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.55px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

.service-details-fancy .btn-solid {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 28%));
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(var(--accent-color-rgb)/0.68);
}

.service-details-fancy .btn-solid:hover {
  filter: brightness(1.1);
}

.service-details-fancy .btn-ghost {
  background: rgba(var(--accent-color-rgb)/0.18);
  color: var(--accent-color);
  border: 1px solid rgba(var(--accent-color-rgb)/0.5);
}

.service-details-fancy .btn-ghost:hover {
  background: rgba(var(--accent-color-rgb)/0.26);
}

/* Media + metrics */
.service-details-fancy .sd-hero-media-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.4vw, 1.2rem);
}

.service-details-fancy .media-glass {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.service-details-fancy .media-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(1.1);
}

.service-details-fancy .media-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.65));
}

.service-details-fancy .media-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(var(--accent-color-rgb)/0.35), transparent 70%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.service-details-fancy .media-badges {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-details-fancy .media-badges span {
  font-size: 0.55rem;
  letter-spacing: 0.55px;
  padding: 6px 10px 5px;
  border-radius: 40px;
  background: rgba(var(--accent-color-rgb)/0.32);
  color: #fff;
  border: 1px solid rgba(var(--accent-color-rgb)/0.55);
  backdrop-filter: blur(4px) saturate(140%);
  font-weight: 600;
}

.service-details-fancy .metric-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px;
}

.service-details-fancy .metric {
  position: relative;
  background: linear-gradient(145deg, rgba(25, 34, 44, 0.78), rgba(25, 34, 44, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
  border-radius: 20px;
  padding: 18px 16px 20px;
  text-align: center;
  box-shadow: 0 8px 26px -12px rgba(0, 0, 0, 0.55), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
}

.service-details-fancy .metric .m-val {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 25%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 6px;
}

.service-details-fancy .metric .m-label {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 4%);
}

/* Flow rail */
.service-details-fancy .sd-flow {
  margin-top: clamp(2.2rem, 6vw, 4rem);
  display: grid;
  gap: var(--gap);
}

@media (min-width: 1200px) {
  .service-details-fancy .sd-flow {
    grid-template-columns: 300px 1fr;
    align-items: start;
  }
}
.service-details-fancy .sd-flow-rail {
  position: sticky;
  top: 110px;
  align-self: start;
}

.service-details-fancy .sd-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-details-fancy .sd-flow-steps::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1200px) {
  .service-details-fancy .sd-flow-steps {
    flex-direction: column;
    overflow: visible;
  }
}
.service-details-fancy .sd-flow-steps li {
  flex: 1;
}

.service-details-fancy .sd-flow-steps button {
  width: 100%;
  position: relative;
  background: linear-gradient(145deg, rgba(25, 34, 44, 0.78), rgba(25, 34, 44, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  cursor: pointer;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
  transition: 0.45s;
  backdrop-filter: blur(10px) saturate(140%);
}

.service-details-fancy .sd-flow-steps button i {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--accent-color), white 18%);
}

.service-details-fancy .sd-flow-steps button.active, .service-details-fancy .sd-flow-steps button:hover {
  background: linear-gradient(140deg, rgba(var(--accent-color-rgb)/0.35), rgba(var(--accent-color-rgb)/0.15));
  box-shadow: 0 6px 18px -8px rgba(var(--accent-color-rgb)/0.6);
  color: #fff;
}

.service-details-fancy .sd-flow-steps button.active i, .service-details-fancy .sd-flow-steps button:hover i {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.85), 0 0 12px rgba(var(--accent-color-rgb)/0.65);
}

/* Panels */
.service-details-fancy .sd-flow-panels {
  position: relative;
  display: grid;
}

.service-details-fancy .sd-flow-panel {
  position: relative;
  background: linear-gradient(150deg, rgba(25, 34, 44, 0.78), rgba(25, 34, 44, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
  border-radius: 26px;
  padding: 30px clamp(1.4rem, 2.2vw, 2rem) 34px;
  box-shadow: 0 12px 38px -16px rgba(0, 0, 0, 0.55), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
  display: none;
  flex-direction: column;
  gap: 1.2rem;
  animation: panelIn 0.65s cubic-bezier(0.16, 0.78, 0.28, 0.99);
}

.service-details-fancy .sd-flow-panel.active {
  display: flex;
}

.service-details-fancy .sd-flow-panel h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: 0.5px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 30%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-details-fancy .panel-lead {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

.service-details-fancy .panel-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.service-details-fancy .pg-card {
  position: relative;
  background: linear-gradient(150deg, rgba(22, 30, 40, 0.8), rgba(22, 30, 40, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.7rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.service-details-fancy .pg-card h4 {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 2%);
}

.service-details-fancy .pg-card h4 i {
  font-size: 0.9rem;
  color: var(--accent-color);
}

.service-details-fancy .check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.service-details-fancy .check-list li {
  display: flex;
  gap: 8px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

.service-details-fancy .check-list i {
  color: var(--accent-color);
  font-size: 0.85rem;
  margin-top: 2px;
}

.service-details-fancy .split {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-details-fancy .split h4 {
  margin: 0 0 6px;
  font-size: 0.75rem;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 2%);
}

.service-details-fancy .split h4 i {
  font-size: 1rem;
  color: var(--accent-color);
}

.service-details-fancy .split p {
  font-size: 0.7rem;
  line-height: 1.45;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

.service-details-fancy .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-details-fancy .chips span {
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  padding: 6px 10px 5px;
  background: rgba(var(--accent-color-rgb)/0.25);
  color: #fff;
  border: 1px solid rgba(var(--accent-color-rgb)/0.5);
  border-radius: 40px;
  font-weight: 600;
  backdrop-filter: blur(4px) saturate(140%);
}

.service-details-fancy .faq-item {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  margin: 0 0 10px;
  overflow: hidden;
}

.service-details-fancy .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 4%);
}

.service-details-fancy .faq-item[open] {
  background: linear-gradient(140deg, rgba(var(--accent-color-rgb)/0.3), rgba(var(--accent-color-rgb)/0.15));
  border-color: rgba(var(--accent-color-rgb)/0.35);
}

.service-details-fancy .faq-item summary i {
  font-size: 0.95rem;
  color: var(--accent-color);
  transition: transform 0.45s;
}

.service-details-fancy .faq-item[open] summary i {
  transform: rotate(180deg);
}

.service-details-fancy .faq-body {
  padding: 0 18px 16px;
  font-size: 0.65rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

@keyframes panelIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Feature matrix */
.service-details-fancy .sd-feature-matrix {
  margin-top: clamp(2.5rem, 7vw, 4.5rem);
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.service-details-fancy .fm-card {
  position: relative;
  background: linear-gradient(150deg, rgba(25, 34, 44, 0.78), rgba(25, 34, 44, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
  border-radius: 24px;
  padding: 26px 22px 30px;
  box-shadow: 0 10px 34px -14px rgba(0, 0, 0, 0.55), 0 2px 6px -2px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
  backdrop-filter: blur(14px) saturate(140%);
}

.service-details-fancy .fm-card .fm-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 30%));
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px -10px rgba(var(--accent-color-rgb)/0.6), 0 0 0 1px rgba(var(--accent-color-rgb)/0.5);
}

.service-details-fancy .fm-card h4 {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: color-mix(in srgb, var(--heading-color), transparent 4%);
}

.service-details-fancy .fm-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 44px -18px rgba(0, 0, 0, 0.6), 0 4px 10px -3px rgba(0, 0, 0, 0.45);
  transition: 0.6s;
}

.service-details-fancy .fm-card:active {
  transform: translateY(-2px) scale(0.995);
}

.service-details-fancy .fm-card:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .service-details-fancy .fm-card,
  .service-details-fancy .sd-flow-panel {
    animation: none;
  }
  .service-details-fancy .fm-card:hover {
    transform: none;
  }
}
/* =====================================================================
	 Contrast Accessibility Overrides
	 Goal: Strengthen low-contrast (too transparent) text so all content
				 remains clearly readable on dark / glass backgrounds.
	 Approach: Provide consistent semantic tokens + override previous
						 very light color-mix usages (40%, 10% etc) with stronger
						 values. Placed at end for cascade priority.
	 ===================================================================== */
:root {
  /* Semantic text tokens (tweak globally if needed) */
  --text-strong: var(--default-color);
  --text-base: color-mix(in srgb, var(--default-color), transparent 2%);
  --text-secondary: color-mix(in srgb, var(--default-color), transparent 8%);
  --text-muted: color-mix(in srgb, var(--default-color), transparent 14%);
  --text-faint: color-mix(in srgb, var(--default-color), transparent 22%);
}

/* Hero */
.hero.hero-elegant p,
.hero.hero-elegant .hero-sub {
  color: var(--text-base);
}

.hero.hero-elegant .hero-metrics .label {
  color: var(--text-muted);
}

/* About */
.about.about-elegant .lead {
  color: var(--text-base);
}

/* Resume */
.resume.resume-elegant .resume-item p {
  color: var(--text-base);
}

.resume.resume-elegant .resume-item ul li {
  color: var(--text-secondary);
}

/* Services Grid */
.services-elegant .service-card p {
  color: var(--text-base);
}

/* Contact */
.contact-elegant .c-card p {
  color: var(--text-base);
}

.contact-elegant .contact-footnote {
  color: var(--text-secondary);
}

/* Service Details Elegant */
.service-details-elegant .sd-cap-list li a {
  color: var(--text-base);
}

.service-details-elegant .sd-content .lead {
  color: var(--text-base);
}

.service-details-elegant .sd-key-points .kp p {
  color: var(--text-secondary);
}

.service-details-elegant .sd-list li {
  color: var(--text-secondary);
}

/* Service Details Fancy */
.service-details-fancy .hero-lead {
  color: var(--text-base);
}

.service-details-fancy .hero-points li {
  color: var(--text-base);
}

.service-details-fancy .metric .m-label {
  color: var(--text-secondary);
}

.service-details-fancy .sd-flow-steps button {
  color: var(--text-base);
}

.service-details-fancy .panel-lead {
  color: var(--text-base);
}

.service-details-fancy .pg-card {
  color: var(--text-base);
}

.service-details-fancy .pg-card h4 {
  color: var(--text-base);
}

.service-details-fancy .check-list li {
  color: var(--text-base);
}

.service-details-fancy .split h4 {
  color: var(--text-base);
}

.service-details-fancy .split p {
  color: var(--text-base);
}

.service-details-fancy .faq-item summary {
  color: var(--text-base);
}

.service-details-fancy .faq-body {
  color: var(--text-base);
}

.service-details-fancy .fm-card {
  color: var(--text-base);
}

/* Generic fallback for any remaining very faint body-copy inside glass panels */
.about.about-elegant,
.services-elegant,
.contact-elegant,
.service-details-elegant,
.service-details-fancy,
.resume.resume-elegant {
  --default-body-color: var(--text-base);
}

.ind_certifications {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
  position: relative;
  overflow: hidden;
}
.ind_certifications::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(var(--accent-color-rgb), 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(var(--accent-alt-color), 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.ind_certifications__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}
.ind_certifications__featured {
  margin-bottom: 4rem;
}
.ind_certifications__featured-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading-color);
  text-align: center;
  margin-bottom: 2rem;
}
.ind_certifications__featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.ind_certifications__featured-card {
  position: relative; /* for ribbon */
  background: var(--surface-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(var(--shadow-color), 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background-clip: padding-box;
  backdrop-filter: blur(10px);
  overflow: hidden;
  /* subtle gradient border highlight */
}
.ind_certifications__featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-color), var(--heading-color));
  mask: linear-gradient(var(--surface-color) 0 0) content-box, linear-gradient(var(--surface-color) 0 0);
  -webkit-mask: linear-gradient(var(--surface-color) 0 0) content-box, linear-gradient(var(--surface-color) 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}
.ind_certifications__featured-card {
  /* ribbon badge */
}
.ind_certifications__featured-card::after {
  content: "★ Featured";
  position: absolute;
  top: 12px;
  right: -24px;
  background: var(--accent-color);
  color: var(--surface-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1.2rem;
  transform: rotate(45deg);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(var(--shadow-color), 0.2);
}
.ind_certifications__featured-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(var(--shadow-color), 0.2);
}
.ind_certifications__carousel-section {
  position: relative;
}
.ind_certifications__carousel-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading-color);
  text-align: center;
  margin-bottom: 2rem;
}
.ind_certifications__carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
}
.ind_certifications__carousel {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
}
.ind_certifications__carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 2rem;
  padding: 0.3rem;
}
.ind_certifications__card {
  flex: 0 0 auto;
  width: calc(100% - 3rem);
  max-width: 320px;
  min-width: 260px;
  background: var(--surface-color);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(var(--shadow-color), 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.ind_certifications__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(var(--shadow-color), 0.15);
}
.ind_certifications__card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.ind_certifications__logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 6px;
  padding: 4px;
}
.ind_certifications__provider {
  font-weight: 600;
  color: var(--default-color);
  font-size: 0.9rem;
}
.ind_certifications__card-body {
  margin-bottom: 1rem;
}
.ind_certifications__cert-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.ind_certifications__date, .ind_certifications__expires {
  font-size: 0.8rem;
  color: var(--muted-color);
  margin-bottom: 0.25rem;
}
.ind_certifications__card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}
.ind_certifications__verify-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.ind_certifications__verify-link:hover {
  color: var(--accent-alt-color);
  text-decoration: underline;
}
.ind_certifications__verify-link::after {
  content: "↗";
  margin-left: 0.25rem;
  font-size: 0.75rem;
}
.ind_certifications__nav-btn {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(var(--shadow-color), 0.1);
  color: var(--default-color);
  font-size: 14px;
}
.ind_certifications__nav-btn:hover:not(:disabled) {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.05);
}
.ind_certifications__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.ind_certifications__play-pause {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(var(--surface-color-alt), 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--default-color);
}
.ind_certifications__play-pause:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.ind_certifications .ind_certifications__explore {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
.ind_certifications .ind_certifications__explore .btn-ghost-hero {
  padding: 0.5rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-color);
  background: transparent;
  transition: all 0.3s ease;
}
.ind_certifications .ind_certifications__explore .btn-ghost-hero:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 70%);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .ind_certifications {
    padding: 3rem 0;
  }
  .ind_certifications__title {
    font-size: 2rem;
  }
  .ind_certifications__featured-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ind_certifications__card {
    width: calc(100vw - 6rem);
    max-width: 280px;
    min-width: 240px;
  }
  .ind_certifications__logo {
    width: 200px;
    height: 200px;
  }
  .ind_certifications__carousel-track {
    gap: 1.5rem;
  }
  .ind_certifications__nav-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .ind_certifications {
    padding: 2rem 0;
  }
  .ind_certifications__container {
    padding: 0 0.75rem;
  }
  .ind_certifications__title {
    font-size: 1.75rem;
  }
  .ind_certifications__subtitle {
    font-size: 1rem;
  }
  .ind_certifications__featured-card {
    padding: 1.25rem;
  }
  .ind_certifications__card {
    width: 90%;
    max-width: none;
    min-width: none;
    padding: 1rem;
    margin: 0 auto;
  }
  .ind_certifications__logo {
    width: 200px;
    height: 200px;
  }
  .ind_certifications__cert-name {
    font-size: 0.9rem;
  }
  .ind_certifications__carousel-track {
    gap: 1rem;
    padding: 0.25rem;
  }
  .ind_certifications__carousel-section {
    margin-bottom: 1.5rem;
  }
  .ind_certifications__carousel-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  .ind_certifications__nav-btn {
    width: 36px;
    height: 36px;
    font-size: 10px;
  }
  .ind_certifications__play-pause {
    width: 32px;
    height: 32px;
    top: 0.5rem;
    right: 0.5rem;
  }
}

/**
 * ================================================================
 * COMPACT CERTIFICATES SHOWCASE - MINIMAL VERSION
 * ================================================================
 * 
 * Streamlined certificates display optimized for space efficiency
 * while maintaining professional appearance.
 * 
 * Features:
 * - Compact grid layout
 * - Minimal spacing and padding
 * - Clean hover effects
 * - Mobile-optimized
 * - Fast animations
 */
.certificates-showcase {
  background: var(--background-color);
  padding: 60px 0 40px;
  position: relative;
}

.featured-certs {
  margin-bottom: 100px;
}
.featured-certs .featured-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 60px;
  position: relative;
}
.featured-certs .featured-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}
.featured-certs .featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cert-featured {
  background: linear-gradient(145deg, rgba(var(--accent-color-rgb), 0.08) 0%, rgba(var(--accent-color-rgb), 0.03) 100%);
  border: 1px solid rgba(var(--accent-color-rgb), 0.15);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}
.cert-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.1) 0%, transparent 50%, rgba(var(--accent-color-rgb), 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}
.cert-featured:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(var(--accent-color-rgb), 0.3);
  box-shadow: 0 25px 50px -12px rgba(var(--shadow-color), 0.25), 0 0 0 1px rgba(var(--accent-color-rgb), 0.1), 0 0 30px rgba(var(--accent-color-rgb), 0.15);
}
.cert-featured:hover::before {
  opacity: 1;
}
.cert-featured:hover .cert-badge {
  transform: scale(1.1) rotate(360deg);
}
.cert-featured:hover .cert-badge .cert-glow {
  opacity: 0.6;
  transform: scale(1.2);
}
.cert-featured:hover .cert-verify {
  transform: translateX(5px);
  background: var(--accent-color-hover);
}
.cert-featured .cert-badge {
  width: 180px;
  height: 180px;
  margin: 0 auto 30px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cert-featured .cert-badge img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  filter: drop-shadow(0 8px 16px rgba(var(--shadow-color), 0.2));
}
.cert-featured .cert-badge .cert-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s ease;
  animation: subtle-pulse 3s ease-in-out infinite;
}
.cert-featured .cert-featured-content {
  text-align: center;
}
.cert-featured .cert-featured-content .cert-provider {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.cert-featured .cert-featured-content .cert-name {
  color: var(--heading-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}
.cert-featured .cert-featured-content .cert-level {
  color: var(--muted-color);
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.cert-featured .cert-featured-content .cert-date {
  color: var(--default-color);
  font-size: 0.95rem;
  margin-bottom: 25px;
  opacity: 0.8;
}
.cert-featured .cert-featured-content .cert-verify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.cert-featured .cert-featured-content .cert-verify::after {
  content: "→";
  transition: transform 0.3s ease;
}

.cert-filters {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}
.cert-filters .filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(var(--accent-color-rgb), 0.05);
  padding: 6px;
  border-radius: 30px;
  border: 1px solid rgba(var(--accent-color-rgb), 0.1);
}
.cert-filters .filter-btn {
  background: transparent;
  border: none;
  color: var(--muted-color);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cert-filters .filter-btn:hover {
  color: var(--heading-color);
  background: rgba(var(--accent-color-rgb), 0.1);
}
.cert-filters .filter-btn.active {
  background: var(--accent-color);
  color: white;
  font-weight: 600;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.cert-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
}
.cert-card.filtering-out {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  transition: all 0.15s ease;
}
.cert-card.filtering-in {
  animation: cert-appear 0.2s ease forwards;
}
.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-color-rgb), 0.3);
  box-shadow: 0 8px 25px rgba(var(--shadow-color), 0.15);
}
.cert-card:hover .cert-image .cert-overlay {
  opacity: 1;
}
.cert-card .cert-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.03) 0%, transparent 100%);
  position: relative;
}
.cert-card .cert-image img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.cert-card .cert-image .cert-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--accent-color-rgb), 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cert-card .cert-image .cert-link {
  background: white;
  color: var(--accent-color);
  padding: 6px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.cert-card .cert-image .cert-link:hover {
  transform: scale(1.05);
}
.cert-card .cert-content {
  padding: 15px;
}
.cert-card .cert-content .cert-provider {
  color: var(--accent-color);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.cert-card .cert-content h4 {
  color: var(--heading-color);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
}
.cert-card .cert-content .cert-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.cert-card .cert-content .cert-meta .cert-level {
  color: var(--muted-color);
  font-weight: 500;
}
.cert-card .cert-content .cert-meta .cert-date {
  color: var(--default-color);
  opacity: 0.7;
}

.cert-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 15px;
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
}
.cert-stats .stat-item {
  text-align: center;
  padding: 20px 10px;
  background: rgba(var(--accent-color-rgb), 0.03);
  border-radius: 12px;
  transition: transform 0.2s ease;
}
.cert-stats .stat-item:hover {
  transform: translateY(-2px);
}
.cert-stats .stat-item .stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
  line-height: 1;
}
.cert-stats .stat-item .stat-label {
  color: var(--muted-color);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes cert-appear {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 990px) {
  .certificates-showcase {
    padding: 40px 0 30px;
  }
  .featured-certs {
    margin-bottom: 70px;
  }
  .featured-certs .featured-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }
  .featured-certs .featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
  }
  .cert-featured {
    padding: 30px;
  }
  .cert-featured .cert-badge {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
  }
  .cert-featured .cert-badge img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
  }
  .cert-featured .cert-featured-content .cert-name {
    font-size: 1.3rem;
  }
  .cert-featured .cert-featured-content .cert-verify {
    padding: 11px 22px;
    font-size: 0.88rem;
  }
  .cert-filters {
    margin-bottom: 25px;
    padding: 0 10px;
  }
  .cert-filters .filter-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .certificates-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  .cert-card .cert-image {
    height: 200px;
  }
  .cert-card .cert-image img {
    max-height: 180px;
  }
  .cert-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 25px 10px;
  }
  .cert-stats .stat-item {
    padding: 15px 8px;
  }
  .cert-stats .stat-item .stat-number {
    font-size: 1.5rem;
  }
  .cert-stats .stat-item .stat-label {
    font-size: 0.7rem;
  }
}
@media (max-width: 480px) {
  .certificates-showcase {
    padding: 30px 0 25px;
  }
  .featured-certs {
    margin-bottom: 60px;
  }
  .featured-certs .featured-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .featured-certs .featured-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }
  .cert-featured {
    padding: 25px;
  }
  .cert-featured .cert-badge {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
  }
  .cert-featured .cert-badge img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
  }
  .cert-featured .cert-featured-content .cert-provider {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  .cert-featured .cert-featured-content .cert-name {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  .cert-featured .cert-featured-content .cert-level {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  .cert-featured .cert-featured-content .cert-date {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
  .cert-featured .cert-featured-content .cert-verify {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 15px;
  }
  .cert-card .cert-image {
    height: 200px;
  }
  .cert-card .cert-image img {
    max-height: 180px;
  }
  .cert-card .cert-content {
    padding: 12px;
  }
  .cert-card .cert-content .cert-provider {
    font-size: 0.65rem;
  }
  .cert-card .cert-content h4 {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  .cert-card .cert-content .cert-meta {
    font-size: 0.75rem;
  }
  .cert-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .cert-stats .stat-item {
    padding: 12px;
  }
  .cert-stats .stat-item .stat-number {
    font-size: 1.3rem;
  }
}
.certificates-mini .certificates-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.certificates-mini .cert-card .cert-image {
  height: 60px;
}
.certificates-mini .cert-card .cert-image img {
  max-height: 45px;
}
.certificates-mini .cert-card .cert-content {
  padding: 10px;
}
.certificates-mini .cert-card .cert-content .cert-provider {
  font-size: 0.65rem;
  margin-bottom: 3px;
}
.certificates-mini .cert-card .cert-content h4 {
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.certificates-mini .cert-card .cert-content .cert-meta {
  font-size: 0.7rem;
}

.certificates-minimal .cert-stats {
  display: none;
}
.certificates-minimal .certificates-showcase {
  padding: 40px 0 20px;
}

/**
 * ================================================================
 * CLEAN PORTFOLIO STYLES - ORGANIZED & OPTIMIZED
 * ================================================================
 * 
 * 1. Portfolio Filter Bar
 * 2. Page Title Section  
 * 3. Portfolio Grid & Cards
 * 4. Portfolio Details Page
 * 5. Responsive Design
 */
/* ================================================================
 * 1. PORTFOLIO FILTER BAR
 * ================================================================ */
.portfolio .portfolio-filters {
  list-style: none;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  margin: 0 auto 40px;
  position: relative;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  z-index: 10;
  max-width: 450px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Filter bar light sweep effect */
.portfolio .portfolio-filters::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1), transparent);
  animation: elegantLight 4s ease-in-out infinite;
}

@keyframes elegantLight {
  0%, 100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}
.portfolio .portfolio-filters:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12), 0 3px 12px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Filter items */
.portfolio .portfolio-filters li {
  position: relative;
  cursor: pointer !important;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  text-transform: uppercase;
  min-width: 70px;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.portfolio .portfolio-filters li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
  border-radius: 18px;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio .portfolio-filters li:hover {
  color: rgba(255, 255, 255, 0.95) !important;
  transform: translateY(-1px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-filters li:hover::before {
  opacity: 1;
}

/* Active filter state */
.portfolio .portfolio-filters li.filter-active {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color) 90%, transparent));
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color) 35%, transparent), 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: delicateGlow 2.5s ease-in-out infinite;
}

.portfolio .portfolio-filters li.filter-active::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 1;
}

.portfolio .portfolio-filters li.filter-active::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--accent-color), transparent, var(--accent-color));
  border-radius: 19px;
  opacity: 0.2;
  z-index: -1;
  filter: blur(4px);
}

@keyframes delicateGlow {
  0%, 100% {
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color) 35%, transparent), 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color) 45%, transparent), 0 3px 8px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}
/* Accessibility states */
.portfolio .portfolio-filters li:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px) scale(1.05);
}

.portfolio .portfolio-filters li:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

/* ================================================================
 * 2. PAGE TITLE SECTION
 * ================================================================ */
.page-title.elegant-reveal {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
  backdrop-filter: blur(20px) saturate(180%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title.elegant-reveal::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  animation: elegantSweep 6s ease-in-out infinite;
}

@keyframes elegantSweep {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}
/* Breadcrumbs */
.breadcrumbs.will-reveal.reveal-fade.revealed {
  margin-bottom: 30px;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}

.breadcrumbs .breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 8px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.breadcrumbs .breadcrumb-link:hover {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.breadcrumbs .breadcrumb-current {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color) 85%, transparent));
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color) 30%, transparent);
}

.breadcrumbs .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* Page title content */
.page-title-content.will-reveal.reveal-fade.revealed {
  text-align: center;
  margin-bottom: 40px;
}

.page-title-content .page-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: var(--heading-font);
}

.page-title-content .title-accent {
  color: var(--accent-color);
  display: inline-block;
  animation: titleFloat 3s ease-in-out infinite;
}

.page-title-content .title-primary {
  color: #ffffff;
  margin-left: 20px;
  display: inline-block;
  animation: titleFloat 3s ease-in-out infinite 0.5s;
}

.page-title-content .page-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  animation: subtitleFade 2s ease-out;
}

@keyframes titleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes subtitleFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Page title decoration */
.page-title-decoration.will-reveal.reveal-fade.revealed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0.8;
}

.page-title-decoration .decoration-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  animation: lineGlow 2s ease-in-out infinite alternate;
}

.page-title-decoration .decoration-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-color);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes lineGlow {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px var(--accent-color);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 30px var(--accent-color);
  }
}
/* ================================================================
 * 3. PORTFOLIO GRID & CARDS
 * ================================================================ */
/* Portfolio grid container */
.portfolio .row.isotope-container {
  margin: 0 -10px;
}

.portfolio .row.isotope-container .col-lg-4,
.portfolio .row.isotope-container .col-md-6 {
  padding: 10px;
  margin-bottom: 10px;
}

/* Portfolio card base */
.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  height: 420px;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: scale(1);
  display: block !important;
  cursor: pointer;
  background: #000;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  will-change: transform;
}

.portfolio .portfolio-item:hover {
  transform: translateY(-20px) rotateX(8deg) scale(1.02);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

/* Portfolio image - better positioning and visibility */
.portfolio .portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.85) contrast(1.15) saturate(1);
  transform: scale(1);
  border-radius: 24px;
}

.portfolio .portfolio-item:hover img {
  transform: scale(1.01);
  filter: brightness(1.1) contrast(1.25) saturate(1.3);
}

/* Bubble effects */
.portfolio .portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.18) 70%, rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  border-radius: 24px;
  z-index: 2;
}

.portfolio .portfolio-item::after {
  content: "";
  position: absolute;
  inset: -3px;
  padding: 3px;
  border-radius: 27px;
  background: linear-gradient(140deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 45%), var(--accent-color));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  filter: blur(20px) brightness(1.3);
  transition: opacity 1.4s ease;
  pointer-events: none;
  z-index: 1;
}

.portfolio .portfolio-item:hover::before {
  opacity: 0.9;
}

.portfolio .portfolio-item:hover::after {
  opacity: 0.85;
}

/* Floating particles */
.portfolio .portfolio-item .fx-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 12;
  border-radius: 24px;
}

.portfolio .portfolio-item .fx-particles span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color);
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  filter: blur(1.5px);
  animation: particleFloatEnhanced 4.5s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(var(--accent-color-rgb), 0.6);
}

@keyframes particleFloatEnhanced {
  0% {
    opacity: 0;
    transform: translate(var(--sx, 0), var(--sy, 0)) scale(0.2);
  }
  15% {
    opacity: 1;
  }
  50% {
    opacity: 0.95;
  }
  85% {
    opacity: 0;
    transform: translate(var(--ex, 0), var(--ey, 0)) scale(1.2);
  }
  100% {
    opacity: 0;
  }
}
/* Portfolio content overlay - improved visibility and positioning */
.portfolio .portfolio-item .portfolio-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.92) 50%, rgba(0, 0, 0, 0.4) 85%, transparent);
  color: #ffffff;
  padding: 20px 24px 24px 24px;
  display: block;
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: blur(12px) saturate(180%);
  border-radius: 0 0 24px 24px;
  z-index: 10;
  max-height: 50%;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.portfolio .portfolio-item .portfolio-content .portfolio-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color) 85%, white));
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent-color) 30%, transparent);
  line-height: 1;
}

.portfolio .portfolio-item .portfolio-content h4 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: 0.3px;
  font-family: var(--heading-font);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-content p {
  margin: 0 0 16px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  letter-spacing: 0.2px;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Portfolio action buttons - improved positioning */
.portfolio .portfolio-item .portfolio-actions {
  position: absolute;
  bottom: 8px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 15;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio .portfolio-item:hover .portfolio-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.portfolio .portfolio-item .portfolio-actions .action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  flex: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  color: #ffffff;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  min-height: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.portfolio .portfolio-item .portfolio-actions .action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: skewX(-20deg);
}

.portfolio .portfolio-item .portfolio-actions .action-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  letter-spacing: 1.5px;
}

.portfolio .portfolio-item .portfolio-actions .action-btn:hover::before {
  left: 100%;
}

/* Preview button variant */
.portfolio .portfolio-item .portfolio-actions .action-btn.preview-btn {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color) 85%, transparent));
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color) 40%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.portfolio .portfolio-item .portfolio-actions .action-btn.preview-btn:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color) 95%, white), color-mix(in srgb, var(--accent-color) 90%, transparent));
  box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color) 50%, transparent), 0 8px 25px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: color-mix(in srgb, var(--accent-color) 110%, white);
}

/* Filter states */
.portfolio .portfolio-item.hidden {
  display: none !important;
  opacity: 0;
}

.portfolio .portfolio-item.filter-exit {
  opacity: 0 !important;
  transform: scale(0.7) rotateX(25deg) translateY(50px) !important;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.portfolio .portfolio-item.filter-enter {
  opacity: 0 !important;
  transform: scale(0.7) rotateX(25deg) translateY(50px) !important;
  display: block !important;
}

.portfolio .portfolio-item.filter-enter.filter-enter-active {
  opacity: 1 !important;
  transform: scale(1) rotateX(0deg) translateY(0) !important;
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ================================================================
 * 4. PORTFOLIO DETAILS PAGE
 * ================================================================ */
.portfolio-details-extraordinary {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(var(--background-color-rgb), 0.98) 0%, rgba(var(--background-color-rgb), 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.portfolio-details-extraordinary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(var(--accent-color-rgb), 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Hero showcase */
.portfolio-hero-showcase {
  margin-bottom: 80px;
}

.portfolio-hero-showcase .hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  background: rgba(var(--background-color-rgb), 0.05);
}

.portfolio-hero-showcase .hero-image-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15), 0 15px 40px rgba(0, 0, 0, 0.1), 0 6px 16px rgba(0, 0, 0, 0.06);
}

.portfolio-hero-showcase .hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-hero-showcase .hero-image-wrapper:hover .hero-image {
  transform: scale(1.05);
}

/* Hero image hover overlay */
.portfolio-hero-showcase .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 20px;
}

.portfolio-hero-showcase .hero-image-wrapper:hover .hero-overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio-hero-showcase .hero-image-wrapper:hover .gallery-click-indicator {
  opacity: 0;
  transform: translateY(-5px);
}

/* Hero overlay content styling */
.portfolio-hero-showcase .hero-overlay-content {
  text-align: center;
  color: white;
}

.portfolio-hero-showcase .hero-overlay-content .hero-overlay-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.portfolio-hero-showcase .project-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.portfolio-hero-showcase .project-category {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Gallery Click Indicator - Visual hint for interactivity */
.gallery-click-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 8px 16px;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  animation: galleryHintFloat 3s ease-in-out infinite;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 5;
}

.gallery-click-indicator:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.gallery-click-indicator:hover .gallery-icon-pulse {
  color: #ffffff;
  animation-duration: 1s;
}

.gallery-click-indicator .click-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}

.gallery-click-indicator .gallery-icon-pulse {
  position: relative;
  color: var(--accent-color);
  font-size: 1.1rem;
  animation: galleryIconPulse 2s ease-in-out infinite;
}

@keyframes galleryHintFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
@keyframes galleryIconPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}
/* Thumbnail overlay */
.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--accent-color-rgb), 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.thumbnail-item:hover .thumbnail-overlay {
  opacity: 1;
}

.thumbnail-item.active .thumbnail-overlay {
  opacity: 0.6;
}

/* Image viewer overlay - Fix z-index */
.image-viewer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.9) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 99999 !important;
  backdrop-filter: blur(10px) !important;
}

.image-viewer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.image-viewer-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.viewer-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.viewer-controls {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10000;
}

.viewer-prev, .viewer-next {
  position: fixed !important;
  top: 50vh !important;
  transform: translateY(-50%) !important;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(15px) saturate(180%);
  pointer-events: all;
  font-size: 1.8rem;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 10001 !important;
  opacity: 0.95;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.viewer-prev {
  left: 30px !important;
}

.viewer-next {
  right: 30px !important;
}

.viewer-prev:hover, .viewer-next:hover,
.viewer-prev:active, .viewer-next:active {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

/* Image viewer counter */
.viewer-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 10002;
}

/* Responsive adjustments for unified gallery viewer */
@media (max-width: 900px) and (min-width: 769px) {
  .viewer-prev, .viewer-next {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) and (min-width: 577px) {
  .viewer-prev {
    left: 20px !important;
  }
  .viewer-next {
    right: 20px !important;
  }
  .viewer-prev, .viewer-next {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    border-width: 2px;
  }
}
@media (max-width: 576px) {
  .viewer-prev {
    left: 15px !important;
  }
  .viewer-next {
    right: 15px !important;
  }
  .viewer-prev, .viewer-next {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    border-width: 2px;
    border-radius: 12px;
  }
  .viewer-counter {
    bottom: 15px;
    right: 15px;
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}
/* Project info sidebar */
.project-info-extraordinary {
  background: rgba(var(--surface-color-rgb), 0.7);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(var(--default-color-rgb), 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 100px;
}

.project-info-extraordinary .info-header {
  margin-bottom: 30px;
  text-align: center;
}

.project-info-extraordinary .info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.project-info-extraordinary .info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(var(--default-color-rgb), 0.08);
}

.project-info-extraordinary .info-item:last-child {
  border-bottom: none;
}

.project-info-extraordinary .info-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-info-extraordinary .info-label {
  display: block;
  font-size: 0.85rem;
  color: var(--default-color);
  opacity: 0.7;
  font-weight: 500;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-info-extraordinary .info-value {
  display: block;
  font-size: 1rem;
  color: var(--heading-color);
  font-weight: 600;
}

/* Project actions */
.project-info-extraordinary .project-actions {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Project technologies */
.project-info-extraordinary .project-technologies .tech-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
  text-align: center;
}

.project-info-extraordinary .project-technologies .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.project-info-extraordinary .project-technologies .tech-tag {
  background: rgba(var(--accent-color-rgb), 0.1);
  color: var(--accent-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(var(--accent-color-rgb), 0.2);
  transition: all 0.3s ease;
}

.project-info-extraordinary .project-technologies .tech-tag:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-1px);
}

/* Project story section */
.project-story {
  background: rgba(var(--surface-color-rgb), 0.5);
  border-radius: 20px;
  padding: 40px 0 0 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--default-color-rgb), 0.1);
}

.project-story .story-header {
  margin-bottom: 35px;
  text-align: center;
}

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

.project-story .story-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  margin: 0 auto;
  border-radius: 2px;
}

.project-story .story-section {
  margin-bottom: 35px;
}

.project-story .section-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 15px;
  position: relative;
}

.project-story .section-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
  border-radius: 2px;
}

.project-story .section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--default-color);
  opacity: 0.9;
}

.project-story .story-desc-line {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 0.5em;
}

/* Gallery thumbnails */
.gallery-thumbnails .thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  max-width: 600px;
  margin: 50px auto;
}

.gallery-thumbnails .thumbnail-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.gallery-thumbnails .thumbnail-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
  backdrop-filter: blur(8px);
  font-family: "bootstrap-icons";
  content: "\f127"; /* Bootstrap search icon */
  color: white;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
}

.gallery-thumbnails .thumbnail-item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery-thumbnails .thumbnail-item.active,
.gallery-thumbnails .thumbnail-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.2);
}

.gallery-thumbnails .thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-thumbnails .thumbnail-item:hover img {
  transform: scale(1.1);
}

/* ================================================================
 * 5. RESPONSIVE DESIGN
 * ================================================================ */
/* Desktop adjustments for navigation */
@media (min-width: 1025px) and (max-width: 1600px) {
  .page-title.elegant-reveal {
    padding-left: 110px;
  }
  .portfolio-details-extraordinary {
    padding-left: 110px;
  }
  .footer {
    padding-left: 110px;
  }
}
/* Breadcrumb navigation overlap fixes */
@media (min-width: 1120px) and (max-width: 1600px) {
  .page-title.elegant-reveal {
    padding-top: 30px;
  }
  .page-title.elegant-reveal .breadcrumbs {
    margin-top: 20px;
  }
}
@media (max-width: 1199px) {
  .page-title.elegant-reveal {
    padding-top: 40px;
  }
  .page-title.elegant-reveal .breadcrumbs {
    margin-top: 20px;
  }
}
@media (max-width: 991px) {
  .page-title.elegant-reveal {
    padding-top: 100px;
  }
  .page-title.elegant-reveal .breadcrumbs {
    margin-top: 30px;
  }
  .page-title.elegant-reveal .breadcrumbs ol {
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-title.elegant-reveal .breadcrumb-link,
  .page-title.elegant-reveal .breadcrumb-current {
    font-size: 0.9rem;
  }
}
/* Tablet styles */
@media (max-width: 768px) {
  .portfolio .portfolio-filters {
    gap: 3px;
    padding: 6px 12px;
    margin-bottom: 35px;
    max-width: 85%;
    border-radius: 20px;
  }
  .portfolio .portfolio-filters li {
    padding: 8px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    min-width: 60px;
    border-radius: 15px;
  }
  .page-title.elegant-reveal {
    padding: 60px 0 40px;
    padding-top: 120px;
  }
  .page-title.elegant-reveal .breadcrumbs {
    margin-top: 40px;
  }
  .page-title.elegant-reveal .breadcrumbs ol {
    justify-content: center;
  }
  .page-title.elegant-reveal .page-main-title {
    font-size: 2.5rem;
  }
  .page-title.elegant-reveal .title-primary {
    margin-left: 10px;
  }
  .page-title.elegant-reveal .page-subtitle {
    font-size: 1rem;
  }
  .portfolio .row.isotope-container {
    margin: 0 -15px;
  }
  .portfolio .row.isotope-container .col-lg-4,
  .portfolio .row.isotope-container .col-md-6 {
    padding: 15px;
    margin-bottom: 30px;
  }
  .portfolio .portfolio-item {
    height: 380px;
  }
  .portfolio .portfolio-item:active {
    transform: translateY(-4px);
  }
  .portfolio .portfolio-item .portfolio-content {
    bottom: 0;
    padding: 18px 20px 24px 20px;
    max-height: 42%;
    backdrop-filter: blur(10px) saturate(170%);
  }
  .portfolio .portfolio-item .portfolio-content .portfolio-category {
    font-size: 0.8rem;
    padding: 7px 14px;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }
  .portfolio .portfolio-item .portfolio-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    line-height: 1.2;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .portfolio .portfolio-item .portfolio-content p {
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.4;
    letter-spacing: 0.2px;
  }
  .portfolio .portfolio-item .portfolio-actions {
    bottom: 8px;
    left: 20px;
    right: 20px;
    gap: 10px;
  }
  .portfolio .portfolio-item .portfolio-actions .action-btn {
    padding: 14px 16px;
    font-size: 0.85rem;
    min-height: 46px;
    font-weight: 600;
    letter-spacing: 0.8px;
    border-radius: 14px;
    touch-action: manipulation;
  }
  .portfolio .portfolio-item .portfolio-actions .action-btn:active {
    transform: translateY(0) scale(0.96);
    transition: all 0.1s ease;
  }
  /* Portfolio details responsive */
  .portfolio-details-extraordinary {
    padding: 60px 0;
  }
  .portfolio-hero-showcase {
    margin-bottom: 60px;
  }
  .portfolio-hero-showcase .hero-image-wrapper {
    aspect-ratio: 16/12;
  }
  .project-story .story-title {
    font-size: 2rem;
  }
  /* Gallery Controls for Tablet - Enhanced Visibility */
  .lightbox-overlay button {
    width: 58px !important;
    height: 58px !important;
    font-size: 1.7rem !important;
    border-radius: 16px !important;
    border: 3px solid rgba(255, 255, 255, 0.7) !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 3px 12px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    opacity: 0.98 !important;
  }
  .lightbox-overlay button:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000 !important;
    border-color: rgba(0, 0, 0, 0.7) !important;
    transform: scale(1.08) !important;
  }
  .lightbox-overlay .lb-close {
    top: 20px !important;
    right: 20px !important;
    width: 52px !important;
    height: 52px !important;
    background: rgba(220, 53, 69, 0.85) !important;
  }
  .lightbox-overlay .lb-prev {
    left: 20px !important;
    background: rgba(0, 123, 255, 0.85) !important;
  }
  .lightbox-overlay .lb-next {
    right: 20px !important;
    background: rgba(0, 123, 255, 0.85) !important;
  }
  /* Gallery Click Indicator Tablet */
  .gallery-click-indicator {
    top: 18px !important;
    right: 18px !important;
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }
  .gallery-click-indicator .click-hint span {
    font-size: 0.75rem;
  }
}
/* Mobile styles */
@media (max-width: 576px) {
  .portfolio .portfolio-filters {
    gap: 2px;
    padding: 5px 10px;
    margin-bottom: 30px;
    max-width: 90%;
    border-radius: 18px;
  }
  .portfolio .portfolio-filters li {
    padding: 7px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.4px;
    min-width: 55px;
    margin-bottom: 2px;
    border-radius: 12px;
  }
  .page-title.elegant-reveal {
    padding: 50px 0 30px;
    padding-top: 120px;
  }
  .page-title.elegant-reveal .breadcrumbs {
    margin-top: 10px;
  }
  .page-title.elegant-reveal .breadcrumb-link,
  .page-title.elegant-reveal .breadcrumb-current {
    padding: 6px 10px;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .page-title.elegant-reveal .breadcrumb-link span {
    display: none;
  }
  .page-title.elegant-reveal .page-main-title {
    font-size: 2rem;
  }
  .page-title.elegant-reveal .title-accent,
  .page-title.elegant-reveal .title-primary {
    display: block;
    margin: 0;
  }
  .page-title.elegant-reveal .page-subtitle {
    font-size: 0.9rem;
  }
  .page-title-decoration .decoration-line {
    width: 40px;
  }
  .page-title-decoration .decoration-dot {
    width: 8px;
    height: 8px;
  }
  .portfolio .row.isotope-container {
    margin: 0 -10px;
  }
  .portfolio .row.isotope-container .col-lg-4,
  .portfolio .row.isotope-container .col-md-6 {
    padding: 10px;
    margin-bottom: 20px;
  }
  .portfolio .portfolio-item {
    border-radius: 18px;
    height: 320px;
  }
  .portfolio .portfolio-item img {
    height: 240px;
  }
  .portfolio .portfolio-item .portfolio-content {
    bottom: 0;
    padding: 16px 16px 20px 16px;
    max-height: 40%;
    backdrop-filter: blur(8px) saturate(160%);
  }
  .portfolio .portfolio-item .portfolio-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
  .portfolio .portfolio-item .portfolio-content p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .portfolio .portfolio-item .portfolio-actions {
    bottom: 4px;
    left: 16px;
    right: 16px;
    gap: 8px;
  }
  .portfolio .portfolio-item .portfolio-actions .action-btn {
    padding: 12px 14px;
    font-size: 0.8rem;
    min-height: 42px;
    letter-spacing: 0.6px;
    border-radius: 12px;
  }
  /* Portfolio details mobile */
  .portfolio-details-extraordinary {
    padding: 40px 0;
  }
  .portfolio-hero-showcase {
    margin-bottom: 40px;
  }
  .portfolio-hero-showcase .hero-image-wrapper {
    aspect-ratio: 4/3;
  }
  .gallery-thumbnails .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-thumbnails .thumbnail-item {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(var(--accent-color-rgb), 0.3);
  }
  .gallery-thumbnails .thumbnail-item::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .project-story .story-title {
    font-size: 1.8rem;
  }
  /* Enhanced Gallery Controls for Mobile - Maximum Visibility */
  .lightbox-overlay button {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.8rem !important;
    border-radius: 16px !important;
    border: 3px solid rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(25px) saturate(250%) !important;
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
  }
  .lightbox-overlay button:hover,
  .lightbox-overlay button:active {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #000 !important;
    border-color: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1) !important;
  }
  .lightbox-overlay .lb-close {
    top: 20px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    font-size: 1.5rem !important;
    background: rgba(220, 53, 69, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
  }
  .lightbox-overlay .lb-prev {
    left: 20px !important;
    background: rgba(0, 123, 255, 0.9) !important;
    animation: galleryButtonPulse 3s ease-in-out infinite;
  }
  .lightbox-overlay .lb-next {
    right: 20px !important;
    background: rgba(0, 123, 255, 0.9) !important;
    animation: galleryButtonPulse 3s ease-in-out infinite 0.5s;
  }
  /* Mobile Gallery Button Pulse Animation */
  @keyframes galleryButtonPulse {
    0%, 100% {
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    50% {
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 8px rgba(0, 123, 255, 0.2);
    }
  }
  /* Gallery Click Indicator Mobile */
  .gallery-click-indicator {
    top: 15px !important;
    right: 15px !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 20px !important;
  }
  .gallery-click-indicator .click-hint span {
    display: none; /* Hide text on small screens */
  }
  .gallery-click-indicator .gallery-icon-pulse {
    font-size: 1.3rem !important;
  }
}
@media (max-width: 575px) {
  .page-title.elegant-reveal .breadcrumb-link i,
  .page-title.elegant-reveal .breadcrumb-current i {
    font-size: 18px;
  }
  .page-title.elegant-reveal .page-main-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .gallery-thumbnails .thumbnail-grid {
    grid-template-columns: 1fr;
    max-width: 200px;
  }
  .gallery-thumbnails .thumbnail-item {
    min-height: 60px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(var(--accent-color-rgb), 0.4);
  }
  .gallery-thumbnails .thumbnail-item::before {
    opacity: 1;
    width: 24px;
    height: 24px;
    font-size: 12px;
    line-height: 24px;
  }
  .project-story .story-title {
    font-size: 1.5rem;
  }
}
/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .portfolio .portfolio-filters,
  .portfolio .portfolio-filters li,
  .portfolio .portfolio-filters li.filter-active,
  .portfolio .portfolio-item,
  .portfolio .portfolio-item img,
  .portfolio .portfolio-item .portfolio-actions .action-btn {
    transition: none;
    animation: none;
    transform: none;
  }
}
.tech-stack {
  padding: 60px 0 50px 0;
  background: var(--background-color);
}
.tech-stack .section-title {
  text-align: center;
  margin-bottom: 32px;
}
.tech-stack .section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}
.tech-stack .section-title p {
  color: var(--muted-color);
  font-size: 1.1rem;
}
.tech-stack .tech-stack-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  mask: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  cursor: grab;
  user-select: none;
}
.tech-stack .tech-stack-carousel:active {
  cursor: grabbing;
}
.tech-stack .tech-stack-grid {
  display: flex;
  flex-direction: row;
  gap: 32px;
  width: max-content;
  will-change: transform;
}
.tech-stack .tech-card {
  background: var(--surface-color);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(var(--shadow-color), 0.08);
  padding: 32px 24px 24px 24px;
  text-align: center;
  min-width: 220px;
  max-width: 220px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 1.4, 0.6, 1), box-shadow 0.3s ease;
  color: var(--default-color);
  cursor: pointer;
}
.tech-stack .tech-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px rgba(var(--shadow-color), 0.14);
  z-index: 10;
}
.tech-stack .tech-card .tech-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}
.tech-stack .tech-card .tech-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.tech-stack .tech-card .tech-name {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}
.tech-stack .tech-card .tech-stars {
  font-size: 1.3rem;
  color: var(--accent-color, #ffd700);
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 2px;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .tech-stack {
    padding: 40px 0 24px 0;
  }
  .tech-stack .tech-stack-carousel {
    height: 180px;
  }
  .tech-stack .tech-stack-grid {
    gap: 18px;
  }
  .tech-stack .tech-card {
    padding: 18px 10px 14px 10px;
    min-width: 140px;
    max-width: 140px;
  }
  .tech-stack .tech-card .tech-icon {
    margin-bottom: 12px;
  }
  .tech-stack .tech-card .tech-icon img {
    width: 32px;
    height: 32px;
  }
  .tech-stack .tech-card .tech-name {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .tech-stack .tech-card .tech-stars {
    font-size: 1.1rem;
    margin-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tech-stack-grid {
    transition: none !important;
  }
  .tech-card {
    transition: none !important;
  }
}
.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.will-reveal.reveal-fade {
  transform: none;
}

.will-reveal.reveal-zoom-out {
  opacity: 0;
  transform: scale(1.1);
}

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 10000;
  padding: 20px;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-overlay .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  font-weight: 300;
}

.lightbox-overlay .close-btn:hover {
  color: color-mix(in srgb, #ffffff, transparent 30%);
}

.simple-slider {
  position: relative;
  overflow: hidden;
}

.simple-slider-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.simple-slide {
  flex: 0 0 100%;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s;
}

.slider-dots button:hover, .slider-dots button:focus {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  outline: none;
}

.slider-dots button.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

/*# sourceMappingURL=main.css.map */
