/* ==================== VARIABLES CSS ==================== */
:root {
  --primary-color: #00eaff;
  --secondary-color: #0099ff;
  --bg-dark: #0d0d0d;
  --bg-darker: #080808;
  --bg-light: #111;
  --bg-card: #1a1a1a;
  --text-primary: #f2f2f2;
  --text-secondary: #b3b3b3;
  --border-color: #2a2a2a;
  --shadow: rgba(0, 234, 255, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ==================== CANVAS BACKGROUND ==================== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ==================== SCROLL PROGRESS BAR ==================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 1000;
  transition: width 0.1s ease;
}

/* ==================== HEADER ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  padding: 15px 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.logo-bracket {
  color: var(--primary-color);
  font-weight: normal;
}

.nav-desktop {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

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

/* ==================== MENÚ HAMBURGUESA ==================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== MENÚ MÓVIL ==================== */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--bg-darker);
  display: flex;
  flex-direction: column;
  padding: 100px 30px 30px;
  gap: 30px;
  z-index: 998;
  transition: right 0.3s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile .nav-link {
  font-size: 20px;
  padding: 10px 0;
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 50px 80px;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-image {
  flex-shrink: 0;
  min-width: 300px;
}

.profile-pic {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}

.profile-pic img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 4px solid var(--bg-light);
  position: relative;
  z-index: 2;
  transition: var(--transition);
  display: block;
}

.profile-pic:hover img {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.profile-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  opacity: 0;
  transition: var(--transition);
  animation: pulse-ring 2s infinite;
}

.profile-pic:hover .profile-ring {
  opacity: 1;
}

@keyframes pulse-ring {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

.hero-content {
  flex: 1;
}

.hero-greeting {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 60px;
  margin: 10px 0;
  color: var(--text-primary);
}

.typing-text {
  display: inline-block;
}

.cursor {
  display: inline-block;
  color: var(--primary-color);
  animation: blink 1s infinite;
}

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

.hero-subtitle {
  font-size: 28px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  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 ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-dark);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 2px;
  animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
  0% { top: 8px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* ==================== SECCIONES ==================== */
.section {
  padding: 100px 50px;
  position: relative;
  z-index: 1;
}

.section-alt {
  background-color: var(--bg-darker);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 15px;
}

.title-number {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: normal;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
  max-width: 300px;
}

/* ==================== SOBRE MÍ ==================== */
.sobre-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.sobre-content strong {
  color: var(--primary-color);
}

/* ==================== SKILLS ==================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px var(--shadow);
}

.skill-icon {
  font-size: 60px;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.skill-card:hover .skill-icon {
  transform: scale(1.1) rotate(5deg);
}

.skill-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.skill-bar {
  width: 100%;
  height: 8px;
  background-color: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  width: 0;
  transition: width 1.5s ease;
  position: relative;
}

.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==================== PROYECTOS ==================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.project-item {
  background-color: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  opacity: 1;
  transform: scale(1);
}

.project-item:hover {
  transform: translateY(-15px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 70px rgba(0, 234, 255, 0.15),
              0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-dark);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 234, 255, 0.4),
              0 3px 10px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

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

.project-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  cursor: pointer;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 234, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 153, 255, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
}

/* Efecto de brillo que recorre la imagen */
.project-image-container::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(0, 234, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 10;
}

.project-item:hover .project-image-container::after {
  transform: rotate(45deg) translateX(100%);
}

.project-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle, rgba(0, 234, 255, 0.3) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* Skeleton Loading */
.project-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)) 
          drop-shadow(0 10px 20px rgba(0, 234, 255, 0.1));
  transform: perspective(1000px) translateZ(0);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeInImage 0.6s ease forwards;
}

@keyframes fadeInImage {
  to {
    opacity: 1;
  }
}

.project-image-container.loading {
  background: 
    linear-gradient(90deg, 
      rgba(26, 26, 26, 1) 0%, 
      rgba(38, 38, 38, 1) 50%, 
      rgba(26, 26, 26, 1) 100%
    );
  background-size: 200% 100%;
  animation: shimmerLoading 1.5s infinite;
}

@keyframes shimmerLoading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.project-item:hover .project-image {
  transform: perspective(1000px) translateZ(20px) scale(1.03);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)) 
          drop-shadow(0 15px 30px rgba(0, 234, 255, 0.25));
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(0, 0, 0, 0) 0%, 
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}

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

.overlay-content {
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.project-item:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 5px;
}

.overlay-content p {
  color: var(--text-primary);
  font-size: 16px;
}

.project-content {
  padding: 30px;
}

.project-header-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 15px;
}

.project-title-new {
  font-size: 24px;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}

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

.project-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
  font-size: 16px;
}

.project-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-dark);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow);
}

.project-summary {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tech-badge {
  padding: 8px 16px;
  background-color: rgba(0, 234, 255, 0.1);
  border: 1px solid rgba(0, 234, 255, 0.3);
  border-radius: 20px;
  font-size: 14px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.tech-badge:hover {
  background-color: rgba(0, 234, 255, 0.2);
  transform: translateY(-2px);
}

.tech-badge i {
  font-size: 16px;
}

.details-toggle {
  width: 100%;
  padding: 12px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 15px;
}

.details-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(0, 234, 255, 0.05);
}

.details-toggle i {
  transition: transform 0.3s ease;
}

.details-toggle.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.details-toggle.active i {
  transform: rotate(180deg);
}

.project-details-new {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.project-details-new.active {
  max-height: 800px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  padding-top: 10px;
}

.detail-section h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section h4 i {
  font-size: 16px;
}

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

.detail-section li {
  color: var(--text-secondary);
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid var(--border-color);
}

.detail-section li:last-child {
  border-bottom: none;
}

.detail-section li::before {
  content: '▹';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 20px;
  font-weight: bold;
}

.detail-section li:hover {
  color: var(--text-primary);
  padding-left: 35px;
  transition: var(--transition);
}

/* ==================== CONTACTO ==================== */
.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-text {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 50px;
  line-height: 1.8;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background-color: var(--bg-card);
  padding: 40px 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
  display: block;
}

.contact-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px var(--shadow);
}

.contact-icon {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--bg-darker);
  padding: 30px 50px;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left p,
.footer-right p {
  color: var(--text-secondary);
  font-size: 14px;
}

.heart {
  color: #ff0055;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.1); }
  20%, 40% { transform: scale(1); }
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: var(--text-secondary);
  font-size: 20px;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  box-shadow: 0 5px 15px var(--shadow);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow);
}

/* ==================== ANIMACIONES AOS ==================== */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 0.6s;
  transition-timing-function: ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-container {
    gap: 40px;
  }
  
  .hero-image {
    min-width: 250px;
  }
  
  .profile-pic {
    width: 250px;
    height: 250px;
  }
  
  .profile-pic img {
    width: 250px;
    height: 250px;
  }
  
  .hero-title {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 30px;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    padding: 100px 30px 50px;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .hero-image {
    min-width: auto;
  }
  
  .profile-pic {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  
  .profile-pic img {
    width: 200px;
    height: 200px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 22px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .section {
    padding: 80px 30px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section-title::after {
    width: 100%;
    max-width: none;
  }
  
  .hero-image {
    min-width: auto;
  }
  
  .profile-pic {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  
  .profile-pic img {
    width: 180px;
    height: 180px;
  }
}