/* RESET AND BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: Arial, sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  /* Use Lato as the main font for the website */
  font-family: 'Lato', Arial, sans-serif;
}

/* NAVIGATION BAR */
.navbar {
  position: sticky;
  top: 0;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 20px;
  z-index: 1000;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  color: #333;
}

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

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 100px 20px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3538e4 0%, #e57a2d 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Make the main heading (h1) very large and use Playfair Display */
.hero h1 {
  font-size: 4.5rem; /* Very large heading for strong impact */
  font-family: 'Playfair Display', serif; /* Use Playfair Display for the hero title */
  color: #ffffff;
  margin-bottom: 16px;
  /* You can adjust the size if you want it even bigger */
}

.hero p {
  font-size: 1.1em;
  color: #ffffff;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ffffff33;
  color: rgb(255, 255, 255);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

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

/* SECTION LAYOUT */
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

section h3 {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* PROJECTS */
.project-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.project-card h4 {
  margin-bottom: 10px;
}

.project-card p {
  margin-bottom: 10px;
}

.project-card a {
  text-decoration: none;
  color: #007BFF;
  font-weight: 500;
}

/* PROJECT GRID */
.project-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ABOUT SECTION */
.about ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.about li {
  margin-bottom: 8px;
}

/* About section layout: image left, text right */
.about-container {
  display: flex; /* Place items side by side */
  align-items: flex-start; /* Align items at the top */
  gap: 30px; /* Space between image and text */
}

/* Style for the profile image */
.about-image img {
  width: 300px; /* Set a good size for the image */
  height: auto;
  border-radius: 10px; /* Rounded corners */
  object-fit: cover;
  /* Add a simple border for style */
  border: 2px solid #eee;
}

/* Make sure the text takes up the rest of the space */
.about-text {
  flex: 1;
}

/* On small screens, stack image and text vertically */
@media (max-width: 700px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }
  .about-image {
    margin-bottom: 20px;
  }
  .about-text {
    width: 100%;
  }
}

/* CONTACT SECTION */
.contact a {
  color: #007BFF;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #777;
  border-top: 1px solid #eee;
}

/* TAB SWITCHING (for JS to show/hide sections) */
.tab-section {
  display: block;
}

.hidden {
  display: none;
}
