* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0f0f23;
  --bg-secondary: #1a1a2e;
  --bg-card: #242448;
  --bg-dark: #000000;
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --neon-pink: #ff0080;
  --neon-blue: #00d4ff;
  --neon-purple: #8a2be2;
  --neon-cyan: #00ffff;
  --neon-pink-glow: rgba(255, 0, 128, 0.3);
  --neon-blue-glow: rgba(0, 212, 255, 0.3);
  --neon-cyan-glow: rgba(0, 255, 255, 0.2);
  --border-color: #334155;
  --border-glow: #475569;
  --shadow-dark: rgba(0, 0, 0, 0.5);
  --gradient-primary: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
  --gradient-secondary: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
  --gradient-bg: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: 400;
}

/* Subtle background pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 25% 25%, rgba(255, 0, 128, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Header Styles */
header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a[style*="neon-pink"] {
  color: var(--neon-pink) !important;
  background: rgba(255, 0, 128, 0.1);
}

/* Special styling for admin link */
.nav-links .admin-link {
  background: rgba(255, 0, 128, 0.1);
  border: 1px solid rgba(255, 0, 128, 0.3);
  border-radius: 6px;
  padding: 0.6rem 1rem !important;
  font-size: 0.85rem;
  margin-left: 1rem;
  color: var(--neon-pink) !important;
}

.nav-links .admin-link:hover {
  background: rgba(255, 0, 128, 0.2);
  border-color: var(--neon-pink);
}

.mobile-menu {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-menu:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--neon-pink);
}

/* Main Content */
main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 8rem 0 6rem;
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.profile-picture {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 3px solid var(--neon-pink);
  box-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
  margin: 0 auto 3rem;
  display: block;
  object-fit: cover;
  transition: all 0.3s ease;
}

.profile-picture:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(255, 0, 128, 0.4);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--neon-cyan);
  margin-bottom: 2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  text-align: left;
  margin-bottom: 1rem;
}

.hero-text .hero-subtitle {
  text-align: left;
  margin-bottom: 2rem;
}

.hero-text p {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mobile responsive - stack vertically on small screens */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    text-align: center;
  }

  .hero-text .hero-subtitle {
    text-align: center;
  }

  .hero-text p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
  }

  .profile-picture {
    width: 260px;
    height: 260px;
  }

  nav {
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 2rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .profile-picture {
    width: 200px;
    height: 200px;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Professional Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0.5rem;
  box-shadow: 0 4px 15px rgba(255, 0, 128, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 128, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.btn-secondary:hover {
  background: var(--neon-blue);
  color: var(--bg-primary);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

/* Professional Card Design */
.card {
  background: rgba(36, 36, 72, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--neon-blue);
}

.card h3 {
  color: var(--neon-pink);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card ul {
  color: var(--text-secondary);
  margin-left: 1.5rem;
  line-height: 1.8;
}

.card li {
  margin-bottom: 0.8rem;
  position: relative;
}

.card li::marker {
  color: var(--neon-cyan);
}

/* Professional Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
  margin: 4rem 0;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Professional Form Styling */
.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(36, 36, 72, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--neon-pink);
  box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.1);
  background: rgba(36, 36, 72, 0.95);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* Professional Section Titles */
h1,
h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  background: rgba(36, 36, 72, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: var(--neon-blue);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.star {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.star.filled {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
  text-align: center;
  position: relative;
}

.testimonial-card blockquote::before {
  content: "";
  font-size: 4rem;
  color: var(--neon-pink);
  position: absolute;
  top: -1rem;
  left: -1rem;
  opacity: 0.3;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-info {
  text-align: center;
}

.author-info h4 {
  color: var(--neon-pink);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.testimonials-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(36, 36, 72, 0.5);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.testimonials-cta p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Services Section Enhancement */
.services-grid .card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-grid .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.services-grid .card:hover::before {
  transform: scaleX(1);
}

.service-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon-blue);
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 6px;
  display: inline-block;
}

/* Professional Footer */
footer {
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--neon-pink);
  transform: translateX(3px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Professional Admin Panel */
.admin-panel {
  background: rgba(36, 36, 72, 0.8);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  padding: 3rem;
  margin: 3rem 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.admin-panel h2 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

/* Professional Messages */
.message {
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Professional Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(36, 36, 72, 0.6);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: rgba(255, 0, 128, 0.1);
  color: var(--text-primary);
  font-weight: 600;
}

td {
  color: var(--text-secondary);
}

/* Professional Page Headers */
.page-header {
  padding: 6rem 0 4rem;
  text-align: center;
  background: var(--gradient-bg);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Professional Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .profile-picture {
    width: 260px;
    height: 260px;
  }

  nav {
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 2rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .profile-picture {
    width: 200px;
    height: 200px;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Professional Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}

/* Professional Selection */
::selection {
  background: rgba(255, 0, 128, 0.2);
  color: var(--text-primary);
}

/* Professional Utility Classes */
.text-center {
  text-align: center;
}

.text-neon-pink {
  color: var(--neon-pink);
}

.text-neon-blue {
  color: var(--neon-blue);
}

.text-neon-cyan {
  color: var(--neon-cyan);
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Professional spacing */
section {
  padding: 5rem 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== LOADING STATES & ANIMATIONS ===== */

/* Fade-in animations for cards and sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.animate-delay-1 {
  animation-delay: 0.1s;
}
.animate-delay-2 {
  animation-delay: 0.2s;
}
.animate-delay-3 {
  animation-delay: 0.3s;
}
.animate-delay-4 {
  animation-delay: 0.4s;
}
.animate-delay-5 {
  animation-delay: 0.5s;
}
.animate-delay-6 {
  animation-delay: 0.6s;
}

/* Enhanced card hover animations */
.card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 30px rgba(0, 212, 255, 0.1);
}

/* Portfolio image enhanced transitions */
.portfolio-image {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-image:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Button loading states */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 0, 128, 0.4);
}

.btn.loading {
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  color: white;
}

/* Form loading states */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.form-loading {
  position: relative;
}

.form-loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(36, 36, 72, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 12px;
}

.form-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(255, 0, 128, 0.3);
  border-top: 3px solid var(--neon-pink);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 11;
}

/* Loading spinner component */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--neon-pink);
  animation: spin 1s linear infinite;
}

.loading-spinner.large {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

/* Page loading overlay */
.page-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loading .loading-text {
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  animation: pulse 2s ease-in-out infinite;
}

/* Testimonial card enhanced animations */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Profile picture glow animation */
.profile-picture.glow-animation 
}

.profile-picture.glow-animation:hover {
  animation: none;
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(255, 0, 128, 0.6);
}

/* Stats circles enhanced animation */
.stats-circle {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-circle:hover {
  transform: scale(1.1) rotateY(10deg);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.6);
}

/* Navigation link animations */
.nav-links a {
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::before {
  width: 80%;
}

/* Hero section enhanced animations */
.hero-content > * {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content h1 {
  animation-delay: 0.2s;
}

.hero-content .hero-subtitle {
  animation-delay: 0.4s;
}

.hero-content p {
  animation-delay: 0.6s;
}

.hero-content .btn {
  animation-delay: 0.8s;
}

/* Smooth scrolling enhancement */
html {
  scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile animation optimizations */
@media (max-width: 768px) {
  .card:hover {
    transform: translateY(-4px);
  }

  .testimonial-card:hover {
    transform: translateY(-5px);
  }

  .portfolio-image:hover {
    transform: scale(1.02);
  }
}
