/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #007bff;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #007bff;
  text-align: center;
}

/* Hero Section */
.intro {
  background-image: url('../images/Background.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.intro-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 4rem 2rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
}

.profile-pic {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 4px solid #007bff;
  margin-bottom: 1.5rem;
}

.intro-text p {
  font-size: 1.1rem;
  color: #fff;
}

/* Projects Section */
.projects {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.project-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-info p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.project-info ul {
  list-style: none;
  padding-left: 0;
  list-style-position: inside;
}

.project-info li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.project-link {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.project-link:hover {
  text-decoration: underline;
}

/* Downloads */
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.btn {
  background-color: #1e90ff;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #0d6efd;
}

/* Contact */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: #ffffff;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
  }

  .project-image {
    height: 200px;
  }

  .project-info h3 {
    font-size: 1.3rem;
  }

  .project-info p,
  .project-info li {
    font-size: 1rem;
  }
}
