/* Main Styles */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #121212 0%, #080808 100%);
  color: #eaeaea;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Main Container jo screen ko do hisson mein baante ga */
.portfolio-container {
  display: grid;
  grid-template-columns: 35% 65%;
  /* Left side 35%, Right side 65% */
  padding: 80px 50px;
  background-color: #0f0f0f;
  /* Professional Dark Background */
  min-height: 100vh;
  gap: 120px;
}

/* Left Side (Fix Alignment) */
.left-side {
  position: sticky;
  top: 80px;
  height: fit-content;
}

.left-side h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Right Side Content */
.right-side {
  max-width: 700px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 60px;
  margin-top: 15px;
}

/* Projects Section (Original Minimalist Vibe) */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 100vh;
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Left Section: Profile Image */
.left {
  display: flex;
  align-items: flex-end;
  height: 100%;
  width: 45%;
}

.left img {
  max-height: 95vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  align-self: flex-end;
  display: block;
  margin-left: 20px;
}

/* Right Section: Content */
.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh; /* Ensure full viewport height for centering */
  align-self: center; /* Center the content block vertically */
  width: 55%;
  padding-left: 80px;
  box-sizing: border-box;
}

/* SEO Branding (Subtle) */
.branding h1 {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(234, 234, 234, 0.4);
  margin: 0 0 10px 0;
}

/* Main Visual Heading */
.main-content h2 {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #eaeaea;
}

/* Subtext */
.main-content p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(234, 234, 234, 0.7);
  max-width: 500px;
  margin: 20px 0 40px 0;
}

/* Explore Button */
.explore>a {
  text-decoration: none;
}

.explore button {
  background: #fff;
  color: #000;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.explore button:hover {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
  transform: translateY(-5px);
}

/* Responsive (Mobile) */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    height: auto;
  }

  .left {
    height: auto;
    width: 100%;
    justify-content: center;
    margin-bottom: 40px;
  }

  .left img {
    max-height: 60vh;
    margin-left: 0;
  }

  .right {
    height: auto;
    width: 100%;
    padding-left: 0;
    text-align: center;
    align-items: center;
  }

  .main-content h2 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .main-content p {
    font-size: 16px;
    padding: 0;
    margin: 20px auto 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 40px 20px;
  }
  
  .main-content h2 {
    font-size: 36px;
  }
}