* { margin:0; padding:0; box-sizing:border-box; font-family:Poppins,sans-serif; }

:root {
  --primary-color: #00f2ff;
  --secondary-color: #0b0b0b;
  --accent-color: #ff006e;
  --text-color: #ffffff;
  --text-muted: #aaa;
  --card-bg: #111;
  --border-radius: 15px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  background: linear-gradient(135deg, #0b0b0b 0%, #1a1a2e 100%);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.6;
}

header {
  position:fixed;
  top:0;
  width:100%;
  padding: 20px 60px;
  display:flex;
  justify-content:space-between;
  align-items: center;
  background: rgba(11, 11, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 242, 255, 0.1);
  z-index: 100;
  transition: var(--transition);
}

header:hover {
  background: rgba(11, 11, 11, 0.95);
  border-bottom: 1px solid rgba(0, 242, 255, 0.3);
}

.logo { 
  font-size: 28px; 
  font-weight: 800;
  letter-spacing: 2px;
  animation: slideInLeft 0.6s ease;
  display: flex;
  align-items: center;
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.8));
  }
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
  height: 100px;
  width: 100px;
}

.logo-link:hover {
  transform: scale(1.1);
}

.logo-link:hover .logo-image {
  filter: drop-shadow(0 0 25px rgba(0, 242, 255, 0.9));
  animation: none;
}

.logo-image {
  height: 100%;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.5));
  transition: filter var(--transition);
  animation: logoGlow 3s ease-in-out infinite;
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

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

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

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

.hero {
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  position: relative;
  padding: 100px 60px 60px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b0b0b 0%, #1a1a2e 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 242, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 0, 110, 0.06) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-image {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 300px;
  width: 100%;
  height: auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 242, 255, 0.2);
  border: 2px solid rgba(0, 242, 255, 0.3);
  transition: var(--transition);
}

.hero-image img:hover {
  box-shadow: 0 25px 75px rgba(0, 242, 255, 0.35);
  border-color: rgba(0, 242, 255, 0.6);
  transform: translateY(-5px);
}

.hero-greeting {
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  word-spacing: 0.2em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff006e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 30px 0;
  font-weight: 600;
  min-height: 60px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 50px;
  font-weight: 300;
}

.buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.btn {
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(0, 242, 255, 0.4);
  transform: translateY(-3px);
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: 0 20px 40px rgba(0, 242, 255, 0.4);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: slideUp 1s ease-in-out 1.5s both;
  z-index: 2;
}

.scroll-indicator span {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

section { 
  padding: 100px 60px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--text-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 300;
}

.skills-section {
  background: linear-gradient(135deg, rgba(11, 11, 11, 0.5) 0%, rgba(26, 26, 46, 0.5) 100%);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-item {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.05) 100%);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(0, 242, 255, 0.1);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.skill-icon-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  perspective: 1000px;
  position: relative;
}

.skill-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate3d 6s linear infinite;
  transform-style: preserve-3d;
  transition: var(--transition);
}

@keyframes rotate3d {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  25% {
    transform: rotateX(20deg) rotateY(90deg) rotateZ(10deg);
  }
  50% {
    transform: rotateX(0deg) rotateY(180deg) rotateZ(0deg);
  }
  75% {
    transform: rotateX(-20deg) rotateY(270deg) rotateZ(-10deg);
  }
  100% {
    transform: rotateX(0deg) rotateY(360deg) rotateZ(0deg);
  }
}

.skill-item:hover {
  transform: translateY(-15px) scale(1.05);
  border: 1px solid var(--primary-color);
  box-shadow: 0 20px 50px rgba(0, 242, 255, 0.3), inset 0 0 30px rgba(0, 242, 255, 0.1);
}

.skill-item:hover .skill-icon {
  animation: rotate3dFast 2s linear infinite;
  filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.6));
  color: var(--accent-color);
}

@keyframes rotate3dFast {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  25% {
    transform: rotateX(30deg) rotateY(90deg) rotateZ(15deg);
  }
  50% {
    transform: rotateX(0deg) rotateY(180deg) rotateZ(0deg);
  }
  75% {
    transform: rotateX(-30deg) rotateY(270deg) rotateZ(-15deg);
  }
  100% {
    transform: rotateX(0deg) rotateY(360deg) rotateZ(0deg);
  }
}

.skill-item span {
  display: block;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 10px;
  transition: var(--transition);
}

.skill-item:hover span {
  color: var(--primary-color);
}

.projects-section {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(11, 11, 11, 0.5) 100%);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.08) 100%);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 242, 255, 0.1) 0%, transparent 100%);
  transition: top var(--transition);
  z-index: 0;
}

.project-card:hover {
  transform: translateY(-20px);
  border: 1px solid var(--primary-color);
  box-shadow: 0 30px 60px rgba(0, 242, 255, 0.2);
}

.project-card:hover::before {
  top: 0;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.project-header i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.project-date {
  background: rgba(0, 242, 255, 0.2);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.project-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-color);
  position: relative;
  z-index: 1;
}

.project-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.tech-stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.tech-tag {
  background: rgba(0, 242, 255, 0.15);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 242, 255, 0.3);
}

.project-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.project-link:hover {
  gap: 12px;
}

.project-link i {
  font-size: 1rem;
  transition: var(--transition);
}

.project-link:hover i {
  transform: rotate(45deg);
}

/* GALLERY SECTION */
.gallery-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.3) 0%, rgba(11, 11, 11, 0.3) 100%);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--card-bg);
  border: 1px solid rgba(0, 242, 255, 0.2);
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: rgba(0, 242, 255, 0.6);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 242, 255, 0.15);
}

.gallery-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.05), rgba(255, 0, 110, 0.05));
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(0.7);
}

#gallery-item-2:hover .gallery-image img {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(0.7);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.1) 0%, rgba(255, 0, 110, 0.2) 100%);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-overlay h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-overlay p {
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.9;
}

/* CERTIFICATIONS SECTION */
.certifications-section {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(11, 11, 11, 0.5) 100%);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.05) 100%);
  padding: 40px 35px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.cert-card:hover {
  transform: translateY(-15px);
  border: 1px solid var(--primary-color);
  box-shadow: 0 20px 50px rgba(0, 242, 255, 0.2);
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.cert-card:hover .cert-icon {
  transform: scale(1.1) rotate(-5deg);
  color: var(--accent-color);
  filter: drop-shadow(0 0 15px rgba(255, 0, 110, 0.5));
}

.cert-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.cert-issuer {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cert-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.cert-date {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 0, 110, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(255, 0, 110, 0.2);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.cert-card:hover .cert-date {
  background: rgba(255, 0, 110, 0.2);
  border: 1px solid var(--accent-color);
}

.cert-id {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  font-family: 'Space Mono', monospace;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.1) 0%, rgba(0, 242, 255, 0.05) 100%);
  border: 1px solid rgba(0, 242, 255, 0.3);
  border-radius: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.cert-link:hover {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.2) 0%, rgba(0, 242, 255, 0.1) 100%);
  border: 1px solid var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 242, 255, 0.3);
  transform: translateX(5px);
}

.cert-link i {
  font-size: 1rem;
}

/* 3D CERTIFICATE SHOWCASE */
.cert3d-section {
  background: linear-gradient(135deg, rgba(11, 11, 11, 0.8) 0%, rgba(26, 26, 46, 0.8) 100%);
  padding: 80px 20px;
  margin: 60px 0;
  border-top: 1px solid rgba(0, 242, 255, 0.2);
  border-bottom: 1px solid rgba(0, 242, 255, 0.2);
}

.cert3d-section .section-header {
  margin-bottom: 40px;
}

#cert3DCanvas {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 15px;
  max-width: 1000px;
  margin: 0 auto 30px;
  display: block;
  cursor: grab;
}

#cert3DCanvas:active {
  cursor: grabbing;
}

.cert3d-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 20px;
}

/* EDUCATION SECTION */
.education-section {
  background: linear-gradient(135deg, rgba(11, 11, 11, 0.5) 0%, rgba(26, 26, 46, 0.5) 100%);
}

.education-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.education-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.05) 100%);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 30px;
}

.education-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.education-card:hover {
  transform: translateX(10px);
  border: 1px solid var(--primary-color);
  box-shadow: 0 20px 50px rgba(0, 242, 255, 0.2);
}

.education-card:hover::before {
  opacity: 1;
}

.education-logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: rgba(0, 242, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 242, 255, 0.2);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.education-card:hover .education-logo {
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid var(--primary-color);
  transform: scale(1.05);
}

.education-logo img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.education-content {
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.education-content h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.education-degree {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 6px;
  font-weight: 600;
}

.education-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.education-period {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.education-cgpa {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.education-cgpa strong {
  color: var(--primary-color);
}

.profiles-section {
  background: linear-gradient(135deg, rgba(11, 11, 11, 0.5) 0%, rgba(26, 26, 46, 0.5) 100%);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.profile-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 0, 110, 0.05) 100%);
  padding: 50px 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.profile-card:hover {
  transform: translateY(-15px);
  border: 1px solid var(--primary-color);
  box-shadow: 0 20px 50px rgba(0, 242, 255, 0.2);
}

.profile-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.profile-card:hover .profile-icon {
  transform: scale(1.2) rotateY(20deg);
  animation: bounce 0.6s ease;
}

.profile-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.profile-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.contact-section {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(11, 11, 11, 0.5) 100%);
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.08) 100%);
  padding: 60px 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-10px);
  border: 1px solid var(--primary-color);
  box-shadow: 0 30px 60px rgba(0, 242, 255, 0.2);
}

.contact-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
  transition: var(--transition);
}

.contact-card:hover i {
  transform: scale(1.2);
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
}

.contact-card a:hover {
  text-decoration: underline;
}

footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(0, 242, 255, 0.1);
  padding: 40px 60px;
  text-align: center;
}

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

.footer-content p {
  color: var(--text-muted);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary-color);
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

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

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

@keyframes floatIconHover {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

@keyframes shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1.2) rotateY(20deg);
  }
  50% {
    transform: scale(1.3) rotateY(20deg);
  }
}

@media (max-width: 1024px) {
  section {
    padding: 80px 40px;
  }
  .hero {
    padding: 80px 40px 40px;
  }
  header {
    padding: 15px 40px;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .section-header h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 25px;
  }
  header {
    padding: 15px 25px;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.active {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 11, 11, 0.95);
    padding: 20px;
    display: flex;
    gap: 15px;
  }
  .menu-toggle {
    display: flex;
  }
  .hero {
    padding: 60px 25px 40px;
    min-height: 80vh;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.3rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .buttons {
    flex-direction: column;
    gap: 15px;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 30px;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .section-header p {
    font-size: 1rem;
  }
  .skills-container {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
  }
  .skill-item {
    padding: 30px 20px;
  }
  .skill-icon {
    font-size: 2.5rem;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .certifications-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  .cert-card {
    padding: 35px 25px;
  }
  .education-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .profiles-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .profile-card {
    padding: 35px 25px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .hero::before,
  .hero::after {
    width: 400px;
    height: 400px;
  }
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.3);
  color: var(--primary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.2rem;
}

.theme-toggle:hover {
  background: rgba(0, 242, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
  transform: rotate(20deg);
}

body.light-mode {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8f0 100%);
  --text-color: #1a1a1a;
  --text-muted: #555;
  --card-bg: #ffffff;
  --secondary-color: #f5f5f5;
}

body.light-mode header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(0, 242, 255, 0.2);
}

body.light-mode .nav-link,
body.light-mode section {
  color: #1a1a1a;
}

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

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
  border: 1px solid rgba(0, 242, 255, 0.1);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.05) 100%);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 50px rgba(0, 242, 255, 0.15);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== SKILLS PROFICIENCY ===== */
.skills-proficiency {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 50px;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.05) 0%, rgba(11, 11, 11, 0.5) 100%);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
}

.proficiency-title {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 30px;
  text-align: center;
}

.proficiency-bars {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.proficiency-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proficiency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proficiency-name {
  font-weight: 600;
  color: var(--text-color);
}

.proficiency-percent {
  color: var(--primary-color);
  font-weight: 700;
}

.proficiency-bar {
  height: 8px;
  background: rgba(0, 242, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 255, 0.2);
}

.proficiency-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  width: var(--width);
  border-radius: 10px;
  animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
  from {
    width: 0% !important;
  }
  to {
    width: var(--width) !important;
  }
}

/* ===== TECH CAROUSEL ===== */
.tech-carousel {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.05) 0%, rgba(11, 11, 11, 0.5) 100%);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
}

.carousel-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--text-color);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  animation: scroll 20s linear infinite;
  will-change: transform;
}

.carousel-item {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.05) 100%);
  border-radius: 15px;
  border: 1px solid rgba(0, 242, 255, 0.1);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  padding: 15px;
}

.carousel-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(0, 242, 255, 0.2);
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.1) 100%);
}

.carousel-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.carousel-item:hover .carousel-icon {
  color: var(--accent-color);
  transform: scale(1.2);
}

.carousel-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.3);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: rgba(0, 242, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
  transform: scale(1.1);
}

/* ===== PROJECT FILTERING ===== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.2);
  color: var(--text-color);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.project-card.hidden {
  display: none;
}

/* ===== PROJECT ACTIONS ===== */
.project-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.project-btn {
  flex: 1;
  padding: 10px 15px;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.2);
  color: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.project-btn:hover {
  background: rgba(0, 242, 255, 0.2);
  box-shadow: 0 5px 20px rgba(0, 242, 255, 0.2);
  transform: translateY(-3px);
}

.project-btn.primary {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.project-btn.primary:hover {
  background: var(--accent-color);
  color: var(--text-color);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.timeline-item {
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: auto;
  width: calc(50% - 40px);
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  width: calc(50% - 40px);
  text-align: left;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.2rem;
  z-index: 2;
  top: 30px;
}

.timeline-content {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.05) 100%);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--primary-color);
  box-shadow: 0 20px 50px rgba(0, 242, 255, 0.1);
  transform: translateY(-5px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.timeline-header h3 {
  font-size: 1.3rem;
  color: var(--text-color);
}

.timeline-date {
  background: rgba(0, 242, 255, 0.1);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-degree {
  color: var(--accent-color);
  font-size: 1rem;
  font-weight: 600;
  margin: 8px 0;
}

.timeline-location,
.timeline-cgpa {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 6px 0;
}

.timeline-logo {
  margin-top: 15px;
}

.timeline-logo img {
  max-height: 60px;
  max-width: 60px;
  object-fit: contain;
}

/* ===== PROFILE STATS ===== */
.profile-stats {
  display: none;
  gap: 10px;
  flex-direction: column;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 242, 255, 0.2);
  max-height: 200px;
}

.profile-card:hover .profile-stats {
  display: flex;
  animation: slideDown 0.3s ease;
}

.profile-stats .stat {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.profile-stats .stat i {
  color: var(--primary-color);
  margin-right: 8px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTACT FORM ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-form-wrapper {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.05) 100%);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group input,
.form-group textarea {
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 8px;
  color: var(--text-color);
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(0, 242, 255, 0.05);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.form-error {
  color: #ff4757;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-error.show {
  display: block;
}

.submit-btn {
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 10px;
}

.form-status {
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
  border: 1px solid #4CAF50;
}

.form-status.error {
  display: block;
  background: rgba(255, 71, 87, 0.2);
  color: #ff4757;
  border: 1px solid #ff4757;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info .contact-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 242, 255, 0.05) 100%);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 255, 0.1);
  transition: var(--transition);
  text-align: center;
}

.contact-info .contact-card:hover {
  transform: translateX(10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(0, 242, 255, 0.1);
}

.contact-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.contact-card a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.contact-card a:hover {
  color: var(--primary-color);
}

.contact-card p {
  color: var(--text-muted);
}

/* ===== PARTICLE CANVAS ===== */
canvas#particleCanvas {
  opacity: 0.3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .timeline::before {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: 100%;
    text-align: left;
    margin-left: 60px;
  }

  .timeline-marker {
    left: 0;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    animation: scroll 30s linear infinite;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 25px;
  }
  
  header {
    padding: 15px 25px;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .stat-card {
    padding: 30px 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .skills-proficiency {
    padding: 30px;
    margin: 40px auto 0;
  }

  .carousel-item {
    width: 100px;
    height: 100px;
  }

  .carousel-icon {
    font-size: 2rem;
  }

  .project-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .project-actions {
    gap: 8px;
  }

  .project-btn {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .profile-card {
    padding: 25px 15px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-header h3 {
    font-size: 1.1rem;
  }

  .contact-form-wrapper {
    padding: 30px;
  }

  .contact-info .contact-card {
    padding: 20px;
  }

  .certification-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .cert-card {
    padding: 35px 25px;
  }

  .education-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  header {
    padding: 12px 15px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.active {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 11, 11, 0.95);
    padding: 20px;
    display: flex;
    gap: 15px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 25px 40px;
    min-height: 80vh;
  }

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

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 30px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .skills-container {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
  }

  .skill-item {
    padding: 30px 20px;
  }

  .skill-icon {
    font-size: 2.5rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .profile-card {
    padding: 35px 25px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

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

  .hero::before,
  .hero::after {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 50px 15px;
  }

  .hero {
    padding: 50px 15px 30px;
  }

  header {
    padding: 12px 15px;
  }

  .logo {
    font-size: 22px;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
    min-height: 50px;
  }

  .hero-greeting {
    font-size: 14px;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .skills-container {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
  }

  .skill-item {
    padding: 25px 15px;
  }

  .skill-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .skills-proficiency {
    padding: 20px;
    margin: 30px auto 0;
  }

  .proficiency-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .carousel-item {
    width: 90px;
    height: 90px;
    gap: 8px;
  }

  .carousel-icon {
    font-size: 1.8rem;
  }

  .carousel-item span {
    font-size: 0.75rem;
  }

  .project-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .project-card,
  .cert-card,
  .contact-card {
    padding: 25px 20px;
  }

  .project-card h3 {
    font-size: 1.4rem;
  }

  .project-actions {
    flex-direction: column;
  }

  .project-btn {
    padding: 10px;
  }

  .profile-card {
    padding: 25px 15px;
  }

  .profile-icon {
    font-size: 2.2rem;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: 100%;
    text-align: left;
    margin-left: 50px;
    margin-right: 0;
  }

  .timeline-marker {
    left: 0;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .timeline-header {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form-wrapper {
    padding: 20px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px;
  }

  .contact-info {
    gap: 15px;
  }

  .contact-info .contact-card {
    padding: 15px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }
}





