/* Modern Futuristic AI-Inspired Theme with Glassmorphism */

/* ========================================
   ROOT VARIABLES & DARK THEME
======================================== */
:root {
  /* AI-Inspired Color Palette */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --neural-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  
  /* Glass Theme Colors */
  --bg-primary: rgba(15, 23, 42, 0.95);
  --bg-secondary: rgba(30, 41, 59, 0.8);
  --bg-tertiary: rgba(51, 65, 85, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  
  /* Text Colors */
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-accent: #00f2fe;
  
  /* Alert & Status Colors */
  --alert-success-bg: rgba(67, 233, 123, 0.15);
  --alert-success-border: rgba(67, 233, 123, 0.3);
  --alert-success-text: #4ade80;
  --alert-info-bg: rgba(0, 242, 254, 0.15);
  --alert-info-border: rgba(0, 242, 254, 0.3);
  --alert-info-text: #22d3ee;
  --alert-danger-bg: rgba(239, 68, 68, 0.15);
  --alert-danger-border: rgba(239, 68, 68, 0.3);
  --alert-danger-text: #f87171;
  
  /* AI Glow Effects */
  --glow-primary: 0 0 20px rgba(102, 126, 234, 0.5);
  --glow-accent: 0 0 20px rgba(0, 242, 254, 0.5);
  --glow-neural: 0 0 20px rgba(67, 233, 123, 0.5);
}

/* ========================================
   BASE STYLES
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(67, 233, 123, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 242, 254, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Background Particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(0, 242, 254, 0.1), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(67, 233, 123, 0.1), transparent);
  background-repeat: repeat;
  background-size: 100px 100px;
  animation: particleFloat 20s infinite linear;
  pointer-events: none;
  z-index: -1;
}

@keyframes particleFloat {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-10px) translateX(5px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* ========================================
   GLASS MORPHISM COMPONENTS
======================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text-primary) !important;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow-primary);
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  border-radius: 12px;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.navbar-nav .nav-link:hover::before {
  opacity: 0.1;
}

/* Profile Image in Navigation */
.img-profile {
  border: 3px solid transparent;
  background: var(--primary-gradient);
  background-clip: padding-box;
  box-shadow: var(--glow-primary);
  transition: all 0.3s ease;
}

.img-profile:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-accent);
}

/* ========================================
   SECTIONS & CONTENT
======================================== */
.resume-section {
  padding: 5rem 0;
  position: relative;
}

.resume-section-content {
  position: relative;
  z-index: 2;
}

/* Section Headers */
.resume-section h1,
.resume-section h2,
.resume-section h3 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin-bottom: 2rem;
}

.resume-section h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.resume-section h2 {
  font-size: 3rem;
  position: relative;
}

.resume-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* ========================================
   HERO SECTION SPECIFIC STYLES
======================================== */
.hero-section {
  min-height: 100vh;
  padding: 2rem 0;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-name-primary {
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.hero-name-secondary {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.4));
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-description .lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
}

/* Text Styling */
.text-primary {
  background: var(--accent-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.subheading {
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lead {
  color: var(--text-secondary);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS
======================================== */
.btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-border);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--text-accent);
  border: 2px solid var(--text-accent);
}

.btn-outline-primary:hover {
  background: var(--text-accent);
  color: var(--bg-primary);
  box-shadow: var(--glow-accent);
}

/* ========================================
   ALERTS & MESSAGES
======================================== */
.alert {
  border-radius: 12px;
  border: 1px solid transparent;
  backdrop-filter: blur(15px);
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

.alert-success {
  background: var(--alert-success-bg);
  border-color: var(--alert-success-border);
  color: var(--alert-success-text);
  box-shadow: 0 4px 20px rgba(67, 233, 123, 0.1);
}

.alert-success .fas {
  color: var(--alert-success-text);
  filter: drop-shadow(0 0 8px rgba(67, 233, 123, 0.4));
}

.alert-info {
  background: var(--alert-info-bg);
  border-color: var(--alert-info-border);
  color: var(--alert-info-text);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.1);
}

.alert-info .fas {
  color: var(--alert-info-text);
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

.alert-danger {
  background: var(--alert-danger-bg);
  border-color: var(--alert-danger-border);
  color: var(--alert-danger-text);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.1);
}

.alert-danger .fas {
  color: var(--alert-danger-text);
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

/* Enhanced Alert Strong Text */
.alert strong {
  color: inherit;
  filter: brightness(1.2);
}

/* ========================================
   CARDS & CONTAINERS
======================================== */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-title {
  background: var(--neural-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--neural-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-neural);
}

.project-title {
  background: var(--success-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-link {
  color: var(--text-accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: var(--text-primary);
  text-shadow: var(--glow-accent);
}

/* ========================================
   FORMS
======================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 15px 20px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-accent);
  box-shadow: var(--glow-accent);
  color: var(--text-primary);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* ========================================
   SOCIAL ICONS
======================================== */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  color: var(--text-primary);
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--glow-primary);
  border-color: var(--text-accent);
}

/* Modern Social Cards */
.social-icons-grid {
  margin: 2rem 0;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, var(--glass-bg), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 120px;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-primary), var(--gradient-secondary));
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.social-card:hover::before {
  transform: scaleX(1);
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.2);
  text-decoration: none;
}

.social-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(138, 43, 226, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.social-icon-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.social-card:hover .social-icon-wrapper::before {
  transform: translateX(100%);
}

.social-icon-wrapper .fas,
.social-icon-wrapper .fab {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px currentColor);
  transition: all 0.3s ease;
}

.social-card:hover .social-icon-wrapper .fas,
.social-card:hover .social-icon-wrapper .fab {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px currentColor);
}

.social-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}

.social-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.social-card:hover .social-glow {
  left: 100%;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .social-card {
    padding: 1.25rem 0.75rem;
    min-height: 100px;
  }
  
  .social-icon-wrapper {
    width: 50px;
    height: 50px;
    margin-bottom: 0.75rem;
  }
  
  .social-icon-wrapper .fas,
  .social-icon-wrapper .fab {
    font-size: 1.25rem;
  }
  
  .social-label {
    font-size: 0.8rem;
  }
}

/* ========================================
   SKILLS & LISTS
======================================== */
.dev-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.dev-icons .list-inline-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.dev-icons .list-inline-item:hover {
  color: var(--text-accent);
  border-color: var(--text-accent);
  box-shadow: var(--glow-accent);
  transform: translateY(-2px);
}

.fa-ul {
  list-style: none;
  padding-left: 0;
}

.fa-ul li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.fa-ul li:hover {
  color: var(--text-primary);
}

.fa-li {
  color: var(--text-accent);
  margin-right: 0.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
  .resume-section h1 {
    font-size: 3rem;
  }
  
  .resume-section h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-description .lead {
    font-size: 1rem;
  }
  
  .hero-section {
    padding: 1rem 0;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .navbar-collapse {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--glass-border);
  }
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: var(--glow-primary);
  }
  50% {
    box-shadow: var(--glow-accent);
  }
}

.resume-section {
  animation: fadeInUp 0.8s ease-out;
}

/* AI Loading Animation */
.loading-ai {
  position: relative;
}

.loading-ai::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 var(--text-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Neural Network Background Effect */
.neural-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(90deg, transparent 50%, rgba(0, 242, 254, 0.03) 50%),
    linear-gradient(0deg, transparent 50%, rgba(67, 233, 123, 0.03) 50%);
  background-size: 50px 50px;
  animation: neuralPulse 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes neuralPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-bg);
  border-radius: 4px;
  border: 1px solid var(--glass-border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--glass-border);
}

/* Footer */
footer {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  margin-top: 3rem;
}

footer p {
  color: var(--text-secondary);
  margin: 0;
}

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

footer a:hover {
  color: var(--text-primary);
  text-shadow: var(--glow-accent);
}

/* ========================================
   SERVICES SECTION ENHANCEMENTS
======================================== */
.services-section {
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(138, 43, 226, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 70%, rgba(0, 242, 254, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Service Cards */
.service-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-primary), var(--gradient-secondary));
  border-radius: 12px 12px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.2);
}

/* Service Header */
.service-header {
  position: relative;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(138, 43, 226, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover .service-icon::before {
  transform: translateX(100%);
}

.service-icon .fas {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px currentColor);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon .fas {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px currentColor);
}

.service-title {
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.service-category {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Service Content */
.service-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Service Features */
.service-features {
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.feature-item .fas {
  font-size: 0.875rem;
  filter: drop-shadow(0 0 4px currentColor);
}

/* Service Action Button - Using consistent btn-primary */
.service-action {
  margin-top: auto;
}

.service-action .btn-primary {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .service-icon {
    width: 50px;
    height: 50px;
  }

  .service-icon .fas {
    font-size: 1.25rem;
  }

  .service-title {
    font-size: 1.25rem;
  }
}

/* ========================================
   CONTACT SECTION ENHANCEMENTS
======================================== */
.contact-section {
  background: var(--bg-primary);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 242, 254, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(138, 43, 226, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Contact Form Card */
.contact-form-card {
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-primary), var(--gradient-secondary));
  border-radius: 12px 12px 0 0;
}

.contact-form-header .position-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form-header .company-name {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 400;
}

/* Enhanced Form Styling */
.form-floating {
  position: relative;
  margin-bottom: 1rem;
}

.form-floating > .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  padding: 1rem 0.75rem;
  height: auto;
  transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--ai-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 242, 254, 0.15), 
              inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.form-floating > .form-control::placeholder {
  color: transparent;
  opacity: 0;
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  z-index: 2;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  opacity: 0.85;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: var(--ai-primary);
}

.form-floating > label .fas {
  color: var(--text-accent);
  margin-right: 0.5rem;
}

/* Enhanced Button Styling */
.btn-ai-primary {
  background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
  border: none;
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.875rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-ai-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3);
  background: linear-gradient(135deg, #00E6FF, #A855F7);
}

.btn-ai-primary:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

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

.btn-ai-primary:hover:not(:disabled) .btn-glow {
  left: 100%;
}

/* Contact Info Cards */
.contact-info-card {
  position: relative;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.2);
}

.contact-info-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(138, 43, 226, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  overflow: hidden;
}

.contact-info-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.contact-info-card:hover .contact-info-icon::before {
  transform: translateX(100%);
}

.contact-info-icon .fas {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px currentColor);
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon .fas {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px currentColor);
}

.contact-info-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contact-info-detail {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-info-accent {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.contact-info-card:hover .contact-info-accent {
  width: 60px;
}

/* Alert Styling */
.alert.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(20px);
}

.alert-success.glass-card {
  background: rgba(34, 197, 94, 0.1);
  color: rgb(34, 197, 94);
  border-color: rgba(34, 197, 94, 0.2);
}

.alert-danger.glass-card {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(239, 68, 68);
  border-color: rgba(239, 68, 68, 0.2);
}

.alert-info.glass-card {
  background: rgba(59, 130, 246, 0.1);
  color: rgb(59, 130, 246);
  border-color: rgba(59, 130, 246, 0.2);
}

/* Legacy Contact Styles - Keep for compatibility */
#contact .glass-card h5 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#contact .glass-card p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  font-size: 1rem;
}

#contact .glass-card .text-secondary {
  color: rgba(255, 255, 255, 0.9) !important;
}

#contact .glass-card .fa-2x {
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
}

/* Enhanced Contact Info Cards */
#contact .glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 242, 254, 0.1);
}

#contact .glass-card:hover .fa-2x {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.6));
}

/* Contact Form Labels */
#contact .form-label {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

#contact .form-label .fas {
  color: var(--text-accent);
}

/* ========================================
   EXPERIENCE SECTION ENHANCEMENTS
======================================== */
.experience-card {
  margin-bottom: 2rem;
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  background: linear-gradient(135deg, var(--glass-bg), rgba(255, 255, 255, 0.02));
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.1);
  border-left-color: var(--text-accent);
}

.experience-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.position-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.company-info {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.company-link {
  color: var(--text-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.company-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.experience-description {
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 1rem;
}

.skills-title,
.impact-title {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  background: rgba(0, 242, 254, 0.1);
  color: var(--text-accent);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(0, 242, 254, 0.2);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(0, 242, 254, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.2);
}

.impact-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.experience-period {
  text-align: right;
}

.period-badge {
  background: rgba(0, 242, 254, 0.1);
  color: var(--text-accent);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: inline-block;
}

.period-badge.active {
  background: rgba(67, 233, 123, 0.1);
  color: #4ade80;
  border-color: rgba(67, 233, 123, 0.2);
}

.status-badge {
  background: rgba(67, 233, 123, 0.1);
  color: #4ade80;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(67, 233, 123, 0.2);
  display: inline-flex;
  align-items: center;
}

.status-badge .fas {
  font-size: 0.6rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Responsive Experience Cards */
@media (max-width: 768px) {
  .experience-card {
    padding: 1.5rem;
  }
  
  .experience-period {
    text-align: left;
    margin-top: 1rem;
  }
  
  .tech-stack {
    justify-content: flex-start;
  }
  
  .position-title {
    font-size: 1.2rem;
  }
}

/* ========================================
   EDUCATION SECTION ENHANCEMENTS
======================================== */
.institution-name {
  color: var(--text-accent);
  font-weight: 600;
}

.degree-specialization {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
  font-style: italic;
}

.thesis-highlight {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.thesis-highlight:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.2);
  transform: translateY(-2px);
}

.thesis-title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.thesis-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.achievement-list {
  margin-bottom: 0;
}

.achievement-item {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}

.achievement-item .fas {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.grade-display {
  background: rgba(67, 233, 123, 0.1);
  border: 1px solid rgba(67, 233, 123, 0.2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.grade-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.grade-label {
  color: var(--text-secondary);
  margin-right: 0.5rem;
}

.grade-value {
  color: #4ade80;
  font-weight: 600;
  font-size: 1.1rem;
}

.period-badge.completed {
  background: rgba(156, 163, 175, 0.1);
  color: #9ca3af;
  border-color: rgba(156, 163, 175, 0.2);
}

.status-badge.completed {
  background: rgba(156, 163, 175, 0.1);
  color: #9ca3af;
  border-color: rgba(156, 163, 175, 0.2);
}

.status-badge.completed .fas {
  animation: none;
}

/* ===== SKILLS SECTION STYLING ===== */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#skills .skill-category-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

#skills .position-title {
  color: var(--ai-primary);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

#skills .skill-level {
  display: flex;
  align-items: center;
}

#skills .expertise-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#skills .expertise-badge.expert {
  background: linear-gradient(135deg, rgba(46, 213, 115, 0.2), rgba(46, 213, 115, 0.1));
  border: 1px solid rgba(46, 213, 115, 0.3);
  color: rgba(46, 213, 115, 0.9);
}

#skills .expertise-badge.advanced {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(79, 172, 254, 0.1));
  border: 1px solid rgba(79, 172, 254, 0.3);
  color: rgba(79, 172, 254, 0.9);
}

#skills .skill-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

#skills .skills-content {
  padding-top: 1rem;
}

#skills .capabilities-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

#skills .capability-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: all 0.3s ease;
}

#skills .capability-item:hover {
  background: rgba(79, 172, 254, 0.05);
  transform: translateX(5px);
}

#skills .capability-item i {
  margin-right: 1rem;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

#skills .capability-item span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

#skills .capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  #skills .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tech Stack Styling for Skills */
#skills .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

#skills .tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#skills .tech-tag:hover {
  background: rgba(79, 172, 254, 0.1);
  border-color: rgba(79, 172, 254, 0.3);
  color: var(--ai-primary);
  transform: translateY(-2px);
}

#skills .tech-tag.featured {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(161, 90, 252, 0.15));
  border-color: rgba(79, 172, 254, 0.4);
  color: var(--ai-primary);
  font-weight: 600;
}

#skills .tech-tag.featured:hover {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.25), rgba(161, 90, 252, 0.25));
  border-color: rgba(79, 172, 254, 0.6);
  color: rgba(79, 172, 254, 0.95);
}

/* ===== RESEARCH SECTION STYLING ===== */
.research-section .research-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.research-section .research-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(79, 172, 254, 0.2);
  position: relative;
  overflow: hidden;
}

.research-section .research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.research-section .research-card:hover::before {
  opacity: 1;
}

.research-section .research-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 172, 254, 0.4);
  box-shadow: 0 20px 40px rgba(79, 172, 254, 0.15);
}

.research-section .research-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.research-section .research-authors {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.research-section .author-highlight {
  color: var(--ai-primary);
  font-weight: 600;
}

.research-section .publication-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.research-section .publication-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.research-section .publication-badge.featured {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(161, 90, 252, 0.15));
  border: 1px solid rgba(79, 172, 254, 0.3);
  color: var(--ai-primary);
}

.research-section .publication-badge.high-impact {
  background: linear-gradient(135deg, rgba(46, 213, 115, 0.15), rgba(0, 242, 254, 0.15));
  border: 1px solid rgba(46, 213, 115, 0.3);
  color: rgba(46, 213, 115, 0.9);
}

.research-section .status-badge.active {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 177, 66, 0.15));
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: rgba(255, 107, 107, 0.9);
  padding: 0.3rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.research-section .impact-badge {
  background: linear-gradient(135deg, rgba(255, 177, 66, 0.15), rgba(255, 107, 107, 0.15));
  border: 1px solid rgba(255, 177, 66, 0.3);
  color: rgba(255, 177, 66, 0.9);
  padding: 0.3rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.research-section .research-content {
  padding-top: 1rem;
}

.research-section .research-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.research-section .research-highlights {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
}

.research-section .highlight-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.research-section .highlight-item:last-child {
  margin-bottom: 0;
}

.research-section .highlight-item i {
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.research-section .research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.research-section .tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.research-section .tech-tag:hover {
  background: rgba(79, 172, 254, 0.1);
  border-color: rgba(79, 172, 254, 0.3);
  color: var(--ai-primary);
  transform: translateY(-2px);
}

.research-section .tech-tag.featured {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(161, 90, 252, 0.15));
  border-color: rgba(79, 172, 254, 0.4);
  color: var(--ai-primary);
  font-weight: 600;
}

.research-section .research-link {
  margin-top: 1.5rem;
}

.research-section .publication-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(161, 90, 252, 0.1));
  border: 1px solid rgba(79, 172, 254, 0.3);
  border-radius: 25px;
  color: var(--ai-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.research-section .publication-link:hover {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(161, 90, 252, 0.2));
  border-color: rgba(79, 172, 254, 0.5);
  color: rgba(79, 172, 254, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.2);
}

.research-section .publication-link i {
  transition: transform 0.3s ease;
}

.research-section .publication-link:hover i {
  transform: translateX(3px);
}

/* ===== PORTFOLIO SECTION STYLING ===== */
.portfolio-section .portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-section .portfolio-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(79, 172, 254, 0.2);
  position: relative;
  overflow: hidden;
}

.portfolio-section .portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-section .portfolio-card:hover::before {
  opacity: 1;
}

.portfolio-section .portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 172, 254, 0.4);
  box-shadow: 0 20px 40px rgba(79, 172, 254, 0.15);
}

.portfolio-section .portfolio-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.portfolio-section .project-type {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.portfolio-section .project-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-section .project-badge.mobile-app {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(161, 90, 252, 0.15));
  border: 1px solid rgba(79, 172, 254, 0.3);
  color: var(--ai-primary);
}

.portfolio-section .project-badge.open-source {
  background: linear-gradient(135deg, rgba(46, 213, 115, 0.15), rgba(0, 242, 254, 0.15));
  border: 1px solid rgba(46, 213, 115, 0.3);
  color: rgba(46, 213, 115, 0.9);
}

.portfolio-section .project-badge.web-service {
  background: linear-gradient(135deg, rgba(255, 177, 66, 0.15), rgba(255, 107, 107, 0.15));
  border: 1px solid rgba(255, 177, 66, 0.3);
  color: rgba(255, 177, 66, 0.9);
}

.portfolio-section .project-badge.saas {
  background: linear-gradient(135deg, rgba(161, 90, 252, 0.15), rgba(79, 172, 254, 0.15));
  border: 1px solid rgba(161, 90, 252, 0.3);
  color: rgba(161, 90, 252, 0.9);
}

.portfolio-section .project-badge.research {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(75, 0, 130, 0.15));
  border: 1px solid rgba(138, 43, 226, 0.3);
  color: rgba(138, 43, 226, 0.9);
}

.portfolio-section .category-badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.3rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.portfolio-section .status-badge.active {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 177, 66, 0.15));
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: rgba(255, 107, 107, 0.9);
  padding: 0.3rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.portfolio-section .portfolio-content {
  padding-top: 1rem;
}

.portfolio-section .project-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-section .project-highlights {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
}

.portfolio-section .highlight-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.portfolio-section .highlight-item:last-child {
  margin-bottom: 0;
}

.portfolio-section .highlight-item i {
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

/* Research Foundation Styling */
.portfolio-section .research-foundation {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.05));
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.portfolio-section .research-highlight {
  display: flex;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
}

.portfolio-section .research-highlight i {
  margin-right: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.portfolio-section .project-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  background: rgba(79, 172, 254, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.portfolio-section .metric-item {
  text-align: center;
  padding: 0.5rem;
}

.portfolio-section .metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ai-primary);
  margin-bottom: 0.25rem;
}

.portfolio-section .metric-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-section .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.portfolio-section .tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.portfolio-section .tech-tag:hover {
  background: rgba(79, 172, 254, 0.1);
  border-color: rgba(79, 172, 254, 0.3);
  color: var(--ai-primary);
  transform: translateY(-2px);
}

.portfolio-section .tech-tag.featured {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(161, 90, 252, 0.15));
  border-color: rgba(79, 172, 254, 0.4);
  color: var(--ai-primary);
  font-weight: 600;
}

.portfolio-section .project-link {
  margin-top: 1.5rem;
}

.portfolio-section .portfolio-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(161, 90, 252, 0.1));
  border: 1px solid rgba(79, 172, 254, 0.3);
  border-radius: 25px;
  color: var(--ai-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.portfolio-section .portfolio-link:hover {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(161, 90, 252, 0.2));
  border-color: rgba(79, 172, 254, 0.5);
  color: rgba(79, 172, 254, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.2);
}

.portfolio-section .portfolio-link i {
  transition: transform 0.3s ease;
}

.portfolio-section .portfolio-link:hover i {
  transform: translateX(3px);
}
