body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #4717f6;
  background-size: cover;
  background-repeat: repeat-y;
  background-attachment: fixed;
}

.navbar {
  background-color: #ffffff;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-left img {
  height: 30px;
  padding: none; 
  display: flex;
}

.navbar-right {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
}

.navbar-right li a {
  color: #4717f6;
  text-decoration: none;
  font-weight: bold;
}

.navbar-right li a:hover {
  color: #d484f2;
}

/* Hero Section */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
              url("Images/home_image.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #4717f6;
}

.btn {
  display: inline-block;
  background-color: #4717f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.about_section{
  display: flex;
  column-gap: 100px; 
  margin: 50px;
}

.about_left{
  height: 500px;
  width: 60%;
  margin-left: 25px; 
  overflow: hidden;
  color: #4717f6;
}

.about_p{
  font-size: 20px;
  color: #4717f6;
}

.about_right{
  height: 500px;
  width: 40%;
  margin-right: 25px; 
  overflow: hidden; 
}

.about_right img{
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.volunteer_section{
  margin: 50px; 
  color: #4717f6;
}

.volunteer_section ol{
  font-size: 20px;
  margin: 25px;
}

.volunteer_section h1{
  margin: 25px;
}

.volunteer_section_p{
  font-size: 20px;
  color: #4717f6;
  margin: 25px;
}

.a_section{
  margin: 60px;
}

.adopt h1 {
  text-align: left;
  margin: 15px;
}

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

.pet-card {
  background: #d8b4ff;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pet-img {
  height: 300px;
  width: 300px;
  border-radius: 12px;
}

.pet-img img{
  width: 100%;
  height: 100%;
  object-fit: fill;
  padding: 10px; 
  border-radius: 10px;
}

.pet-card button {
  margin-top: 10px;
  padding: 8px 15px;
  background: #6a39ff;
  color: white;
  border: none;
  border-radius: 8px;
}

.pet-card button:hover {
  background-color: #d484f2;
}

/* Footer */
footer {
  background-color: #b6b6d3;
  color: #000000;
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
}

.social-links {
  margin-top: 0.5rem;
}

.social-links a {
  color: #4717f6;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #d484f2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
