* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f0f0f0;
  color: #333;
  transition: background-color 0.3s ease;
}

header {
  position: relative;
  height: 100vh;
  background-image: url('./photos/Article-caregiver-background-checks.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.navbar {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 40px);
  z-index: 10;
}

.navbar .logo {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 1px;
}

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

.navbar .nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #3498db;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar .nav-links a:hover::after {
  transform: scaleX(1);
}

.navbar .theme-toggle {
  display: flex;
  gap: 10px;
  cursor: pointer;
  font-size: 20px;
  align-items: center;
}

.hero {
  z-index: 5;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
}

.hero p {
  font-size: 20px;
  margin-top: 10px;
}

.cta {
  background-color: #3498db;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 50px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #2980b9;
}

.about, .services, .contact {
  padding: 100px 20px;
  text-align: center;
}

.about .content h2, .services h2, .contact h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.about .content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.read-more {
  background-color: #3498db;
  color: white;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

.read-more:hover {
  background-color: #2980b9;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-card p {
  color: #666;
  font-size: 16px;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
}

.contact button {
  background-color: #3498db;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
}

.contact button:hover {
  background-color: #2980b9;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer-content p {
  font-size: 14px;
}

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

/* Adding Gallery Styles */
.gallery {
  padding: 100px 20px;
  text-align: center;
  background-color: #f8f8f8;
}

.gallery h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

/* Lightbox Overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox.active {
  display: flex;
}

