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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #252525;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-light: #818cf8;
  --border: #333;
  --shadow: rgba(0, 0, 0, 0.3);
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-light: #818cf8;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.95);
}

nav.scrolled {
  box-shadow: 0 4px 20px var(--shadow);
  padding: 0.7rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  position: relative;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.theme-toggle:hover {
  transform: scale(1.05);
  border-color: var(--accent);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link img {
  width: 24px;
  height: 24px;
  filter: var(--icon-filter);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

[data-theme="light"] .social-link img {
  --icon-filter: brightness(0) saturate(100%);
}

[data-theme="dark"] .social-link img {
  --icon-filter: brightness(0) saturate(100%) invert(1);
}

.social-link:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.social-link:hover::before {
  transform: translateY(0);
}

.social-link:hover img {
  filter: brightness(0) saturate(100%) invert(1);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* Section */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.about-image {
  grid-row: 1 / 3;
  grid-column: 2;
}

.about-text {
  grid-column: 1;
  grid-row: 1;
  animation: fadeInLeft 1s ease;
}

.about-info {
  grid-column: 1;
  grid-row: 2;
  animation: fadeInRight 1s ease;
}

.image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: 0 10px 40px var(--shadow);
  transition: all 0.3s ease;
}

.image-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.3);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2) 0%,
    rgba(168, 85, 247, 0.2) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

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

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

.role-company {
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.role-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.role-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.about-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateX(10px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px var(--shadow);
}

.info-card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Skills Section */
.skills-container {
  display: grid;
  gap: 3rem;
}

.skill-category {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.skill-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

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

.skill-card {
  background: var(--bg-secondary);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.skill-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skill-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* Experience Section */
.experience-timeline {
  position: relative;
  padding-left: 2rem;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.experience-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.experience-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  z-index: 1;
}

.experience-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.experience-card:hover {
  transform: translateX(10px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px var(--shadow);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.experience-company {
  color: var(--accent);
  font-weight: 600;
}

.experience-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  background: var(--bg-secondary);
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.experience-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.experience-list {
  list-style: none;
  padding: 0;
}

.experience-list li {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.experience-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.projects-actions {
  text-align: center;
  margin-top: 3rem;
}

.project-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--shadow);
  border-color: var(--accent);
}

.project-image {
  width: 100%;
  height: 240px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.project-card:nth-child(2) .project-image {
  background: var(--gradient-2);
}

.project-card:nth-child(3) .project-image {
  background: var(--gradient-3);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-placeholder {
  color: white;
  font-size: 4rem;
  opacity: 0.8;
}

.project-content {
  padding: 2rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.project-role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.project-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
  white-space: nowrap;
}

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

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

.tag {
  background: var(--bg-secondary);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

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

.project-link {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.project-link.github {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.project-link.demo {
  background: var(--accent);
  color: white;
}

.project-link:hover {
  transform: scale(1.05);
}

/* Certificates Section */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.certificate-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.certificate-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.certificate-info h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.certificate-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Contact Section */
.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.contact-item-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-text {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 1001;
}

/* Scroll Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Currently Learning Section */
.learning-container {
    max-width: 900px;
    margin: 0 auto;
}

.learning-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: start;
}

.learning-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px var(--shadow);
}

.learning-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    border: 2px solid var(--border);
}

.learning-content {
    flex: 1;
}

.learning-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.learning-institute {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.learning-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.learning-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.topic-item:hover {
    transform: translateX(5px);
    border-color: var(--accent);
}

.topic-icon {
    font-size: 1.2rem;
}

.learning-status {
    display: flex;
    gap: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.in-progress {
    background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
    color: white;
    animation: pulse 2s infinite;
}

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

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

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

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

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

/* ============================================ */
/* RESPONSIVE DESIGN - ALL MEDIA QUERIES */
/* ============================================ */

/* Tablet Landscape: 1024px */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 1.5rem;
  }

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

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

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

  .about-content {
    grid-template-columns: 1fr 250px;
    gap: 2rem;
  }

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

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

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

/* Tablet Portrait: 768px */
@media (max-width: 768px) {
  /* Navigation */
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: var(--bg-secondary);
    width: 70%;
    height: 100vh;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 30px var(--shadow);
    gap: 1.5rem;
  }

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

  .nav-links a::after {
    display: none;
  }

  /* Hero Section */
  .hero {
    padding: 5rem 1.5rem 2rem;
  }

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

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

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }

  /* Sections */
  section {
    padding: 3rem 1.5rem;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    grid-row: 1;
    grid-column: 1;
    justify-self: center;
  }

  .about-text {
    grid-row: 2;
    grid-column: 1;
  }

  .about-info {
    grid-row: 3;
    grid-column: 1;
  }

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

  .about-text p {
    font-size: 1rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

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

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

  .info-card {
    padding: 1.2rem;
  }

  .info-card:hover {
    transform: translateX(5px);
  }

  /* Skills Section */
  .skill-category {
    padding: 1.5rem;
  }

  .skill-category h3 {
    font-size: 1.3rem;
  }

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

  .skill-card {
    padding: 1rem 0.8rem;
  }

  .skill-icon {
    width: 40px;
    height: 40px;
  }

  .skill-name {
    font-size: 0.85rem;
  }

  /* Experience Section */
  .experience-timeline {
    padding-left: 1.5rem;
  }

  .experience-item {
    padding-left: 1.5rem;
  }

  .experience-item::before {
    left: -1.7rem;
    width: 10px;
    height: 10px;
  }

  .experience-card {
    padding: 1.5rem;
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .experience-title {
    font-size: 1.15rem;
  }

  .experience-date {
    align-self: flex-start;
  }

  .experience-card:hover {
    transform: translateX(5px);
  }

  /* Projects Section */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-card {
    max-width: 100%;
  }

  .project-image {
    height: 200px;
  }

  .project-content {
    padding: 1.5rem;
  }

  .project-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-title {
    font-size: 1.2rem;
  }

  .project-date {
    align-self: flex-start;
  }

  .project-links {
    flex-wrap: wrap;
  }

  /* Certificates Section */
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .certificate-card {
    padding: 1.2rem;
  }

  /* Contact Section */
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  /* Footer */
  footer {
    padding: 2rem 1.5rem;
  }
  .learning-card {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
}

.learning-icon {
    width: 70px;
    height: 70px;
    font-size: 3rem;
    align-self: center;
}

.learning-title {
    font-size: 1.3rem;
}

.learning-institute {
    font-size: 1rem;
}

.learning-topics {
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.topic-item {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
}

}

/* Mobile Large: 480px */
@media (max-width: 480px) {
  /* Navigation */
  .nav-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .theme-toggle {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
  }

  .nav-links {
    width: 80%;
    padding: 4rem 1.5rem 2rem;
  }

  /* Hero Section */
  .hero {
    padding: 4rem 1rem 2rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

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

  .hero-description {
    font-size: 0.95rem;
  }

  .social-links {
    gap: 0.6rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link img {
    width: 20px;
    height: 20px;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  /* Sections */
  section {
    padding: 2.5rem 1rem;
  }

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

  .section-title::after {
    width: 60px;
    height: 3px;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* About Section */
  .image-wrapper {
    width: 200px;
    height: 200px;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .stat-item {
    padding: 1.2rem;
  }

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

  .info-card {
    padding: 1rem;
  }

  .info-card h3 {
    font-size: 1rem;
  }

  /* Skills Section */
  .skill-category {
    padding: 1.2rem;
  }

  .skill-category h3 {
    font-size: 1.15rem;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.8rem;
  }

  .skill-card {
    padding: 1rem 0.6rem;
  }

  .skill-icon {
    width: 35px;
    height: 35px;
  }

  .skill-name {
    font-size: 0.8rem;
  }

  /* Experience Section */
  .experience-timeline {
    padding-left: 1rem;
  }

  .experience-item {
    padding-left: 1.2rem;
    margin-bottom: 2rem;
  }

  .experience-item::before {
    left: -1.5rem;
    width: 8px;
    height: 8px;
  }

  .experience-card {
    padding: 1.2rem;
  }

  .experience-title {
    font-size: 1.05rem;
  }

  .experience-company {
    font-size: 0.9rem;
  }

  .experience-date {
    font-size: 0.8rem;
    padding: 0.25rem 0.8rem;
  }

  .experience-description {
    font-size: 0.9rem;
  }

  .experience-list li {
    font-size: 0.9rem;
    padding-left: 1.2rem;
  }

  /* Projects Section */
  .project-image {
    height: 180px;
  }

  .project-placeholder {
    font-size: 3rem;
  }

  .project-content {
    padding: 1.2rem;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-role {
    font-size: 0.85rem;
  }

  .project-date {
    font-size: 0.8rem;
  }

  .project-description {
    font-size: 0.9rem;
  }

  .tag {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }

  .project-link {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Certificates Section */
  .certificate-card {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }

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

  .certificate-info h4 {
    font-size: 0.95rem;
  }

  .certificate-info p {
    font-size: 0.8rem;
  }

  /* Contact Section */
  .contact-item {
    padding: 1.2rem;
  }

  .contact-item-icon {
    font-size: 2rem;
  }

  .contact-item h4 {
    font-size: 0.95rem;
  }

  .contact-item a {
    font-size: 0.9rem;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem;
  }

  .footer-social {
    gap: 0.8rem;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  /* Loading */
  .skip-loading {
    bottom: 1.5rem;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
  }
  .learning-card {
    padding: 1.5rem;
}

.learning-icon {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
}

.learning-title {
    font-size: 1.15rem;
}

.learning-description {
    font-size: 0.95rem;
}

.status-badge {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}
}

/* Mobile Small: 360px */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.8rem;
  }

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

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

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

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

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

  .project-image {
    height: 160px;
  }

  .nav-links {
    width: 85%;
  }
}