/* ========================================
   PORTFOLIO STYLES
   ======================================== */

/* CSS Variables */
/* Agrega a css/styles.css */
/* Estilos para proyectos */
/* Mejora para notificaciones */
.notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  animation: slideInRight 0.3s ease;
}

.notification-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.notification i {
  font-size: 1.2rem;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-video-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .video-thumbnail {
  transform: scale(1.1);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .video-overlay {
  opacity: 1;
}

.video-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ff0000;
  border: none;
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.video-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-info p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tag {
  background: #f0f0f0;
  color: #333;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-actions {
  display: flex;
  gap: 10px;
}

.btn-demo,
.btn-code {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.btn-demo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-code {
  background: #333;
  color: white;
}

.btn-code:hover {
  background: #000;
  transform: translateY(-2px);
}

/* Estilos para modales */
.credentials-modal .modal-header,
.youtube-modal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.youtube-modal .modal-header {
  background: #ff0000;
}

.credentials-box {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin: 15px 0;
}

.credential-item {
  margin-bottom: 15px;
}

.credential-label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #555;
}

.credential-value {
  display: flex;
  gap: 5px;
}

.credential-value input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
  font-family: monospace;
}

.btn-copy,
.btn-toggle {
  width: 40px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-copy:hover,
.btn-toggle:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* Notificaciones */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  color: #333;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  animation: slideIn 0.3s ease;
}

.notification-success {
  background: #28a745;
  color: white;
}

.notification i {
  font-size: 1.2rem;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Filtros */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  border: none;
  background: white;
  border-radius: 50px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Animación de proyectos */
.project-item {
  transition: all 0.3s ease;
}
.btn-success {
  background-color: #25d366;
  border-color: #25d366;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #128c7e;
  border-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.social-links-contact {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links-contact .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  color: #333;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-links-contact .social-link:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-3px);
}

.contact-direct-links {
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #ec4899;
  --accent-color: #06b6d4;
  --dark-color: #0f172a;
  --darker-color: #020617;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --gradient: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    var(--darker-color) 0%,
    var(--dark-color) 50%,
    #1e1b4b 100%
  );
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:
    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
}

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

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(236, 72, 153, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  color: white;
  padding: 2rem 0;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-size: 1.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.typing-text {
  color: var(--accent-color);
}

.cursor {
  animation: blink 1s infinite;
  color: var(--accent-color);
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
}

.hero-buttons .btn-primary {
  background: var(--gradient);
  border: none;
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.hero-buttons .btn-outline-light:hover {
  background: white;
  color: var(--dark-color);
  transform: translateY(-3px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.25rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--gradient);
  transform: translateY(-3px);
  color: white;
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.image-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.image-ring {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  border: 2px dashed rgba(99, 102, 241, 0.5);
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: white;
  font-size: 2rem;
  opacity: 0.5;
  transition: var(--transition);
}

.scroll-indicator a:hover {
  opacity: 1;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 0 auto;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--gray-color);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.bg-light {
  background-color: #f1f5f9 !important;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-image {
  position: relative;
}

.about-image img {
  border-radius: 20px;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -13px;
  background: var(--gradient);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.875rem;
  font-weight: 500;
}

.about-content h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--gray-color);
  margin-bottom: 1rem;
}

.about-info {
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: white;
  border-radius: 10px;
  font-size: 1.1rem;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skill-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.skill-tab {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.skill-tab:hover,
.skill-tab.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.skill-category {
  display: none;
}

.skill-category.active {
  display: block;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-name i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.skill-percent {
  font-weight: 600;
  color: var(--primary-color);
}

.progress {
  height: 10px;
  background-color: #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient);
  border-radius: 5px;
  transition: width 1.5s ease;
}

/* Skill Cards */
.skill-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.skill-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.skill-icon i {
  font-size: 2rem;
  color: white;
}

.skill-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.skill-card p {
  color: var(--gray-color);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--gray-color);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 50px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: white;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 2rem;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(99, 102, 241, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: var(--transition);
  text-decoration: none;
}

.project-link:hover {
  background: var(--dark-color);
  color: white;
  transform: scale(1.1);
}

.project-info {
  padding: 1.5rem;
}

.project-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-info p {
  color: var(--gray-color);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  background: #f1f5f9;
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  background: var(--gradient);
  color: white;
}

.stat-item {
  padding: 2rem;
}

.stat-item i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-info h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 1.25rem;
}

.contact-text h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--gray-color);
  margin-bottom: 0;
}

.social-links-contact {
  display: flex;
  gap: 0.75rem;
}

.social-links-contact .social-link {
  background: var(--gradient);
  color: white;
}

.social-links-contact .social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-floating > .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  height: calc(3.5rem + 2px);
}

.form-floating > .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.1);
}

.form-floating > textarea.form-control {
  height: auto;
}

.form-floating > label {
  padding-left: 1rem;
}

.contact-form .btn-primary {
  background: var(--gradient);
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-weight: 500;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark-color);
  color: white;
}

.footer p {
  margin-bottom: 0;
  opacity: 0.8;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  color: white;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-role {
    font-size: 1.5rem;
  }

  .image-wrapper {
    width: 280px;
    height: 280px;
  }

  .section-title {
    font-size: 2rem;
  }

  .experience-badge {
    right: 0;
    padding: 1rem 1.5rem;
  }

  .experience-badge .years {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    text-align: center;
    padding-top: 100px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }

  .image-wrapper {
    width: 250px;
    height: 250px;
    margin-top: 2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-role {
    font-size: 1.25rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .hero-buttons .btn:first-child {
    margin-right: 0 !important;
  }

  .skill-tabs {
    gap: 0.5rem;
  }

  .skill-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Selection */
::selection {
  background: var(--primary-color);
  color: white;
}

/* ========================================
   PROJECT VIDEO STYLES - YOUTUBE
   ======================================== */
.project-video-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--dark-color);
  border-radius: 20px 20px 0 0;
}

.youtube-video {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.project-card:hover .video-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.video-play-btn {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.video-play-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.video-play-btn i {
  margin-left: 5px;
}

.video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(236, 72, 153, 0.9);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(4px);
}

.video-badge.youtube-badge {
  background: #ff0000;
}

/* Project Actions */
.project-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.project-actions .btn {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn-demo {
  background: var(--gradient);
  color: white;
  border: none;
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-code {
  background: #f1f5f9;
  color: var(--dark-color);
  border: 2px solid #e2e8f0;
}

.btn-code:hover {
  background: var(--dark-color);
  color: white;
  border-color: var(--dark-color);
}

/* ========================================
   CREDENTIALS MODAL
   ======================================== */
.credentials-modal {
  border: none;
  border-radius: 20px;
  overflow: hidden;
}

.credentials-modal .modal-header {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 1.5rem;
}

.credentials-modal .modal-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.credentials-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.credentials-modal .modal-body {
  padding: 2rem;
}

.project-preview {
  text-align: center;
  margin-bottom: 1.5rem;
}

.project-preview h4 {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.project-preview p {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.credentials-box {
  background: #f8fafc;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.credential-item {
  margin-bottom: 1rem;
}

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

.credential-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-color);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.credential-value {
  display: flex;
  gap: 0.5rem;
}

.credential-value input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: "Courier New", monospace;
  background: white;
  color: var(--dark-color);
}

.credential-value input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-copy,
.btn-toggle {
  width: 45px;
  height: 45px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover,
.btn-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-copy.copied {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

.btn-copy.copied i::before {
  content: "\f26b"; /* Bootstrap Icons check icon */
}

.modal-actions .btn-primary {
  background: var(--gradient);
  border: none;
  border-radius: 12px;
  padding: 0.875rem;
  font-weight: 500;
}

.modal-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Copy notification */
.copy-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}

.copy-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========================================
   YOUTUBE MODAL STYLES
   ======================================== */
.youtube-modal {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.youtube-modal .modal-header {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
}

.youtube-modal .modal-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.youtube-modal .btn-close {
  opacity: 0.8;
}

.youtube-modal .modal-body {
  background: #000;
}

.youtube-embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.youtube-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive adjustments for YouTube modal */
@media (max-width: 767px) {
  .youtube-modal {
    margin: 1rem;
  }

  .youtube-modal .modal-header {
    padding: 0.75rem 1rem;
  }

  .youtube-modal .modal-title {
    font-size: 1rem;
  }
}
