/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Header Styling */
.site-header {
  background: linear-gradient(to right, #005f73, #0a9396);
  color: white;
  padding: 20px;
  position: relative;
}

/* Navigation Bar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

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

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

.nav-links li a:hover {
  color: #ffd166; /* highlight on hover */
}

/* Logo Box */
.logo-box {
  background-color: white;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
}

.logo {
  height: 80px;
  display: block;
}

/* Intro Text */
.intro-text {
  text-align: center;
  margin-top: 30px;
}

.intro-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.intro-text p {
  font-size: 1.2rem;
  font-weight: 300;
}

/* Main Content */
.content {
  padding: 40px 20px 100px; /* Top, sides, and extra bottom padding */
  max-width: 800px;
  margin: 0 auto;
}

.content h2 {
  font-size: 1.8rem;
  color: #005f73;
  margin-bottom: 10px;
}

.content p {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #0a9396;
  color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.projects-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 30px;
}

.project-card {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card h3 {
  margin-bottom: 10px;
  color: #0a9396;
}

.project-card p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-card a {
  color: #005f73;
  font-weight: bold;
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
}

.contact-form button {
  margin-top: 20px;
  padding: 12px;
  background-color: #005f73;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0a9396;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.screenshot-grid img:hover {
  transform: scale(1.05);
}
