/*
===============================================
  PROFESSIONAL PORTFOLIO WEBSITE
  Main Stylesheet
  Author: Hans
  Version: 1.0
===============================================
*/

/* ========================================
   CSS VARIABLES & ROOT SETTINGS
======================================== */

:root {
  /* Primary Colors */
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  
  /* Secondary Colors */
  --secondary-color: #ec4899;
  --secondary-dark: #db2777;
  --secondary-light: #f472b6;
  
  /* Accent Colors */
  --accent-color: #14b8a6;
  --accent-dark: #0d9488;
  --accent-light: #2dd4bf;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark: #1f2937;
  --color-light: #f9fafb;
  
  /* Gray Scale */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  
  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  --gradient-rainbow: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-colored: 0 10px 40px rgba(99, 102, 241, 0.3);
  --shadow-colored-hover: 0 20px 60px rgba(99, 102, 241, 0.4);
  
  /* Typography */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Spacing */
  --spacing-xs: 0.5rem;    /* 8px */
  --spacing-sm: 1rem;      /* 16px */
  --spacing-md: 1.5rem;    /* 24px */
  --spacing-lg: 2rem;      /* 32px */
  --spacing-xl: 3rem;      /* 48px */
  --spacing-2xl: 4rem;     /* 64px */
  --spacing-3xl: 6rem;     /* 96px */
  
  /* Border Radius */
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* Container Width */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-dark: #020617;
  --bg-card: #1e293b;
  
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-light: #94a3b8;
  
  --gray-50: #1e293b;
  --gray-100: #334155;
  --gray-200: #475569;
  --gray-300: #64748b;
  --gray-800: #e2e8f0;
  --gray-900: #f1f5f9;
  
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESET & BASE STYLES
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Selection */
::selection {
  background-color: var(--primary-color);
  color: var(--color-white);
}

::-moz-selection {
  background-color: var(--primary-color);
  color: var(--color-white);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-4xl); }
h4 { font-size: var(--text-3xl); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-base);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ========================================
   UTILITY CLASSES
======================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--primary-color);
  font-weight: var(--font-semibold);
}

/* ========================================
   CUSTOM CURSOR - PERBAIKAN STYLES
======================================== */

/* Hide default cursor */
* {
  cursor: none !important;
}

/* Cursor Dot (Inner Circle) */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: normal;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5),
              0 0 20px rgba(99, 102, 241, 0.3);
}

/* Cursor Outline (Outer Circle) */
.cursor-outline {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, 
              height 0.3s ease, 
              background-color 0.3s ease,
              border-color 0.3s ease;
}

/* Dark mode cursor adjustments */
[data-theme="dark"] .cursor-dot {
  background: var(--primary-light);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.5),
              0 0 20px rgba(129, 140, 248, 0.3);
}

[data-theme="dark"] .cursor-outline {
  border-color: var(--primary-light);
}

/* Cursor hover state */
.cursor-outline.hover {
  width: 60px;
  height: 60px;
  background-color: rgba(99, 102, 241, 0.1);
  border-color: var(--primary-light);
}

/* Cursor click state */
.cursor-outline.click {
  width: 30px;
  height: 30px;
  transition: width 0.1s ease, height 0.1s ease;
}

/* Blend mode for text hover */
.cursor-dot.text-hover {
  mix-blend-mode: difference;
  background: white;
}

/* Hide cursor on mobile devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
  
  * {
    cursor: auto !important;
  }
}

/* Tablet and mobile */
@media (max-width: 768px) {
  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
  
  * {
    cursor: auto !important;
  }
}

/* Special cursor states for different elements */
a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline,
.btn:hover ~ .cursor-outline {
  width: 60px;
  height: 60px;
  border-color: var(--primary-light);
  background: rgba(99, 102, 241, 0.1);
}

/* Input focus cursor */
input:focus ~ .cursor-dot,
textarea:focus ~ .cursor-dot {
  transform: translate(-50%, -50%) scale(0.5);
  background: var(--secondary-color);
}

/* Draggable elements */
[draggable="true"]:active ~ .cursor-outline {
  border-style: dashed;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Loading cursor state */
.cursor-loading .cursor-outline {
  animation: pulse-cursor 1s infinite;
}

@keyframes pulse-cursor {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* Cursor trail effect (optional) */
.cursor-trail {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.3;
  z-index: 9998;
  transform: translate(-50%, -50%);
  animation: fade-trail 1s ease-out forwards;
}

@keyframes fade-trail {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}



/* ========================================
   SCROLL PROGRESS BAR
======================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient-primary);
  z-index: var(--z-fixed);
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* ========================================
   PRELOADER
======================================== */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.spinner {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 0 auto var(--spacing-md);
}

.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1s;
}

@keyframes sk-bounce {
  0%, 100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

.loading-text {
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ========================================
   NAVIGATION
======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md) 0;
  background: transparent;
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-sm) 0;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.logo-dot {
  color: var(--primary-color);
  font-size: var(--text-3xl);
  margin-left: 2px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--spacing-xs) var(--spacing-md);
  color: var(--text-primary);
  font-weight: var(--font-medium);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link i {
  font-size: var(--text-sm);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-base);
}

.nav-link:hover i,
.nav-link.active i {
  opacity: 1;
  transform: translateX(0);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* Nav Extras */
.nav-extras {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.theme-toggle {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: var(--color-white);
  transform: rotate(180deg);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 30px;
  background: transparent;
  cursor: pointer;
  z-index: var(--z-fixed);
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
}

/* Particles Background */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  border-radius: 50%;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--gradient-secondary);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--gradient-accent);
  border-radius: 50%;
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  background: var(--gradient-warm);
  border-radius: 50% 50% 0 50%;
  top: 30%;
  right: 30%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, 20px) rotate(180deg);
  }
  75% {
    transform: translate(20px, 30px) rotate(270deg);
  }
}

/* Hero Content */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-text {
  max-width: 600px;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.wave {
  display: inline-block;
  animation: wave 2s infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(14deg);
  }
  20%, 40% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(14deg);
  }
  60% {
    transform: rotate(0deg);
  }
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}

.typed-text {
  color: var(--primary-color);
}

.hero-description {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 1rem 2rem;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-colored-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn i {
  font-size: var(--text-sm);
  transition: transform var(--transition-base);
}

.btn:hover i {
  transform: translateX(5px);
}

/* Hero Social */
.hero-social {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: -1;
}

.social-link:hover::before {
  transform: translateY(0);
}

.social-link:hover {
  color: var(--color-white);
  transform: translateY(-5px);
}

/* Hero Image */
.hero-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  animation: floatImage 6s infinite ease-in-out;
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.profile-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  position: relative;
  z-index: 2;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  opacity: 0.3;
  z-index: 1;
}

.image-border {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color);
  border-radius: var(--radius-2xl);
  z-index: 0;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: var(--bg-card);
  padding: var(--spacing-md);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  animation: floatCard 4s infinite ease-in-out;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 10%;
  left: -10%;
  animation-delay: -2s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
}

.card-info h3 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin: 0;
}

.card-info p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--text-secondary);
  border-radius: var(--radius-full);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

.scroll-text {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Counter Animation */
.counter {
  transition: all var(--transition-slow);
}

/* ========================================
   SECTION HEADERS
======================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--primary-color);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-xs);
}

.section-title {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto;
  border-radius: var(--radius-full);
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.section-divider::before {
  left: -15px;
}

.section-divider::after {
  right: -15px;
}

/* Continue to Part 2... */
/* ========================================
   ABOUT SECTION
======================================== */

.about {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: var(--gradient-primary);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  margin-bottom: var(--spacing-3xl);
}

/* About Image */
.about-image {
  position: relative;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.about-img-wrapper:hover .about-img {
  transform: scale(1.05);
}

.about-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(99, 102, 241, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.about-img-wrapper:hover .about-img-overlay {
  opacity: 1;
}

.experience-badge {
  background: var(--color-white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge h3 {
  font-size: var(--text-5xl);
  color: var(--primary-color);
  margin: 0;
  line-height: 1;
}

.experience-badge p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  font-weight: var(--font-semibold);
}

/* Decorative Elements */
.about-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  opacity: 0.3;
}

.circle-1 {
  width: 100px;
  height: 100px;
  top: -20px;
  left: -20px;
  animation: rotate 20s linear infinite;
}

.circle-2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  right: -30px;
  animation: rotate 15s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* About Info */
.about-info {
  padding-left: var(--spacing-lg);
}

.about-title {
  font-size: var(--text-4xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.about-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.about-text {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

/* About Details */
.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin: var(--spacing-xl) 0;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.detail-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.detail-item i {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: var(--text-sm);
  color: var(--text-light);
  font-weight: var(--font-medium);
}

.detail-value {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
}

/* About Action */
.about-action {
  margin-top: var(--spacing-xl);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  background: var(--bg-card);
  padding: var(--spacing-xl);
  border-radius: var(--radius-2xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: var(--shadow-colored);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
}

.service-title {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.service-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ========================================
   SKILLS SECTION
======================================== */

.skills {
  background: var(--bg-primary);
  position: relative;
}

.skills-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.skills-category {
  background: var(--bg-card);
  padding: var(--spacing-xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.skills-category:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-colored);
}

.category-title {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.category-title i {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
}

/* Skill Items */
.skill-item {
  margin-bottom: var(--spacing-lg);
}

.skill-item:last-child {
  margin-bottom: 0;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xs);
}

.skill-name {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
}

.skill-percentage {
  font-size: var(--text-sm);
  color: var(--primary-color);
  font-weight: var(--font-bold);
}

/* Skill Bar */
.skill-bar {
  width: 100%;
  height: 10px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .skill-bar {
  background: var(--gray-700);
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.5s ease-in-out;
  position: relative;
  overflow: hidden;
}

.skill-progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Tech Stack */
.tech-stack {
  text-align: center;
}

.tech-stack-title {
  font-size: var(--text-3xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xl);
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-lg);
}

.tech-icon {
  background: var(--bg-card);
  padding: var(--spacing-lg);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  cursor: pointer;
}

.tech-icon:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: var(--shadow-colored);
}

.tech-icon i {
  font-size: var(--text-5xl);
  color: var(--primary-color);
  transition: all var(--transition-base);
}

.tech-icon:hover i {
  transform: rotateY(360deg);
}

.tech-icon span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--font-semibold);
}

/* ========================================
   PORTFOLIO SECTION
======================================== */

.portfolio {
  background: var(--bg-secondary);
  position: relative;
}

/* Portfolio Filter */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-3xl);
}

.filter-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-colored);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.portfolio-item {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-base);
  opacity: 1;
  transform: scale(1);
}

.portfolio-item.hide {
  opacity: 0;
  transform: scale(0.8);
  display: none;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  aspect-ratio: 16/10;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.95) 0%,
    rgba(118, 75, 162, 0.95) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  text-align: center;
  padding: var(--spacing-lg);
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-title {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.portfolio-category {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-md);
}

.portfolio-links {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
}

.portfolio-link {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--transition-base);
}

.portfolio-link:hover {
  background: var(--primary-color);
  color: var(--color-white);
  transform: translateY(-5px);
}

/* ========================================
   EXPERIENCE SECTION
======================================== */

.experience {
  background: var(--bg-primary);
}

.timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-3xl);
}

.timeline-column {
  position: relative;
}

.timeline-heading {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.timeline-heading i {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--spacing-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--spacing-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  z-index: 1;
}

.timeline-date {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: var(--spacing-sm);
}

.timeline-content {
  background: var(--bg-card);
  padding: var(--spacing-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.timeline-content:hover {
  border-color: var(--primary-color);
  transform: translateX(10px);
  box-shadow: var(--shadow-colored);
}

.timeline-content h3 {
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.timeline-content h4 {
  font-size: var(--text-base);
  color: var(--primary-color);
  font-weight: var(--font-semibold);
  margin-bottom: var(--spacing-sm);
}

.timeline-content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */

.testimonials {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 20rem;
  font-family: Georgia, serif;
  color: var(--primary-color);
  opacity: 0.05;
  z-index: 0;
}

.testimonials-slider {
  position: relative;
  z-index: 1;
}

/* Swiper Customization */
.testimonialSwiper {
  padding: var(--spacing-xl) 0 var(--spacing-3xl);
}

.testimonial-card {
  background: var(--bg-card);
  padding: var(--spacing-xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.testimonial-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: var(--shadow-colored);
}

.quote-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
}

.testimonial-text {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.testimonial-rating i {
  color: #fbbf24;
  font-size: var(--text-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 2px solid var(--gray-200);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.author-info {
  text-align: left;
}

.author-info h4 {
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin: 0;
}

.author-info p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--primary-color);
  box-shadow: var(--shadow-colored);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: var(--color-white);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--gray-400);
  opacity: 1;
  transition: all var(--transition-base);
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
  width: 30px;
  border-radius: var(--radius-full);
}

/* ========================================
   CONTACT SECTION
======================================== */

.contact {
  background: var(--bg-primary);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

/* Contact Info */
.contact-info {
  position: sticky;
  top: 100px;
}

.contact-info-title {
  font-size: var(--text-3xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.contact-info-text {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.contact-detail-item:hover {
  border-color: var(--primary-color);
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.contact-detail-info h4 {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: var(--font-semibold);
  margin-bottom: var(--spacing-xs);
}

.contact-detail-info p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
}

/* Contact Social */
.contact-social h4 {
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.contact-form-wrapper:hover {
  border-color: var(--primary-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 50px;
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  resize: vertical;
}

.form-input:focus {
  border-color: var(--primary-color);
  background: var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-icon {
  position: absolute;
  left: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: var(--text-lg);
  pointer-events: none;
  transition: color var(--transition-base);
}

.form-group:focus-within .form-icon {
  color: var(--primary-color);
}

textarea.form-input {
  min-height: 150px;
  padding-top: var(--spacing-md);
}

textarea.form-input ~ .form-icon {
  top: var(--spacing-md);
  transform: translateY(0);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: var(--text-lg);
  padding: var(--spacing-md);
}

/* Form Status */
.form-status {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: var(--font-semibold);
  display: none;
}

.form-status.success {
  background: #d1fae5;
  color: #065f46;
  border: 2px solid #10b981;
  display: block;
}

.form-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 2px solid #ef4444;
  display: block;
}

/* ========================================
   FOOTER
======================================== */

.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.05;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-col h3,
.footer-col h4 {
  color: var(--color-white);
}

.footer-logo {
  font-size: var(--text-3xl);
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-md);
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-social-link {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--transition-base);
}

.footer-social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-5px);
}

.footer-title {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: var(--spacing-xs);
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: var(--spacing-xs);
}

.newsletter-form input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--transition-base);
}

.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-colored);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  margin: 0;
}

.footer-bottom i {
  color: #ef4444;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
}

/* ========================================
   SCROLL TO TOP BUTTON
======================================== */

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  box-shadow: var(--shadow-colored);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-colored-hover);
}

.scroll-top i {
  animation: scrollTopArrow 1.5s infinite;
}

@keyframes scrollTopArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ========================================
   ANIMATIONS & EFFECTS
======================================== */

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide Up */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================================
   END OF MAIN STYLESHEET
======================================== */