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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  min-height: 100vh;
}

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #e0e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  color: white !important;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-link:hover {
  color: #ffd700 !important;
  transform: translateY(-2px);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-bottom: 100px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content .title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-content .lead {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.about-preview, .projects {
  padding: 100px 0;
}

.about-preview h2,
.projects h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.project-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

footer {
  background: #222;
  color: #aaa;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 15px;
  }
}

/* Project Image Styling */
.img-container {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* This makes images fit nicely */
  object-position: center;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.08);      /* Nice hover zoom effect */
}

.project-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
}

.short-desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.skill-card {
  background: rgb(248, 247, 247);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.experience-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.logo-box {
  background: rgba(192, 175, 175, 0.12);
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.logo-box:hover {
  background: rgba(61, 60, 60, 0.2);
  transform: scale(1.05);
}

.logo-box img {
  display: block;
  max-height: 70px;
  width: auto;
}

.logo-box {
  box-shadow: 0 4px 15px rgba(240, 240, 240, 0.473);
}