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

:root {
  --primary-color: #000000;
  --bg-dark: #ffffff;
  --bg-section: #ffffff;
  --text-light: #1a1a1a;
  --text-muted: #666666;
  --border-color: #e5e5e5;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  line-height: 1.7;
  background-color: #ffffff;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  padding-top: 70px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-y;
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: #000;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Navigation Menu */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
  letter-spacing: -0.5px;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #666666;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
  letter-spacing: 0.2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #000000;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #000000;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

/* Theme Toggle Button - Hidden for white theme */
.theme-toggle {
  display: none;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

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

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6);
}

/* Header Styles */
header {
  position: relative;
  background: #ffffff;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-bottom: none;
}

.header-video {
  display: none; /* Hide video on mobile, can enable for desktop if needed */
}

header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e5e5e5;
}

header div {
  text-align: center;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.header-text {
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

header h1 {
  font-size: 1.8rem;
  margin: 10px 0;
  color: #1a1a1a;
  font-weight: 500;
  letter-spacing: -0.5px;
}

header h1:first-of-type {
  font-size: 2rem;
  color: #000000;
  font-weight: 600;
}

header p {
  color: #666666;
  font-size: 0.95rem;
  margin-top: 10px;
  font-weight: 400;
}


.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  border-color: #000000;
  background: #f9f9f9;
}

.social-icons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

section {
  background: #ffffff;
  border-radius: 0;
  padding: 60px 20px;
  margin: 0;
  border-bottom: none;
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #000000;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #000000;
  font-weight: 500;
  letter-spacing: -0.3px;
}

h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #666666;
  font-weight: 400;
}

p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #666666;
  font-weight: 400;
}

ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

ul li {
  margin-bottom: 6px;
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Projects Section */
#projects {
  padding: 40px 20px;
}


.content-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.slideshow-container.compact {
  max-width: 600px;
  margin: 0 auto;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 20px;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  user-select: none;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 188, 212, 0.8);
}

.indicator-container {
  text-align: center;
  margin-top: 15px;
}

.indicator {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #555;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background-color: var(--primary-color);
}

.card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
}

.card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.2);
  transition: transform 0.3s ease;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.card img,
.card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card {
  grid-column: span 2;
  height: 200px;
}

/* Featured Projects */
.featured-projects {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 40px;
}

.project-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border-bottom: none;
  transition: none;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.project-card:last-child {
  border-bottom: none;
}

.project-content-left {
  flex: 1;
  max-width: 35%;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.project-logo {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  border: none;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.retailhub-logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff0000;
  border-radius: 8px;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.mk-logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border-radius: 8px;
  color: #1db954;
  font-size: 2rem;
  font-weight: 800;
  font-family: Arial, sans-serif;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.project-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  opacity: 1;
  filter: contrast(1.1) brightness(1.05);
}

.project-info {
  flex: 1;
}

.project-card h3 {
  color: #000000;
  font-size: 1rem;
  margin-bottom: 12px;
  margin-top: 0;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.project-card p {
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 15px;
  margin-top: 0;
}

.mk-qr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.mk-qr-img {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.mk-qr-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #666666;
}

.project-link {
  display: inline-block;
  color: #000000;
  text-decoration: none;
  font-size: 0.85rem;
  margin-right: 20px;
  transition: opacity 0.3s ease;
  border-bottom: 1px solid transparent;
}

.project-link:hover {
  opacity: 0.6;
  border-bottom-color: #000000;
}

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

.project-preview {
  flex: 1.5;
  max-width: 60%;
  overflow: hidden;
}

.app-screenshots {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: none;
  object-fit: contain;
}

/* Sabooks App Store Overlay */
.sabooks-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.sabooks-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.sabooks-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.sabooks-preview:hover .sabooks-overlay {
  opacity: 1;
}

.sabooks-preview:hover .sabooks-image-wrapper img {
  opacity: 0.8;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(10px);
}

.store-button:hover {
  transform: scale(1.05);
  background: #ffffff;
}

.store-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-button span {
  white-space: nowrap;
}

/* Mobile adjustments for store buttons */
@media (max-width: 767px) {
  .sabooks-overlay {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  
  .store-button {
    width: 100%;
    max-width: 200px;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* Spotify Clone Carousel */
.spotify-slideshow-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.spotify-slide-link {
  display: none;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
}

.spotify-slide-link.active {
  display: block;
}

.spotify-slide {
  width: 100%;
  transition: opacity 0.3s ease;
}

.spotify-slide:hover {
  opacity: 0.9;
}

.spotify-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.spotify-prev, .spotify-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  user-select: none;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.spotify-prev {
  left: 10px;
}

.spotify-next {
  right: 10px;
}

.spotify-prev:hover, .spotify-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.spotify-indicator-container {
  text-align: center;
  margin-top: 12px;
}

.spotify-indicator {
  cursor: pointer;
  height: 8px;
  width: 8px;
  margin: 0 4px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.spotify-indicator.active,
.spotify-indicator:hover {
  background-color: #000000;
}

/* Experience Section */
.experience-section {
  padding: 40px 20px;
}

.experience-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: none;
}

.experience-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.experience-logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 8px;
  border: none;
  flex-shrink: 0;
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.experience-content h3 {
  color: #000000;
  font-size: 1rem;
  margin-bottom: 4px;
  font-weight: 500;
}

.experience-content h4 {
  color: #666666;
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 400;
}

.experience-date {
  color: #999999;
  font-size: 0.85rem;
  margin-bottom: 15px;
  font-style: normal;
}

.experience-content p {
  color: #666666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.experience-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.experience-content ul li {
  margin-bottom: 6px;
  color: #666666;
  font-size: 0.9rem;
}

.company-link {
  display: inline-block;
  color: #000000;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.85rem;
  padding: 0;
  border: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  margin-top: 10px;
  margin-right: 20px;
}

.company-link:hover {
  border-bottom-color: #000000;
}

/* About Section */
.about-section {
  padding: 30px 20px;
}

/* Tech Stack */
#tech-stack {
  padding: 30px 20px;
  overflow: hidden;
}

.tech-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.tech-container::-webkit-scrollbar {
  height: 8px;
}

.tech-container::-webkit-scrollbar-track {
  background: var(--bg-section);
  border-radius: 4px;
}

.tech-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 70px;
  border-radius: 8px;
  background-color: #f9f9f9;
  border: none;
  padding: 10px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background-color: #f5f5f5;
  border-color: #000000;
}

.tech-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 5px;
}

.tech-item p {
  font-size: 11px;
  font-weight: 400;
  margin: 0;
  text-align: center;
  color: #666666;
}

/* Video Section */
.video-section {
  padding: 30px 20px;
  text-align: center;
}

.video-section video {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  margin-top: 15px;
}

.video-section1 {
  padding: 30px 20px;
  text-align: center;
}

.video-section1 img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Education Section */
.education-section {
  padding: 30px 20px;
}

.education-section a {
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #000000;
}

.education-section a:hover {
  opacity: 0.6;
}

/* Hackathon Section */
.hackathon {
  padding: 30px 20px;
}

/* Resume Buttons */
.resume-buttons {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: flex-start;
  margin: 40px 20px;
  padding: 0;
}

.resume-button {
  display: inline-block;
  background: transparent;
  color: #000000;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  transition: border-color 0.3s ease;
  text-align: left;
  width: auto;
  margin-right: 30px;
}

.resume-button:hover {
  border-bottom-color: #000000;
}

/* Footer */
footer {
  background: #ffffff;
  color: #999999;
  text-align: left;
  padding: 60px 20px;
  margin-top: 0;
  border-top: 1px solid #e5e5e5;
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

/* Mobile Navigation - App-like Experience */
@media (max-width: 767px) {
  body {
    padding-top: 60px;
    font-size: 16px;
  }

  /* Navigation */
  .nav-container {
    height: 60px;
    padding: 0 20px;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 10px;
    justify-content: center;
    align-items: center;
  }

  .nav-toggle span {
    width: 22px;
    height: 2.5px;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 40px 20px;
    gap: 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid #e5e5e5;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 18px 0;
    display: block;
    width: 100%;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
  }

  /* Header - Mobile Optimized */
  header {
    padding: 30px 20px;
  }

  header img {
    width: 100px;
    height: 100px;
  }

  .header-content {
    gap: 15px;
  }

  header h1 {
    font-size: 1.5rem;
    margin: 8px 0;
  }

  header h1:first-of-type {
    font-size: 1.7rem;
  }

  header p {
    font-size: 0.9rem;
    margin-top: 8px;
  }

  .social-icons {
    gap: 12px;
  }

  .social-icons a {
    width: 44px;
    height: 44px;
    -webkit-tap-highlight-color: transparent;
  }

  .social-icons img {
    width: 22px;
    height: 22px;
  }

  /* Sections - Better Mobile Spacing */
  section {
    padding: 40px 20px;
  }

  main {
    padding: 0;
  }

  h2 {
    font-size: 0.7rem;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
  }

  h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  h4 {
    font-size: 0.9rem;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
  }

  ul li {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
  }

  /* Projects - Mobile First */
  #projects {
    padding: 30px 20px;
  }

  .featured-projects {
    gap: 50px;
    margin-top: 30px;
  }

  .project-card {
    flex-direction: column;
    gap: 25px;
    padding: 0;
  }
  
  .project-content-left {
    flex-direction: row;
    gap: 15px;
    max-width: 100%;
    width: 100%;
  }
  
  .project-preview {
    max-width: 100%;
    width: 100%;
    order: -1;
  }
  
  .project-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    padding: 8px;
  }
  
  .retailhub-logo {
    font-size: 1.8rem;
  }

  .project-info {
    flex: 1;
  }

  .project-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .project-card p {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .mk-qr {
    flex-direction: column;
    align-items: flex-start;
  }

  .mk-qr-img {
    width: 200px;
    height: 200px;
    padding: 4px;
  }

  .project-link {
    font-size: 0.85rem;
    padding: 10px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }

  /* Spotify Carousel - Mobile */
  .spotify-slideshow-container {
    border-radius: 12px;
  }

  .spotify-prev, .spotify-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
    padding: 8px;
  }

  .spotify-indicator {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }

  /* Sabooks Overlay - Mobile */
  .sabooks-overlay {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  
  .store-button {
    width: 100%;
    max-width: 220px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
  }

  /* Experience - Mobile */
  .experience-section {
    padding: 30px 20px;
  }

  .experience-item {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .experience-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .experience-content h3 {
    font-size: 1rem;
  }

  .experience-content h4 {
    font-size: 0.9rem;
  }

  .experience-date {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .experience-content p {
    font-size: 0.9rem;
  }

  .experience-content ul li {
    font-size: 0.85rem;
    padding-left: 5px;
  }

  .company-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 0;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
  }

  /* Tech Stack - Mobile */
  #tech-stack {
    padding: 30px 20px;
  }

  .tech-container {
    gap: 15px;
    padding: 15px 0;
  }

  .tech-item {
    min-width: 80px;
    padding: 15px;
  }

  .tech-item img {
    width: 40px;
    height: 40px;
  }

  .tech-item p {
    font-size: 0.75rem;
    margin-top: 8px;
  }

  /* Buttons - Touch Friendly */
  .resume-button {
    padding: 14px 0;
    font-size: 0.9rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    -webkit-tap-highlight-color: transparent;
  }

  /* Smooth scrolling sections */
  section {
    scroll-margin-top: 60px;
  }

  /* Better touch targets */
  a, button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* App-like touch feedback */
  a:active, button:active {
    opacity: 0.7;
    transform: scale(0.98);
    transition: all 0.1s ease;
  }

  /* Better section spacing */
  .about-section, .experience-section {
    padding: 35px 20px;
  }

  /* Education and Hackathon sections */
  .education-section, .hackathon-section {
    padding: 35px 20px;
  }

  /* Footer mobile */
  footer {
    padding: 40px 20px;
    font-size: 0.8rem;
  }

  /* Smooth transitions */
  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }

  /* Momentum scrolling for iOS */
  .nav-menu, .tech-container {
    -webkit-overflow-scrolling: touch;
  }
}

/* Tablet Styles */
@media (min-width: 768px) {
  .quick-wins-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-links {
    flex-direction: row;
  }
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
  }

  header img {
    width: 140px;
    height: 140px;
  }

  .header-content {
    flex: 1;
    margin-left: 30px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }

  .header-text {
    text-align: left;
    flex: 1;
  }

  .social-icons {
    flex-shrink: 0;
    margin: 0;
  }

  header h1 {
    font-size: 2.2rem;
  }

  header h1:first-of-type {
    font-size: 2.5rem;
  }

  .content-container {
    flex-direction: row;
    gap: 20px;
  }

  .slideshow-container {
    flex: 2;
  }

  .card-container {
    flex: 1;
    max-width: 300px;
  }

  .featured-projects {
    gap: 100px;
  }
  
  .project-card {
    gap: 60px;
  }
  
  .project-content-left {
    max-width: 30%;
  }
  
  .project-preview {
    max-width: 65%;
  }

  .experience-item {
    flex-direction: row;
  }

  .resume-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .resume-button {
    width: auto;
  }

  h2 {
    font-size: 2.5rem;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .header-video {
    display: none;
  }

  header {
    background: #ffffff;
  }

  .featured-projects {
    gap: 120px;
  }
  
  .project-card {
    gap: 80px;
  }
  
  .project-content-left {
    max-width: 25%;
  }
  
  .project-preview {
    max-width: 70%;
  }
  
  .slideshow-container.compact {
    max-width: 500px;
  }

  .tech-container {
    overflow-x: visible;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  main {
    max-width: 1400px;
  }

  section {
    padding: 40px;
  }
}
