body {
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
nav {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  padding: 0 2rem;
  position: relative;
  z-index: 100;
}
nav ul {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 2.5rem;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
nav a {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5em 1.2em;
  border-radius: 8px;
  position: relative;
  letter-spacing: 0.3px;
}
nav a:hover {
  color: #7ecfff;
  transform: translateY(-2px);
  background: rgba(126, 207, 255, 0.1);
}
nav a.active {
  color: #7ecfff;
  background: rgba(126, 207, 255, 0.15);
  font-weight: 600;
}
nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #7ecfff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(126, 207, 255, 0.8);
}
#home {
  height: 100vh;
  min-height: 600px;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  padding: 0 2rem;
  width: 100%;
  animation: fadeInUp 1s ease-out;
}

.hero-greeting {
  font-size: 1.2rem;
  color: #7ecfff;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-name {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin: 0 0 1rem 0;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, #7ecfff 0%, #3a8dde 50%, #9d4edd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  position: relative;
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  color: #a0a0a0;
  font-family: 'Space Grotesk', sans-serif;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #888;
  margin: 0 0 2.5rem 0;
  line-height: 1.7;
  font-weight: 400;
  text-align: center;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 1s both;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  letter-spacing: 0.3px;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #7ecfff 0%, #3a8dde 100%);
  color: #0a0a0a;
  box-shadow: 0 4px 15px rgba(126, 207, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(126, 207, 255, 0.4);
  background: linear-gradient(135deg, #8dd7ff 0%, #4a9def 100%);
}

.btn-secondary {
  background: transparent;
  color: #7ecfff;
  border: 2px solid #7ecfff;
}

.btn-secondary:hover {
  background: rgba(126, 207, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(126, 207, 255, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 0.8s ease-out 1.2s both;
}

@media (max-width: 768px) {
  .hero-scroll {
    display: none;
  }
}

/* Quick Links Section */
.home-quick-links {
  padding: 4em 2em;
  background: transparent;
  margin-top: 0;
}

.quick-links-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5em;
  max-width: 1200px;
  margin: 0 auto;
}

.quick-link-card {
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
  border-radius: 20px;
  padding: 2.5em 2em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7ecfff, #3a8dde, #9d4edd);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.quick-link-card:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 207, 255, 0.3);
  box-shadow: 0 20px 60px rgba(126, 207, 255, 0.2);
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(24, 24, 24, 1) 100%);
}

.quick-link-card:hover::before {
  transform: scaleX(1);
}

.quick-link-icon {
  font-size: 3.5rem;
  margin-bottom: 1em;
  transition: transform 0.3s ease;
}

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

.quick-link-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8em;
  font-family: 'Space Grotesk', sans-serif;
}

.quick-link-card p {
  color: #b0b0b0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

.quick-link-arrow {
  color: #7ecfff;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.quick-link-card:hover .quick-link-arrow {
  transform: translateX(8px);
  color: #fff;
}

@media (max-width: 768px) {
  .home-quick-links {
    padding: 3em 1.5em;
  }
  
  .quick-links-container {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  
  .quick-link-card {
    padding: 2em 1.5em;
  }
  
  .quick-link-icon {
    font-size: 3rem;
  }
  
  .quick-link-card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .home-quick-links {
    padding: 2em 1em;
  }
  
  .quick-link-card {
    padding: 1.8em 1.2em;
  }
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.85rem;
  font-weight: 500;
}

.scroll-arrow {
  animation: bounce 2s infinite;
  font-size: 1.5rem;
  color: #7ecfff;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
section {
  margin: 4em auto;
  max-width: 1200px;
  padding: 0 2em;
  animation: fadeIn 0.7s;
  transition: all 0.3s ease;
}

section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1.5em;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #7ecfff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}


.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5em;
  margin-top: 2em;
}
.project-card {
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.9) 0%, rgba(18, 18, 18, 0.95) 100%);
  border-radius: 20px;
  padding: 2.2em 2em 2em 2em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7ecfff, #3a8dde, #9d4edd);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(126, 207, 255, 0.2);
  border: 1px solid rgba(126, 207, 255, 0.3);
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(24, 24, 24, 1) 100%);
}

.project-card:hover::before {
  transform: scaleX(1);
}
.project-media {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.4em;
  background: radial-gradient(circle at 0% 0%, #7ecfff33, transparent 55%),
              radial-gradient(circle at 100% 100%, #9d4edd33, transparent 55%),
              radial-gradient(circle at 0% 100%, #3a8dde33, transparent 55%),
              #101010;
  min-height: 0;
  padding-bottom: 52%;
}

.project-image-avatar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  font-size: 2.2rem;
}

.project-image-avatar span {
  padding: 0.4em 0.9em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: radial-gradient(circle at 0 0, rgba(10,10,10,0.1), rgba(10,10,10,0.8));
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.project-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #fff;
  letter-spacing: -0.01em;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.3;
}
.project-date {
  font-size: 0.95rem;
  color: #7ecfff;
  margin-bottom: 1em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}
.project-desc {
  color: #b0b0b0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5em;
  flex: 1 1 auto;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: left;
}
.project-card .read-more {
  color: #7ecfff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  width: fit-content;
}

.project-card .read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.project-card .read-more:hover {
  color: #fff;
  gap: 0.8rem;
}

.project-card .read-more:hover::after {
  transform: translateX(4px);
}
.project-tech {
  display: block;
  margin-top: 0.7em;
  color: #7ecfff;
  font-size: 0.98em;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin-top: 1.5em;
}
.contact-card {
  background: #181818;
  border-radius: 12px;
  padding: 1.2em 2em;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.contact-card a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  display: block;
  margin-top: 0.5em;
}
.contact-card span {
  color: #aaa;
  font-size: 0.95rem;
}
#about {
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 3.5em 3em 3em 3em;
  margin: 4em auto;
  max-width: 1100px;
  animation: fadeIn 0.7s;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
#about h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5em;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #7ecfff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  letter-spacing: -0.02em;
}
.about-summary {
  font-size: 1.15rem;
  color: #ccc;
  margin-bottom: 1.5em;
  line-height: 1.7;
}

/* About Intro Section */
.about-intro {
  margin-bottom: 3em;
  animation: fadeInUp 0.8s ease-out;
}

.intro-content {
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
  border-radius: 20px;
  padding: 3em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-text {
  font-size: 1.2rem;
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 2.5em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5em auto;
  display: block;
  width: 100%;
  text-align: center !important;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5em;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: linear-gradient(135deg, rgba(126, 207, 255, 0.1) 0%, rgba(58, 141, 222, 0.1) 100%);
  border: 1px solid rgba(126, 207, 255, 0.2);
  border-radius: 16px;
  padding: 1.5em 1em;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(126, 207, 255, 0.2) 0%, rgba(58, 141, 222, 0.2) 100%);
  border-color: rgba(126, 207, 255, 0.4);
  box-shadow: 0 8px 24px rgba(126, 207, 255, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, #7ecfff 0%, #3a8dde 50%, #9d4edd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3em;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #b0b0b0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Icons */
.section-icon {
  font-size: 1.8rem;
  margin-right: 0.5em;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 8px rgba(126, 207, 255, 0.3));
}
.about-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: space-between;
  margin-top: 0.5em;
}
.about-details > div {
  flex: 1 1 260px;
  background: #222;
  border-radius: 10px;
  padding: 1.2em 1.4em;
  color: #eee;
  font-size: 1.05rem;
  margin-bottom: 0.5em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  line-height: 1.6;
}

/* New About Me Styles */
.about-section {
  flex: 1 1 100%;
  background: linear-gradient(135deg, rgba(34, 34, 34, 0.8) 0%, rgba(28, 28, 28, 0.9) 100%);
  border-radius: 16px;
  padding: 2.5em 2em;
  margin-bottom: 2em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.about-section:hover {
  border-color: rgba(126, 207, 255, 0.2);
  box-shadow: 0 12px 32px rgba(126, 207, 255, 0.1);
}

/* Certificates and Skills Wrapper */
.certificates-skills-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5em;
  width: 100%;
  flex: 1 1 100%;
}

.certificates-section,
.skills-section {
  margin-bottom: 0;
  flex: 1;
  min-height: 0;
}

.certificates-section .certificates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  max-height: 100%;
  overflow-y: auto;
}

.skills-section .skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  max-height: 100%;
  overflow-y: auto;
}

.about-section h3 {
  color: #7ecfff;
  font-size: 1.6rem;
  margin-bottom: 1.5em;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  border-bottom: 2px solid rgba(126, 207, 255, 0.2);
  padding-bottom: 0.7em;
  letter-spacing: -0.01em;
}

.education-item {
  background: linear-gradient(135deg, rgba(42, 42, 42, 0.8) 0%, rgba(38, 38, 38, 0.9) 100%);
  border-radius: 16px;
  padding: 1.8em 1.5em;
  margin-bottom: 1.5em;
  border-left: 4px solid #7ecfff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
  position: relative;
  overflow: hidden;
}

.education-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #7ecfff 0%, #3a8dde 50%, #9d4edd 100%);
  transition: width 0.3s ease;
}

.education-item:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 32px rgba(126, 207, 255, 0.2);
  border-left-color: #9d4edd;
  background: linear-gradient(135deg, rgba(48, 48, 48, 0.9) 0%, rgba(42, 42, 42, 0.95) 100%);
}

.education-item:hover::before {
  width: 6px;
}

.education-badge {
  font-size: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(126, 207, 255, 0.3));
  transition: transform 0.3s ease;
}

.education-item:hover .education-badge {
  transform: scale(1.1) rotate(5deg);
}

.education-content {
  flex: 1;
}

.gpa-icon {
  margin-right: 0.3em;
  font-size: 1.1em;
}

.education-item .degree {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.3em;
}

.education-item .school {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 0.2em;
}

.education-item .gpa {
  color: #7ecfff;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Professional Coursework Display */
.coursework-toggle-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  margin-top: 1.2rem;
  background: transparent;
  border: 2px solid rgba(126, 207, 255, 0.3);
  border-radius: 10px;
  color: #7ecfff;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.coursework-toggle-btn:hover {
  background: rgba(126, 207, 255, 0.1);
  border-color: rgba(126, 207, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(126, 207, 255, 0.2);
}

.toggle-arrow {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.coursework-toggle-btn.active .toggle-arrow {
  transform: rotate(180deg);
}

.coursework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(20, 20, 20, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(126, 207, 255, 0.1);
  animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.course-card {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(25, 25, 25, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #7ecfff 0%, #3a8dde 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover {
  border-color: rgba(126, 207, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(126, 207, 255, 0.15);
  background: linear-gradient(135deg, rgba(35, 35, 35, 0.9) 0%, rgba(30, 30, 30, 0.95) 100%);
}

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

.course-title {
  color: #e0e0e0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
}

.course-grade-badge {
  flex-shrink: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Space Grotesk', sans-serif;
  min-width: 45px;
  text-align: center;
  transition: all 0.2s ease;
}

.course-grade-badge.grade-aplus {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.2) 100%);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  box-shadow: 0 2px 8px rgba(74, 222, 128, 0.15);
}

.course-grade-badge.grade-a {
  background: linear-gradient(135deg, rgba(126, 207, 255, 0.2) 0%, rgba(58, 141, 222, 0.2) 100%);
  color: #7ecfff;
  border: 1px solid rgba(126, 207, 255, 0.4);
  box-shadow: 0 2px 8px rgba(126, 207, 255, 0.15);
}

.course-grade-badge.grade-bplus {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
}

.course-grade-badge.grade-b {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.4);
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.15);
}

.course-card:hover .course-grade-badge {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(126, 207, 255, 0.25);
}

/* Expandable Description Styles */
.expandable-description {
  margin-top: 0.8rem;
}

/* Other Experience Section */
.other-experience-section {
  margin-top: 1.5rem;
}

.other-experience-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(126, 207, 255, 0.08) 0%, rgba(58, 141, 222, 0.08) 100%);
  border: 2px solid rgba(126, 207, 255, 0.3);
  border-radius: 12px;
  color: #7ecfff;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  margin-bottom: 0;
}

.other-experience-toggle:hover {
  background: linear-gradient(135deg, rgba(126, 207, 255, 0.15) 0%, rgba(58, 141, 222, 0.15) 100%);
  border-color: rgba(126, 207, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(126, 207, 255, 0.2);
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toggle-icon {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.other-experience-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

.other-experience-content {
  display: none;
  margin-top: 1.5rem;
  animation: fadeInDown 0.4s ease-out;
}

.other-experience-content.show {
  display: block;
}

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

.description-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #aaa;
  font-weight: 500;
  font-size: 0.9rem;
}

.description-header:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ccc;
}

.description-header .expand-icon {
  font-size: 1rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #7ecfff;
}

.description-content {
  display: none;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: none;
  border-radius: 0 0 6px 6px;
  margin-top: -1px;
}

/* Clickable Experience Items */
.experience-item.clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.experience-item.clickable:hover {
  border-color: #7ecfff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(126, 207, 255, 0.2);
}

.click-hint {
  color: #7ecfff;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.8rem;
  text-align: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.experience-item.clickable:hover .click-hint {
  opacity: 1;
}

/* Experience Modal Styles */
.experience-modal {
  max-width: 600px;
  width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-company {
  color: #7ecfff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.modal-duration {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.modal-location {
  color: #aaa;
  font-size: 0.95rem;
}

.modal-body {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

.modal-body ul {
  padding-left: 1.5rem;
  margin: 0;
}

.modal-body li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.modal-body li:last-child {
  margin-bottom: 0;
}

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

.skill-category {
  background: linear-gradient(135deg, rgba(42, 42, 42, 0.8) 0%, rgba(38, 38, 38, 0.9) 100%);
  border-radius: 12px;
  padding: 1.8em 1.5em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7ecfff, #3a8dde, #9d4edd);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.skill-category:hover {
  border-color: rgba(126, 207, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(126, 207, 255, 0.15);
  background: linear-gradient(135deg, rgba(48, 48, 48, 0.9) 0%, rgba(42, 42, 42, 0.95) 100%);
}

.skill-category:hover::before {
  transform: scaleX(1);
}

.skill-category h4 {
  color: #7ecfff;
  font-size: 1.2rem;
  margin-bottom: 1.2em;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
  padding-bottom: 0.7em;
  border-bottom: 2px solid rgba(126, 207, 255, 0.2);
  letter-spacing: -0.01em;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  justify-content: center;
}

.skill-tag {
  background: linear-gradient(135deg, rgba(126, 207, 255, 0.15) 0%, rgba(58, 141, 222, 0.15) 100%);
  color: #7ecfff;
  padding: 0.5em 1em;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: default;
  border: 1px solid rgba(126, 207, 255, 0.3);
  backdrop-filter: blur(10px);
}

.skill-tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(126, 207, 255, 0.3);
  background: linear-gradient(135deg, #7ecfff 0%, #3a8dde 100%);
  color: #0a0a0a;
  border-color: transparent;
}
@media (max-width: 700px) {
  .about-details {
    flex-direction: column;
    gap: 1em;
  }
  #about {
    padding: 1.2em 0.7em;
  }
  .about-section {
    padding: 1.2em 1em;
  }
  
  .about-intro {
    margin-bottom: 2em;
  }
  
  .intro-content {
    padding: 2em 1.5em;
  }
  
  .intro-text {
    font-size: 1.05rem;
    margin-bottom: 2em;
  }
  
  .intro-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }
  
  .stat-card {
    padding: 1.2em 0.8em;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  .section-icon {
    font-size: 1.5rem;
  }
  
  .education-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5em 1em;
  }
  
  .education-badge {
    font-size: 2rem;
  }
  
  .certificate-icon {
    font-size: 2.5rem;
  }
  
  .certificates-skills-wrapper {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  
  .certificates-section .certificates-grid,
  .skills-section .skills-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  .skill-category {
    padding: 1.2em 1em;
  }
  .skill-tags {
    gap: 0.5em;
  }
  .skill-tag {
    font-size: 0.85rem;
    padding: 0.35em 0.7em;
  }
  .education-item {
    padding: 1em 0.8em;
  }
  
  .coursework-toggle-btn {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
  
  .coursework-grid {
    grid-template-columns: 1fr;
    padding: 1.2rem;
    gap: 0.9rem;
  }
  
  .course-card {
    padding: 1rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .course-title {
    font-size: 0.9rem;
    width: 100%;
  }
  
  .course-grade-badge {
    align-self: flex-end;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
  
  .other-experience-toggle {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
  
  .other-experience-content {
    margin-top: 1.2rem;
  }
  
  .expandable-description {
    margin-top: 0.6rem;
  }
  
  .description-header {
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
  }
  
  .description-content {
    padding: 0.8rem;
  }
  .projects-container {
    grid-template-columns: 1fr;
    gap: 1.2em;
  }
  .project-card {
    padding: 1.2em 0.8em 1em 0.8em;
  }
}
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.2s;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: #181818;
  border-radius: 14px;
  padding: 2em 2.5em;
  max-width: 480px;
  width: 90vw;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  color: #fff;
  position: relative;
  animation: modalIn 0.2s;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modalIn {
  from { transform: translateY(40px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 1em;
  right: 1.2em;
  font-size: 1.7em;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #fff;
}
.modal-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.modal-date {
  color: #7ecfff;
  font-size: 1em;
  margin-bottom: 0.7em;
}
.modal-desc {
  color: #ccc;
  font-size: 1.08em;
  margin-bottom: 1em;
}
.modal-tech {
  color: #7ecfff;
  font-size: 1em;
  font-weight: 500;
}
.blogs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2em;
  margin-top: 1.5em;
}
.blog-card {
  background: #181818;
  border-radius: 16px;
  padding: 2em 1.5em 1.5em 1.5em;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.18s, box-shadow 0.18s, border 0.18s;
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.blog-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 6px 32px rgba(0,0,0,0.28);
  border: 1.5px solid #7ecfff;
}
.blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  color: #fff;
  letter-spacing: 0.01em;
}
.blog-desc {
  color: #ccc;
  font-size: 1.05rem;
  margin-bottom: 1.2em;
  flex: 1 1 auto;
}
.blog-link {
  color: #7ecfff;
  font-size: 1.05em;
  font-weight: 500;
  text-decoration: none;
  margin-top: 1em;
  display: inline-block;
  transition: color 0.18s;
  cursor: pointer;
}
.blog-link:hover {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .blogs-container {
    grid-template-columns: 1fr;
    gap: 1.2em;
  }
  .blog-card {
    padding: 1.2em 0.8em 1em 0.8em;
  }
}
html {
  scroll-behavior: smooth;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
} 

/* Enhanced Contact Page Styles */
.contact-subtitle {
  text-align: center;
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 3em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  margin-bottom: 3em;
}

.contact-info-section h3,
.contact-form-section h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5em;
  text-align: center;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.contact-card-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.contact-card {
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
  border-radius: 20px;
  padding: 2.5em 2em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 207, 255, 0.4);
  box-shadow: 0 20px 60px rgba(126, 207, 255, 0.2);
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(24, 24, 24, 1) 100%);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7ecfff, #3a8dde);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #7ecfff 0%, #3a8dde 50%, #9d4edd 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5em auto;
  font-size: 1.8rem;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(126, 207, 255, 0.3);
  position: relative;
}

.contact-card:hover .contact-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 32px rgba(126, 207, 255, 0.4);
}

.contact-card h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.contact-link {
  color: #7ecfff;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5em;
  transition: color 0.3s ease;
}

.contact-card:hover .contact-link {
  color: #fff;
}

.contact-card p {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

/* Contact Form Styles */
.contact-form {
  background: #181818;
  border-radius: 16px;
  padding: 2.5em;
  border: 1px solid rgba(255,255,255,0.06);
}

.form-group {
  margin-bottom: 1.5em;
}

.form-group label {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.5em;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1em;
  background: #222;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7ecfff;
  box-shadow: 0 0 0 3px rgba(126, 207, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, #7ecfff, #3a8dde);
  color: #fff;
  border: none;
  padding: 1em 2em;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  justify-content: center;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(126, 207, 255, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Availability Section */
.availability-section {
  background: #181818;
  border-radius: 16px;
  padding: 2em;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: 2em;
}

.availability-section h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1em;
}

.availability-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 1em;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-indicator.available {
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.availability-status span {
  color: #4ade80;
  font-weight: 600;
  font-size: 1.1rem;
}

.availability-section p {
  color: #ccc;
  margin: 0;
  font-size: 1rem;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  
  .contact-form {
    padding: 2em;
  }
  
  .contact-card {
    padding: 1.5em;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .submit-btn {
    padding: 0.8em 1.5em;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2em;
  }
  
  .contact-form {
    padding: 1.5em;
  }
  
  .contact-card {
    padding: 1.2em;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.8em;
    font-size: 0.95rem;
  }
} 

/* Responsive Design - Mobile First Approach */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .projects-container {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }
  
  .contact-container {
    grid-template-columns: 1fr 1fr;
    gap: 4em;
  }
  
  #home h1 {
    font-size: 5rem;
  }
  
  #home p {
    font-size: 1.8rem;
  }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .projects-container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  
  #home h1 {
    font-size: 4.5rem;
  }
  
  #home p {
    font-size: 1.6rem;
  }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .projects-container {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5em;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  
  #home h1 {
    font-size: 3.5rem;
  }
  
  #home p {
    font-size: 1.4rem;
  }
  
  .about-details {
    gap: 2em;
  }
  
  .about-details > div {
    flex: 1 1 300px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Large (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .projects-container {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  
  #home h1 {
    font-size: 3rem;
    margin: 0 0 0.8rem 0;
  }
  
  #home p {
    font-size: 1.3rem;
  }
  
  .about-details {
    flex-direction: column;
    gap: 1.5em;
  }
  
  .about-details > div {
    flex: 1 1 auto;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2em;
  }
  
  .contact-card {
    padding: 1.5em;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .submit-btn {
    padding: 0.8em 1.5em;
    font-size: 0.95rem;
  }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
  /* Navigation */
  nav {
    padding: 1rem 0.5rem;
  }
  
  nav ul {
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Home Page */
  #home {
    min-height: 500px;
    padding: 0 1rem;
  }
  
  .hero-content {
    padding: 0 1rem;
    text-align: center;
  }
  
  .hero-greeting {
    font-size: 1rem;
  }
  
  .hero-name {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }
  
  #home h1 {
    font-size: 2.5rem;
    margin: 0 0 0.6rem 0;
    line-height: 1.1;
  }
  
  #home p {
    font-size: 1.1rem;
  }
  
  nav ul {
    flex-direction: row;
    gap: 1rem;
    padding: 0.6rem 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav a {
    font-size: 0.9rem;
    padding: 0.4em 0.8em;
  }
  
  /* Projects */
  .projects-container {
    grid-template-columns: 1fr;
    gap: 1.2em;
    margin-top: 1em;
  }
  
  .project-card {
    padding: 1.5em 1.2em 1.2em 1.2em;
    min-height: 200px;
  }
  
  .project-title {
    font-size: 1.2rem;
  }
  
  .project-date {
    font-size: 0.9rem;
  }
  
  .project-desc {
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
  }
  
  .project-tech {
    font-size: 0.9rem;
  }
  
  /* About Section */
  #about {
    margin: 2em auto;
    padding: 2em 1.5em;
    border-radius: 12px;
  }
  
  #about h2 {
    font-size: 1.8rem;
  }
  
  .about-details {
    flex-direction: column;
    gap: 1.5em;
  }
  
  .about-details > div {
    flex: 1 1 auto;
    padding: 1em 1.2em;
  }
  
  .about-section h3 {
    font-size: 1.3rem;
  }
  
  .education-item {
    padding: 1em;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .education-badge {
    font-size: 1.8rem;
  }
  
  .education-item .degree {
    font-size: 1rem;
  }
  
  .education-item .school {
    font-size: 0.9rem;
  }
  
  .education-item .gpa {
    font-size: 0.85rem;
  }
  
  .intro-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8em;
  }
  
  .stat-card {
    padding: 1em 0.6em;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .certificate-icon {
    font-size: 2rem;
  }
  
  .certificates-skills-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  
  .certificates-section,
  .skills-section {
    margin-bottom: 1.5em;
  }
  
  .coursework-toggle-btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .coursework-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.8rem;
  }
  
  .course-card {
    padding: 0.9rem 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  
  .course-title {
    font-size: 0.85rem;
    width: 100%;
    line-height: 1.4;
  }
  
  .course-grade-badge {
    align-self: flex-end;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    min-width: 40px;
  }
  
  .other-experience-toggle {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .other-experience-content {
    margin-top: 1rem;
  }
  
  .expandable-description {
    margin-top: 0.5rem;
  }
  
  .description-header {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .description-content {
    padding: 0.7rem;
  }
  
  .experience-item.clickable {
    padding: 1.2rem;
    margin-bottom: 0.8rem;
  }
  
  .click-hint {
    font-size: 0.85rem;
    margin-top: 0.6rem;
  }
  
  .experience-modal {
    max-width: 95vw;
    max-height: 85vh;
  }
  
  .modal-header h3 {
    font-size: 1.3rem;
  }
  
  .modal-company {
    font-size: 1rem;
  }
  
  .modal-duration,
  .modal-location {
    font-size: 0.9rem;
  }
  
  .modal-body {
    font-size: 0.95rem;
  }
  
  /* Experience Section */
  .experience-item {
    padding: 1.2em;
    margin-bottom: 1.2em;
  }
  
  .job-title {
    font-size: 1.2rem;
  }
  
  .company {
    font-size: 1rem;
  }
  
  .duration {
    font-size: 0.9rem;
  }
  
  .location {
    font-size: 0.85rem;
  }
  
  .job-description p {
    font-size: 0.95rem;
  }
  
  .job-description li {
    font-size: 0.95rem;
    margin-bottom: 0.4em;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  
  .skill-category {
    padding: 1em;
  }
  
  .skill-category h4 {
    font-size: 1.1rem;
  }
  
  .skill-tags {
    gap: 0.5rem;
  }
  
  .skill-tag {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Contact Section */
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2em;
    padding: 0 1rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  
  .contact-form {
    padding: 1.5em;
  }
  
  .contact-card {
    padding: 1.2em;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .contact-card h4 {
    font-size: 1.1rem;
  }
  
  .contact-card a {
    font-size: 0.9rem;
  }
  
  .contact-card p {
    font-size: 0.85rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.8em;
    font-size: 0.95rem;
  }
  
  .submit-btn {
    padding: 0.8em 1.2em;
    font-size: 0.9rem;
  }
  
  .availability-section {
    padding: 1.5em;
  }
  
  .availability-section h3 {
    font-size: 1.2rem;
  }
  
  .availability-status span {
    font-size: 1rem;
  }
  
  .availability-section p {
    font-size: 0.95rem;
  }
  
  /* General Section Adjustments */
  section {
    margin: 2em auto;
    padding: 0 1rem;
  }
  
  section h2 {
    font-size: 1.8rem;
    margin-bottom: 1em;
  }
  
  /* Project Detail Page */
  .project-detail-container {
    padding: 1.5em;
  }
  
  .project-detail-container h2 {
    font-size: 1.8rem;
  }
  
  .project-detail-container h3 {
    font-size: 1.4rem;
  }
  
  .project-detail-container p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .project-detail-container ul {
    padding-left: 1.2em;
  }
  
  .project-detail-container li {
    font-size: 1rem;
    margin-bottom: 0.5em;
  }
  
  .project-link-btn {
    padding: 0.6em 1em;
    font-size: 0.9rem;
    margin: 0.3em;
  }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
  .hero-content {
    padding: 0 0.8rem;
  }
  
  .hero-name {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  nav ul {
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }
  
  nav a {
    font-size: 0.85rem;
    padding: 0.35em 0.7em;
  }
  
  #home h1 {
    font-size: 2.2rem;
  }
  
  #home p {
    font-size: 1rem;
  }
  
  .project-card {
    padding: 1.2em 1em 1em 1em;
  }
  
  .contact-form {
    padding: 1.2em;
  }
  
  .contact-card {
    padding: 1em;
  }
  
  .about-details > div {
    padding: 0.8em 1em;
  }
  
  .skill-category {
    padding: 0.8em;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  #home {
    min-height: 400px;
  }
  
  #home h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
  }
  
  #home p {
    font-size: 1.2rem;
  }
  
  nav {
    padding: 0.5rem 0;
  }
  
  nav ul {
    flex-direction: row;
    gap: 1rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .project-card,
  .contact-card,
  .about-details > div {
    border-width: 0.5px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .project-card:hover {
    transform: none;
  }
  
  .contact-card:hover {
    transform: none;
  }
  
  .submit-btn:hover {
    transform: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* Already dark theme, no changes needed */
}

/* Print Styles */
@media print {
  body {
    background: white !important;
    color: black !important;
  }
  
  nav,
  .bg-dots-canvas {
    display: none !important;
  }
  
  .project-card,
  .contact-card,
  .about-details > div {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
} 

/* Experience Section Styles */
.experience-item {
  background: linear-gradient(135deg, rgba(34, 34, 34, 0.9) 0%, rgba(28, 28, 28, 0.95) 100%);
  border-radius: 16px;
  padding: 2em;
  margin-bottom: 1.5em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.experience-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126, 207, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.experience-item:hover::before {
  left: 100%;
}

.experience-item:hover {
  border-color: rgba(126, 207, 255, 0.4);
  box-shadow: 0 12px 40px rgba(126, 207, 255, 0.15);
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(40, 40, 40, 0.95) 0%, rgba(34, 34, 34, 1) 100%);
}

.experience-header {
  margin-bottom: 1em;
}

.job-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #7ecfff;
  margin-bottom: 0.3em;
}

.company {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.2em;
}

.duration {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 0.2em;
}

.location {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

.job-description {
  color: #ccc;
  line-height: 1.6;
}

.job-description p {
  margin: 0;
  font-size: 1rem;
}

.job-description ul {
  margin: 0;
  padding-left: 1.2em;
}

.job-description li {
  margin-bottom: 0.5em;
  font-size: 1rem;
  line-height: 1.5;
}

.job-description li:last-child {
  margin-bottom: 0;
} 

/* Blogs Section Styles */
.blogs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 1.2em;
}
.blog-item {
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  padding: 2em 2.5em;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-item.clickable {
  cursor: pointer;
  position: relative;
}
.blog-item.clickable:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(126, 207, 255, 0.2);
  border: 1px solid rgba(126, 207, 255, 0.4);
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(24, 24, 24, 1) 100%);
}

.blog-item.clickable::after {
  content: '↗';
  position: absolute;
  top: 1em;
  right: 1em;
  color: #7ecfff;
  font-size: 1.2rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.blog-item.clickable:hover::after {
  opacity: 1;
}
.blog-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #7ecfff;
  margin-bottom: 0.5em;
}
.blog-desc {
  color: #e0e0e0;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1em;
  text-align: left;
}

@media (max-width: 700px) {
  .blogs-list {
    flex-direction: column;
    gap: 1.2em;
  }
  .blog-item {
    padding: 1.2em 1em;
    min-width: 0;
    max-width: 100%;
  }
} 

.blogs-section {
  margin-bottom: 2.5em;
  
}

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

.certificates-section .certificates-grid {
  grid-template-columns: 1fr;
  margin-top: 1.5em;
}

.certificate-item {
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
  border-radius: 16px;
  padding: 2em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.certificate-icon {
  font-size: 3.5rem;
  margin-bottom: 1em;
  filter: drop-shadow(0 0 12px rgba(126, 207, 255, 0.4));
  transition: transform 0.3s ease;
}

.certificate-item:hover .certificate-icon {
  transform: scale(1.15) rotate(5deg);
}

.certificate-item.clickable {
  cursor: pointer;
  position: relative;
}

.certificate-item.clickable:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(126, 207, 255, 0.2);
  border: 1px solid rgba(126, 207, 255, 0.4);
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(24, 24, 24, 1) 100%);
}

.certificate-item.clickable::after {
  content: '↗';
  position: absolute;
  top: 1em;
  right: 1em;
  color: #7ecfff;
  font-size: 1.2rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.certificate-item.clickable:hover::after {
  opacity: 1;
}

.certificate-header {
  margin-bottom: 1em;
}

.certificate-logo {
  display: inline-block;
  background: linear-gradient(135deg, #7ecfff 0%, #3a8dde 100%);
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0.3em 0.8em;
  border-radius: 6px;
  margin-bottom: 0.5em;
  text-align: center;
  min-width: 60px;
}

.certificate-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.3em;
  line-height: 1.4;
}

.certificate-issuer {
  font-size: 0.95rem;
  color: #7ecfff;
  font-weight: 500;
  margin-bottom: 0.2em;
}

.certificate-date {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 0.5em;
}

.certificate-exam {
  font-size: 0.8rem;
  color: #888;
  font-style: italic;
  margin-bottom: 0.8em;
}

.certificate-skills {
  margin-bottom: 1em;
}

.certificate-skills .skill-tag {
  display: inline-block;
  background: rgba(126, 207, 255, 0.1);
  color: #7ecfff;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-right: 0.5em;
  margin-bottom: 0.3em;
  border: 1px solid rgba(126, 207, 255, 0.2);
}



/* Mobile responsive styles for certificates */
@media (max-width: 700px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  
  .certificate-item {
    padding: 1.2em;
  }
  
  .certificate-title {
    font-size: 1rem;
  }
  
  .certificate-issuer {
    font-size: 0.9rem;
  }
  
  .certificate-date {
    font-size: 0.8rem;
  }
  

} 