/* General Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #4CAF50;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Projects Section */
.projects {
  padding: 40px 0;
}

.projects h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.project h3 {
  margin-bottom: 10px;
}

.project p {
  color: #555;
}

.project a {
  display: inline-block;
  margin-top: 10px;
  color: #4CAF50;
  text-decoration: none;
  font-weight: bold;
}

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

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

/* Footer */
/* Footer Styling */
footer {
  padding: 20px;
  background-color: #000;  /* Black background */
  color: #fff;
  text-align: center;
  border-top: 2px solid #fff;  /* Optional white border for contrast */
  box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow for depth */
}

footer p {
  font-size: 20px;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* Adds subtle shadow to the text */
  transition: color 0.3s ease;
}

footer p:hover {
  color: #ffd700;  /* Changes color on hover */
}

/* Personal Info Styling within Footer */
.personal-footer-info {
  margin-top: 10px;
  font-size: 16px;
  color: #fff;
}

.personal-footer-info p {
  margin: 5px 0;
}

.personal-footer-info a {
  color: #ffd700;
  text-decoration: none;
}

.personal-footer-info a:hover {
  text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
