/* ========================================
   Mohamed Abdelkader Portfolio - Styles
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   Base Styles & CSS Variables
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00d9ff;
  --secondary: #7b2cbf;
  --accent: #ff006e;
  --dark: #0a0e27;
  --darker: #050816;
  --light: #f8f9fa;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #00d9ff 0%, #7b2cbf 100%);
  --gradient-3: linear-gradient(135deg, #ff006e 0%, #ffbe0b 100%);
  --animation-duration: 1s;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--darker);
  color: var(--light);
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ========================================
   Light Theme Styles
   ======================================== */

[data-theme='light'] {
  --darker: #f5f7fa;
  --dark: #e8ecf1;
  --light: #1a1a2e;
  --primary: #0066cc;
  --secondary: #5a1a8f;
}

[data-theme='light'] body {
  background: #f5f7fa;
  color: #1a1a2e;
}

[data-theme='light'] .navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

[data-theme='light'] .nav-link {
  color: #1a1a2e !important;
}

[data-theme='light'] .nav-link:hover,
[data-theme='light'] .nav-link:focus {
  color: #0066cc !important;
}

[data-theme='light'] .animated-bg::before {
  background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 70%);
}

[data-theme='light'] .animated-bg::after {
  background: radial-gradient(circle, rgba(90, 26, 143, 0.08) 0%, transparent 70%);
}

[data-theme='light'] .particle {
  background: #0066cc;
  opacity: 0.2;
}

[data-theme='light'] .hero h1 {
  background: linear-gradient(135deg, #1a1a2e 0%, #0066cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme='light'] .hero .description {
  color: #4a4a5e;
}

[data-theme='light'] .profile-img {
  border: 6px solid transparent;
  background: linear-gradient(135deg, #0066cc 0%, #5a1a8f 100%);
  box-shadow: 0 0 40px rgba(0, 102, 204, 0.3), 0 0 80px rgba(90, 26, 143, 0.2);
}

[data-theme='light'] .btn-primary {
  background: linear-gradient(135deg, #0066cc 0%, #5a1a8f 100%);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.25);
}

[data-theme='light'] .btn-cv {
  background: transparent;
  color: #0066cc;
  border-color: #0066cc;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

[data-theme='light'] .btn-cv::before {
  background: linear-gradient(135deg, #0066cc 0%, #5a1a8f 100%);
}

[data-theme='light'] .btn-cv:hover {
  color: white;
  border-color: transparent;
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

[data-theme='light'] .btn-secondary {
  color: #0066cc;
  border-color: #0066cc;
}

[data-theme='light'] .btn-secondary:hover,
[data-theme='light'] .btn-secondary:focus {
  background: #0066cc;
  color: white;
}

[data-theme='light'] .social-link {
  background: rgba(0, 102, 204, 0.08);
  border-color: rgba(0, 102, 204, 0.2);
  color: #0066cc;
}

[data-theme='light'] .social-link:hover,
[data-theme='light'] .social-link:focus {
  color: white;
  border-color: transparent;
}

[data-theme='light'] .section-title {
  background: linear-gradient(135deg, #0066cc 0%, #5a1a8f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme='light'] .section-subtitle {
  color: #6a6a7e;
}

[data-theme='light'] .about-card,
[data-theme='light'] .skill-card,
[data-theme='light'] .project-card,
[data-theme='light'] .cert-card,
[data-theme='light'] .service-card,
[data-theme='light'] .contact-form,
[data-theme='light'] .contact-info {
  background: white;
  border-color: rgba(0, 102, 204, 0.15);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

[data-theme='light'] .about-card:hover,
[data-theme='light'] .skill-card:hover,
[data-theme='light'] .project-card:hover,
[data-theme='light'] .cert-card:hover,
[data-theme='light'] .service-card:hover {
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
  border-color: #0066cc;
}

[data-theme='light'] .about-card p,
[data-theme='light'] .project-description,
[data-theme='light'] .service-description {
  color: #4a4a5e;
}

[data-theme='light'] .stat-item {
  background: rgba(0, 102, 204, 0.05);
  border-color: rgba(0, 102, 204, 0.1);
}

[data-theme='light'] .stat-number {
  background: linear-gradient(135deg, #0066cc 0%, #5a1a8f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme='light'] .stat-label {
  color: #4a4a5e;
}

[data-theme='light'] .skill-name,
[data-theme='light'] .project-title,
[data-theme='light'] .cert-title,
[data-theme='light'] .service-title,
[data-theme='light'] .contact-item-content h4 {
  color: #1a1a2e;
}

[data-theme='light'] .skill-level,
[data-theme='light'] .cert-issuer {
  color: #0066cc;
}

[data-theme='light'] .cert-date,
[data-theme='light'] .contact-item-content p {
  color: #6a6a7e;
}

[data-theme='light'] .tech-badge {
  background: rgba(0, 102, 204, 0.08);
  color: #0066cc;
  border-color: rgba(0, 102, 204, 0.2);
}

[data-theme='light'] .tech-badge:hover,
[data-theme='light'] .tech-badge:focus {
  background: #0066cc;
  color: white;
}

[data-theme='light'] .project-link.demo {
  background: linear-gradient(135deg, #0066cc 0%, #5a1a8f 100%);
}

[data-theme='light'] .project-link.code {
  background: rgba(0, 102, 204, 0.08);
  color: #0066cc;
  border-color: #0066cc;
}

[data-theme='light'] .project-link.code:hover {
  background: #0066cc;
  color: white;
}

[data-theme='light'] .service-icon,
[data-theme='light'] .cert-icon,
[data-theme='light'] .contact-item-icon {
  background: linear-gradient(135deg, #0066cc 0%, #5a1a8f 100%);
}

[data-theme='light'] .contact-item {
  background: rgba(0, 102, 204, 0.05);
  border-color: rgba(0, 102, 204, 0.1);
}

[data-theme='light'] .contact-item:hover {
  background: rgba(0, 102, 204, 0.1);
}

[data-theme='light'] .contact-item-content a {
  color: #0066cc;
}

[data-theme='light'] .contact-item-content a:hover,
[data-theme='light'] .contact-item-content a:focus {
  color: #004999;
}

[data-theme='light'] .form-control {
  background: #f8f9fb;
  border-color: rgba(0, 102, 204, 0.2);
  color: #1a1a2e;
}

[data-theme='light'] .form-control:focus {
  background: white;
  border-color: #0066cc;
  color: #1a1a2e;
  box-shadow: 0 0 20px rgba(0, 102, 204, 0.15);
}

[data-theme='light'] .form-control::placeholder {
  color: #9a9aae;
}

[data-theme='light'] .form-label {
  color: #1a1a2e;
}

[data-theme='light'] footer {
  background: white;
  border-top: 2px solid rgba(0, 102, 204, 0.15);
}

[data-theme='light'] .footer-content {
  color: #6a6a7e;
}

[data-theme='light'] .scroll-top,
[data-theme='light'] .theme-toggle {
  background: linear-gradient(135deg, #0066cc 0%, #5a1a8f 100%);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.25);
}

[data-theme='light'] .scroll-top:hover,
[data-theme='light'] .scroll-top:focus,
[data-theme='light'] .theme-toggle:hover {
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.35);
}

[data-theme='light'] .contact-info h3 {
  background: linear-gradient(135deg, #0066cc 0%, #5a1a8f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Accessibility
   ======================================== */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   Theme Toggle Button
   ======================================== */

.theme-toggle {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 1001;
  width: 55px;
  height: 55px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
  transition: all 0.4s ease;
  border: none;
}

@media (max-width: 768px) {
  .theme-toggle {
    top: 15px;
    right: 70px;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

.theme-toggle:hover {
  transform: translateY(-5px) rotate(180deg);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.6);
}

/* ========================================
   Loading Screen
   ======================================== */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--darker);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 80px;
  height: 80px;
  border: 5px solid rgba(0, 217, 255, 0.1);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========================================
   Animated Background
   ======================================== */

.animated-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: var(--darker);
}

.animated-bg::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -250px;
  left: -250px;
  animation: float1 20s ease-in-out infinite;
}

.animated-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 44, 191, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -200px;
  right: -200px;
  animation: float2 15s ease-in-out infinite;
}

@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, 100px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 150px) scale(0.9);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-100px, -100px) scale(1.1);
  }
  66% {
    transform: translate(50px, -150px) scale(0.9);
  }
}

/* ========================================
   Particle Effect
   ======================================== */

.particles {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary);
  border-radius: 50%;
  animation: particle-float 10s linear infinite;
  opacity: 0.3;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
  background: rgba(10, 14, 39, 0.98) !important;
  backdrop-filter: blur(20px);
  padding: 1.2rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 30px rgba(0, 217, 255, 0.1);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.navbar.scrolled {
  padding: 0.7rem 0;
  box-shadow: 0 4px 40px rgba(0, 217, 255, 0.2);
}

.navbar-brand {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.nav-link {
  color: var(--light) !important;
  font-weight: 600;
  margin: 0 1rem;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-2);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary) !important;
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* Fix Navbar Toggler for Mobile */
.navbar-toggler {
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  border: 2px solid rgba(0, 217, 255, 0.5) !important;
  border-radius: 0.5rem;
  background: rgba(0, 217, 255, 0.1);
  z-index: 1001;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 217, 255, 0.5);
  outline: none;
}

.navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 217, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ========================================
   Hero Section
   ======================================== */

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

.hero-content {
  position: relative;
  z-index: 2;
  will-change: opacity;
}

.hero-greeting {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  animation: slideInLeft 0.8s ease;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInLeft 1s ease 0.2s both;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 2rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-weight: 700;
  animation: slideInLeft 1s ease 0.4s both;
}

.hero .description {
  font-size: 1.15rem;
  color: rgba(248, 249, 250, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: slideInLeft 1s ease 0.6s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.profile-container {
  position: relative;
  animation: slideInRight 1s ease 0.8s both;
}

.profile-img {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid transparent;
  background: var(--gradient-2);
  padding: 6px;
  box-shadow: 0 0 60px rgba(0, 217, 255, 0.5), 0 0 120px rgba(123, 44, 191, 0.3),
    inset 0 0 20px rgba(0, 217, 255, 0.2);
  animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 60px rgba(0, 217, 255, 0.5), 0 0 120px rgba(123, 44, 191, 0.3);
  }
  50% {
    box-shadow: 0 0 80px rgba(0, 217, 255, 0.7), 0 0 150px rgba(123, 44, 191, 0.5);
  }
}

.profile-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 90deg,
    var(--primary) 90deg 180deg,
    transparent 180deg 270deg,
    var(--secondary) 270deg 360deg
  );
  animation: rotate 10s linear infinite;
  opacity: 0.3;
  filter: blur(20px);
  z-index: 0;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: slideInLeft 1s ease 0.8s both;
  align-items: center;
}

/* ========================================
   CTA Buttons - IMPROVED DESIGN
   ======================================== */

.btn-primary,
.btn-cv,
.btn-secondary {
  padding: 18px 45px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

/* Primary Button (Hire Me) - Gradient Fill */
.btn-primary {
  background: var(--gradient-2);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
  border: 3px solid transparent;
  order: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #7b2cbf 0%, #00d9ff 100%);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* CV Button - Ghost/Outline Style with Gradient Fill on Hover */
.btn-cv {
  background: transparent;
  color: var(--primary);
  border: 3px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
  order: 2;
}

.btn-cv::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-2);
  transition: left 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.btn-cv:hover::before {
  left: 0;
}

.btn-cv:hover,
.btn-cv:focus {
  color: white;
  border-color: transparent;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.btn-cv i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-cv:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Secondary Button (if needed elsewhere) */
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 3px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary);
  color: var(--darker);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* Icon positioning */
.btn-primary i,
.btn-cv i,
.btn-secondary i {
  position: relative;
  z-index: 1;
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.5rem;
  animation: slideInLeft 1s ease 1s both;
}

.social-link {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  transition: all 0.4s ease;
  border: 2px solid rgba(0, 217, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover,
.social-link:focus {
  color: white;
  transform: translateY(-8px) rotate(360deg);
  box-shadow: 0 15px 35px rgba(0, 217, 255, 0.4);
  border-color: transparent;
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.social-link i {
  position: relative;
  z-index: 1;
}

/* ========================================
   Section Styles
   ======================================== */

section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-align: center;
margin-bottom: 1rem;
background: var(--gradient-2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
position: relative;
text-transform: uppercase;
letter-spacing: 2px;
}
.section-subtitle {
text-align: center;
color: rgba(248, 249, 250, 0.6);
font-size: 1.2rem;
margin-bottom: 4rem;
font-weight: 400;
}
.section-title::after {
content: '';
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
width: 120px;
height: 5px;
background: var(--gradient-2);
border-radius: 3px;
}
/* ========================================
About Section
======================================== */
.about-card {
background: rgba(255, 255, 255, 0.03);
border-radius: 30px;
padding: 4rem;
backdrop-filter: blur(20px);
border: 2px solid rgba(0, 217, 255, 0.2);
transition: all 0.4s ease;
position: relative;
overflow: hidden;
}
.about-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
transition: all 0.4s ease;
}
.about-card:hover {
transform: translateY(-15px);
box-shadow: 0 30px 70px rgba(0, 217, 255, 0.3);
border-color: var(--primary);
}
.about-card:hover::before {
transform: rotate(180deg);
}
.stats-row {
margin-top: 3rem;
padding-top: 3rem;
border-top: 2px solid rgba(0, 217, 255, 0.2);
}
.stat-item {
text-align: center;
padding: 2rem;
background: rgba(0, 217, 255, 0.05);
border-radius: 20px;
transition: all 0.3s ease;
border: 2px solid rgba(0, 217, 255, 0.1);
}
.stat-item:hover {
transform: scale(1.1);
background: rgba(0, 217, 255, 0.1);
border-color: var(--primary);
}
.stat-number {
font-size: 3.5rem;
font-weight: 900;
background: var(--gradient-2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
display: block;
margin-bottom: 0.5rem;
}
.stat-label {
font-size: 1.1rem;
color: rgba(248, 249, 250, 0.7);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
/* ========================================
Skills Section
======================================== */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.skill-card {
background: rgba(255, 255, 255, 0.03);
border-radius: 25px;
padding: 2.5rem 1.5rem;
text-align: center;
transition: all 0.4s ease;
border: 2px solid rgba(0, 217, 255, 0.1);
position: relative;
overflow: hidden;
}
.skill-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--gradient-2);
opacity: 0;
transition: opacity 0.4s ease;
}
.skill-card:hover::before {
opacity: 0.1;
}
.skill-card:hover,
.skill-card:focus-within {
transform: translateY(-15px) scale(1.05);
box-shadow: 0 25px 60px rgba(0, 217, 255, 0.4);
border-color: var(--primary);
}
.skill-logo {
width: 80px;
height: 80px;
margin: 0 auto 1.5rem;
display: flex;
align-items: center;
justify-content: center;
position: relative;
z-index: 1;
transition: all 0.4s ease;
}
.skill-logo img {
width: 100%;
height: 100%;
object-fit: contain;
filter: drop-shadow(0 5px 15px rgba(0, 217, 255, 0.3));
}
.skill-card:hover .skill-logo {
transform: rotateY(360deg) scale(1.1);
}
.skill-name {
font-size: 1.2rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--light);
position: relative;
z-index: 1;
}
.skill-level {
font-size: 0.95rem;
color: var(--primary);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
position: relative;
z-index: 1;
}
/* ========================================
Projects Section
======================================== */
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
gap: 3rem;
margin-top: 3rem;
}
.project-card {
background: rgba(255, 255, 255, 0.03);
border-radius: 30px;
overflow: hidden;
transition: all 0.4s ease;
border: 2px solid rgba(0, 217, 255, 0.1);
position: relative;
}
.project-card:hover,
.project-card:focus-within {
transform: translateY(-20px);
box-shadow: 0 30px 80px rgba(0, 217, 255, 0.4);
border-color: var(--primary);
}
.project-image {
position: relative;
height: 300px;
overflow: hidden;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.project-mockup {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.project-card:hover .project-mockup {
transform: scale(1.1);
}
.project-overlay {
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 22, 0.9) 100%);
display: flex;
align-items: flex-end;
padding: 2rem;
}
.project-icon-badge {
width: 70px;
height: 70px;
background: white;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.5rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.project-body {
padding: 2.5rem;
}
.project-title {
font-size: 2rem;
font-weight: 800;
color: var(--light);
margin-bottom: 1rem;
background: var(--gradient-2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.project-description {
color: rgba(248, 249, 250, 0.8);
margin-bottom: 2rem;
line-height: 1.8;
font-size: 1.05rem;
}
.tech-stack {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
margin-bottom: 2rem;
}
.tech-badge {
background: rgba(0, 217, 255, 0.1);
color: var(--primary);
padding: 0.6rem 1.2rem;
border-radius: 25px;
font-size: 0.9rem;
font-weight: 600;
border: 2px solid rgba(0, 217, 255, 0.3);
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.tech-badge:hover,
.tech-badge:focus {
background: var(--primary);
color: var(--darker);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 217, 255, 0.4);
}
.project-links {
display: flex;
gap: 1rem;
}
.project-link {
flex: 1;
padding: 1rem;
border-radius: 15px;
text-align: center;
text-decoration: none;
font-weight: 700;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 0.95rem;
}
.project-link.demo {
background: var(--gradient-2);
color: white;
box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}
.project-link.code {
background: rgba(0, 217, 255, 0.1);
color: var(--primary);
border: 2px solid var(--primary);
}
.project-link:hover,
.project-link:focus {
transform: translateY(-5px);
box-shadow: 0 15px 35px rgba(0, 217, 255, 0.5);
outline: 2px solid var(--primary);
outline-offset: 4px;
}
.project-link.demo:hover {
background: linear-gradient(135deg, #7b2cbf 0%, #00d9ff 100%);
}
.project-link.code:hover {
background: var(--primary);
color: var(--darker);
}
/* ========================================
Certifications Section
======================================== */
.certifications-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.cert-card {
background: rgba(255, 255, 255, 0.03);
border-radius: 25px;
padding: 2.5rem;
border: 2px solid rgba(0, 217, 255, 0.1);
transition: all 0.4s ease;
text-align: center;
}
.cert-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.3);
border-color: var(--primary);
}
.cert-icon {
width: 80px;
height: 80px;
margin: 0 auto 1.5rem;
background: var(--gradient-2);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.5rem;
color: white;
box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}
.cert-title {
font-size: 1.3rem;
font-weight: 700;
color: var(--light);
margin-bottom: 0.8rem;
}
.cert-issuer {
font-size: 1rem;
color: var(--primary);
font-weight: 600;
margin-bottom: 0.5rem;
}
.cert-date {
font-size: 0.9rem;
color: rgba(248, 249, 250, 0.6);
}
/* ========================================
Services Section
======================================== */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2.5rem;
margin-top: 3rem;
}
.service-card {
background: rgba(255, 255, 255, 0.03);
border-radius: 30px;
padding: 3rem 2.5rem;
text-align: center;
transition: all 0.4s ease;
border: 2px solid rgba(0, 217, 255, 0.1);
position: relative;
overflow: hidden;
}
.service-card::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
opacity: 0;
transition: all 0.6s ease;
animation: rotate 4s linear infinite;
}
.service-card:hover::before {
opacity: 0.1;
}
.service-card:hover {
transform: translateY(-15px);
box-shadow: 0 25px 60px rgba(0, 217, 255, 0.4);
border-color: var(--primary);
}
.service-icon {
width: 100px;
height: 100px;
margin: 0 auto 2rem;
background: var(--gradient-2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
color: white;
box-shadow: 0 15px 40px rgba(0, 217, 255, 0.3);
position: relative;
z-index: 1;
transition: all 0.4s ease;
}
.service-card:hover .service-icon {
transform: rotateY(360deg) scale(1.1);
}
.service-title {
font-size: 1.6rem;
font-weight: 800;
margin-bottom: 1.5rem;
color: var(--light);
position: relative;
z-index: 1;
}
.service-description {
color: rgba(248, 249, 250, 0.7);
line-height: 1.8;
font-size: 1.05rem;
position: relative;
z-index: 1;
}
/* ========================================
Contact Section
======================================== */
.contact-container {
max-width: 1200px;
margin: 0 auto;
}
.contact-form {
background: rgba(255, 255, 255, 0.03);
border-radius: 30px;
padding: 4rem;
backdrop-filter: blur(20px);
border: 2px solid rgba(0, 217, 255, 0.2);
transition: all 0.4s ease;
}
.contact-form:hover {
border-color: var(--primary);
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.2);
}
.form-label {
color: var(--light);
font-weight: 600;
margin-bottom: 0.8rem;
font-size: 1.05rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.form-control {
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(0, 217, 255, 0.2);
color: var(--light);
padding: 1.2rem 1.5rem;
border-radius: 15px;
transition: all 0.3s ease;
font-size: 1.05rem;
}
.form-control:focus {
background: rgba(255, 255, 255, 0.08);
border-color: var(--primary);
color: var(--light);
box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
outline: none;
}
.form-control::placeholder {
color: rgba(248, 249, 250, 0.4);
}
.form-status {
padding: 1rem;
border-radius: 10px;
margin-top: 1rem;
text-align: center;
font-weight: 600;
display: none;
}
.form-status.success {
background: rgba(0, 255, 0, 0.1);
border: 2px solid rgba(0, 255, 0, 0.3);
color: #00ff00;
display: block;
}
.form-status.error {
background: rgba(255, 0, 0, 0.1);
border: 2px solid rgba(255, 0, 0, 0.3);
color: #ff0000;
display: block;
}
.contact-info {
background: rgba(255, 255, 255, 0.03);
border-radius: 30px;
padding: 4rem 3rem;
border: 2px solid rgba(0, 217, 255, 0.2);
height: 100%;
}
.contact-info h3 {
font-size: 2rem;
font-weight: 800;
margin-bottom: 2rem;
background: var(--gradient-2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.contact-item {
display: flex;
align-items: center;
gap: 2rem;
margin-bottom: 2rem;
padding: 2rem;
background: rgba(0, 217, 255, 0.05);
border-radius: 20px;
transition: all 0.3s ease;
border: 2px solid rgba(0, 217, 255, 0.1);
}
.contact-item:hover {
background: rgba(0, 217, 255, 0.1);
transform: translateX(15px);
border-color: var(--primary);
}
.contact-item-icon {
width: 70px;
height: 70px;
background: var(--gradient-2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
color: white;
flex-shrink: 0;
box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
transition: all 0.3s ease;
}
.contact-item:hover .contact-item-icon {
transform: rotate(360deg) scale(1.1);
}
.contact-item-content h4 {
font-size: 1.3rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--light);
}
.contact-item-content p {
color: rgba(248, 249, 250, 0.7);
margin: 0;
font-size: 1.05rem;
}
.contact-item-content a {
color: var(--primary);
text-decoration: none;
transition: all 0.3s ease;
}
.contact-item-content a:hover,
.contact-item-content a:focus {
color: var(--light);
outline: 2px solid var(--primary);
outline-offset: 2px;
}
/* ========================================
Footer
======================================== */
footer {
background: rgba(10, 14, 39, 0.95);
padding: 4rem 0 2rem;
border-top: 2px solid rgba(0, 217, 255, 0.2);
position: relative;
}
.footer-content {
text-align: center;
color: rgba(248, 249, 250, 0.6);
}
.footer-brand {
font-size: 2.5rem;
font-weight: 900;
background: var(--gradient-2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 2rem;
display: block;
}
/* ========================================
Scroll to Top Button
======================================== */
.scroll-top {
position: fixed;
bottom: 40px;
right: 40px;
width: 60px;
height: 60px;
background: var(--gradient-2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.8rem;
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: all 0.4s ease;
z-index: 1000;
box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
border: none;
}
.scroll-top.visible {
opacity: 1;
visibility: visible;
}
.scroll-top:hover,
.scroll-top:focus {
transform: translateY(-10px) rotate(360deg);
box-shadow: 0 15px 40px rgba(0, 217, 255, 0.6);
outline: 2px solid var(--primary);
outline-offset: 4px;
}
/* ========================================
Animations
======================================== */
.fade-in {
opacity: 0;
transform: translateY(50px);
transition: all 1s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
/* ========================================
Print Styles
======================================== */
@media print {
body {
background: white;
color: black;
}
.navbar,
.theme-toggle,
.scroll-top,
.particles,
.animated-bg,
.social-links,
footer {
display: none !important;
}
section {
page-break-inside: avoid;
}
.project-card,
.skill-card,
.service-card {
page-break-inside: avoid;
border: 1px solid #ddd;
}
}
/* ========================================
Responsive Styles
======================================== */
@media (max-width: 992px) {
.projects-grid {
grid-template-columns: 1fr;
}
.services-grid,
.certifications-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.hero {
padding: 100px 0 60px;
}
.hero h1 {
font-size: 2.5rem;
}
.hero .subtitle {
font-size: 1.3rem;
}
.hero .description {
font-size: 1rem;
}
.profile-img {
width: 250px;
height: 250px;
}
.profile-decoration {
width: 300px;
height: 300px;
}
.section-title {
font-size: 2.5rem;
}
.skills-grid {
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 1rem;
}
.skill-logo {
width: 60px;
height: 60px;
}
.cta-buttons {
flex-direction: column;
width: 100%;
gap: 1rem;
}
.btn-primary,
.btn-cv,
.btn-secondary {
width: 100%;
padding: 16px 35px;
font-size: 1rem;
min-height: 54px;
justify-content: center;
}
.contact-form,
.contact-info {
padding: 2rem;
}
.theme-toggle {
top: 80px;
right: 20px;
width: 50px;
height: 50px;
}
.scroll-top {
bottom: 20px;
right: 20px;
width: 50px;
height: 50px;
}
.navbar-collapse {
background: rgba(10, 14, 39, 0.98);
padding: 1rem;
border-radius: 15px;
margin-top: 1rem;
}
}
/* ========================================
Accessibility - Reduced Motion
======================================== */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* ========================================
High Contrast Mode
======================================== */
@media (prefers-contrast: high) {
.navbar,
.about-card,
.skill-card,
.project-card,
.service-card,
.contact-form,
.contact-info {
border-width: 3px;
}
}
/* ========================================
Keyboard Navigation Focus
======================================== */
.keyboard-nav *:focus {
outline: 3px solid var(--primary) !important;
outline-offset: 3px !important;
}
