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

body {
  font-family: 'Inter', sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Top banner */
.top-banner {
  background: #000;
  color: white;
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Navigation */
nav {
  background: #f5f5f5;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-right a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.section__pic-container {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.section__pic-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 30px;
  font-weight: 300;
  letter-spacing: 1px;
}

.btn-container {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.cta-button {
  background: white;
  color: #333;
  padding: 15px 40px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: lowercase;
}

.cta-button:hover {
  background: #333;
  color: white;
}

#socials-container {
  display: flex;
  gap: 20px;
}

#socials-container .icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#socials-container .icon:hover {
  transform: scale(1.1);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ddd" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  background-size: cover;
  background-position: center;
}

/* Remove old grid layout and replace with sections */
.about-section, .projects-section, .skills-section {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-section {
  background: #e8e8e8;
  position: relative;
}

.about-side-image {
  position: absolute;
  top: 25%;
  bottom: 25%;
  width: 300px;
  opacity: 1;
  z-index: 1;
}

.about-left {
  left: 5%;
}

.about-right {
  right: 5%;
}

.about-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.about-container {
  position: relative;
  z-index: 2;
}

.projects-section {
  background: #333;
  color: white;
}

.skills-section {
  background: #f0f0f0;
}

.about-container, .projects-container, .skills-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.about-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.section__pic_about-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.about-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  text-transform: lowercase;
}

.about-container p {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 15px;
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: white;
  text-transform: lowercase;
  margin-bottom: 20px;
}

.project-card {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.project-img {
  width: 300px;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  text-transform: lowercase;
  margin: 0;
}

.project-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin: 0;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: white;
  color: #333;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  border-radius: 4px;
  white-space: nowrap;
}

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

.project-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: lowercase;
  border-radius: 4px;
  white-space: nowrap;
}

.project-btn:hover {
  background: white;
  color: #333;
  border-color: white;
}

.skills-container {
  text-align: center;
}

.skills-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
  text-transform: lowercase;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.skills-column h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  text-transform: lowercase;
}

.skill-list {
  list-style: none;
  text-align: left;
}

.skill-list li {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
}

.skill-level {
  font-weight: 300;
  color: #666;
}

/* Section with restock vibe */
.restock-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), #666;
  color: white;
  text-align: center;
  padding: 80px 40px;
}

.restock-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: lowercase;
}

.restock-content p {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.8;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.contact-info-container {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.1);
  padding: 20px 30px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.contact-icon {
  width: 24px;
  height: 24px;
}

.contact-info-container p {
  margin: 0;
}

.contact-info-container a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.contact-info-container a:hover {
  opacity: 0.8;
}

.contact-button {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: lowercase;
  border-radius: 4px;
}

.contact-button:hover {
  background: white;
  color: #333;
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 40px 20px 20px;
  text-align: center;
}

footer nav {
  background: transparent;
  border: none;
  padding: 0;
  position: static;
  margin-bottom: 20px;
}

.nav-links-container {
  display: flex;
  justify-content: center;
}

footer .nav-links {
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
}

footer .nav-links a {
  color: white;
  opacity: 0.8;
  text-transform: lowercase;
}

footer .nav-links a:hover {
  opacity: 1;
}

footer p {
  font-size: 12px;
  opacity: 0.6;
  margin: 0;
}

/* Experience Section */
.experience-section {
  background: #f0f0f0;
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.experience-container .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  text-transform: lowercase;
  margin-bottom: 50px;
}

.experience-card {
  background: white;
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.experience-title h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  text-transform: lowercase;
  margin: 0 0 5px 0;
}

.company {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.experience-date {
  font-size: 0.85rem;
  color: #999;
  font-weight: 300;
  white-space: nowrap;
}

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

.experience-details li {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.experience-details li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
  font-weight: 700;
}

.experience-details li:last-child {
  margin-bottom: 0;
}

.company a:hover {
  color: #333 !important;
}

/* Education Section */
.education-section {
  background: #e8e8e8;
  padding: 80px 20px;
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.education-container .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  text-transform: lowercase;
  margin-bottom: 50px;
}

.education-card {
  background: white;
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.education-title h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  text-transform: lowercase;
  margin: 0 0 5px 0;
}

.degree {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
  font-style: italic;
}

.education-info {
  text-align: right;
}

.location {
  font-size: 0.85rem;
  color: #999;
  font-weight: 300;
  display: block;
  margin-bottom: 5px;
}

.education-date {
  font-size: 0.85rem;
  color: #999;
  font-weight: 300;
  white-space: nowrap;
}

.coursework {
  margin-top: 20px;
}

.coursework h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-transform: lowercase;
  margin-bottom: 12px;
}

.course-list {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* Mobile responsiveness */
@media (max-width: 968px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .skills-column:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-section, .projects-section, .skills-section, .experience-section, .education-section {
    padding: 60px 20px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section__pic-container {
    width: 200px;
    height: 200px;
  }
  
  .section__pic_about-container {
    width: 150px;
    height: 150px;
  }
  
  .nav-links {
    display: none;
  }
  
  nav {
    padding: 15px 20px;
  }
  
  .about-container h2, .section-title, .skills-container h2, .experience-container .section-title, .education-container .section-title {
    font-size: 2rem;
  }
  
  .project-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  
  .project-img {
    width: 100%;
    height: 180px;
  }
  
  .project-info h3 {
    font-size: 1.1rem;
  }
  
  .project-info p {
    font-size: 0.85rem;
  }
  
  .tech-tag {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .project-btn {
    font-size: 11px;
    padding: 8px 12px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .skills-column:last-child {
    max-width: none;
  }
  
  .btn-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .contact-info-upper-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-info-container {
    padding: 15px 20px;
  }
  
  .restock-section {
    padding: 40px 20px;
    min-height: 80vh;
  }
  
  .restock-content h2 {
    font-size: 2rem;
  }
  
  .about-container p {
    max-width: 100%;
    font-size: 0.9rem;
  }
  
  .experience-container .section-title, .education-container .section-title {
    margin-bottom: 30px;
  }
  
  .experience-card, .education-card {
    padding: 25px;
    margin-bottom: 20px;
  }
  
  .experience-header, .education-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .experience-title h3, .education-title h3 {
    font-size: 1.1rem;
  }
  
  .company, .degree {
    font-size: 0.85rem;
  }
  
  .experience-date, .education-date, .location {
    font-size: 0.8rem;
  }
  
  .experience-details li {
    font-size: 0.85rem;
    padding-left: 15px;
    margin-bottom: 10px;
  }
  
  .coursework h4 {
    font-size: 0.9rem;
  }
  
  .course-list {
    font-size: 0.85rem;
  }
  
  .education-info {
    text-align: left;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .about-section, .projects-section, .skills-section, .experience-section, .education-section {
    padding: 40px 15px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section__pic-container {
    width: 150px;
    height: 150px;
  }
  
  .section__pic_about-container {
    width: 120px;
    height: 120px;
  }
  
  .about-container h2, .section-title, .skills-container h2, .experience-container .section-title, .education-container .section-title {
    font-size: 1.7rem;
  }
  
  .project-card {
    padding: 15px;
  }
  
  .project-img {
    height: 150px;
  }
  
  .project-info h3 {
    font-size: 1rem;
  }
  
  .project-info p {
    font-size: 0.8rem;
  }
  
  .tech-tag {
    font-size: 9px;
    padding: 3px 6px;
  }
  
  .project-btn {
    font-size: 10px;
    padding: 6px 10px;
  }
  
  .skills-column h3 {
    font-size: 1.1rem;
  }
  
  .restock-content h2 {
    font-size: 1.5rem;
  }
  
  .experience-card, .education-card {
    padding: 20px;
    margin-bottom: 15px;
  }
  
  .experience-title h3, .education-title h3 {
    font-size: 1rem;
  }
  
  .company, .degree {
    font-size: 0.8rem;
  }
  
  .experience-details li {
    font-size: 0.8rem;
    line-height: 1.6;
  }
  
  .coursework h4 {
    font-size: 0.85rem;
  }
  
  .course-list {
    font-size: 0.8rem;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

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

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Fix spacing for what's new section */
#whats-new {
  min-height: auto;
  padding: 60px 20px;
}

/* Ensure consistent spacing between sections */
.skills-section {
  margin-top: 0;
  padding-top: 80px;
}
/* Achievement Gallery */
.achievement-gallery {
  margin-top: 30px;
}

.achievement-gallery h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-transform: lowercase;
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 10px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

/* Placeholder styling for missing images */
.gallery-item img[src*="placeholder"] {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .gallery-item img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* About side images responsive */
@media (max-width: 968px) {
  .about-side-image {
    top: 25%;
    bottom: 25%;
    width: 220px;
  }
  
  .about-left {
    left: 3%;
  }
  
  .about-right {
    right: 3%;
  }
}

@media (max-width: 768px) {
  .about-side-image {
    display: none;
  }
}