/* Global Styling */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif; /* Modern, clean font */
  background-color: #f0f0f0; /* Light background */
  color: #333; /* Default text color */
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
}

/* Navigation Section */
.navigation {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0); /* Dark background with opacity */
  padding: 10px 20px;
  display: flex;
  justify-content: flex-end;
  z-index: 998;
  transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
  opacity: 0.95;
  backdrop-filter: blur(0px); /* Increased blur effect */
}

.navigation ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navigation li {
  margin-left: 20px;
}

.navigation a {
  text-decoration: none;
  color: #fff; /* White color for contrast */
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s ease-in-out;
}

.navigation a:hover {
  color: #007BFF; /* Signature blue hover effect */
}

.background-section {
  background-image: url('images/Backgrounds/Helping-Others-140713-pixahive.jpg'), 
                    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 60vh;
  position: relative;
  z-index: 1;

  animation: fadeInBackground 2s ease-in-out forwards;
  opacity: 0;
}

@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}


.centered-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.centered-message h2 {
  font-size: 64px;
  font-weight: 900;
  text-shadow: 2px 2px 5px rgb(0, 0, 0); /* Strong shadow */
  letter-spacing: 2px;
  margin: 0;
  padding: 20px;
}

/* Services Section */
.services-heading {
  font-size: 2.8rem;
  text-align: center;
  color: #000;
  margin-top: 60px;
  position: relative;
  padding-bottom: 10px;
}

.services-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #007BFF;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Logo Styling */
.logo-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  opacity: 1;
}

.logo-container img {
  width: 180px;
}

/* Services Images Section */
.services-images {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 1200px;
}

.image-container {
  position: relative;
  width: 23%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(24, 55, 255, 0.2);
  transition: transform 0.3s ease-in-out;
}

.service-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.image-container:hover .service-image {
  transform: scale(1.05);
}

.hover-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 100;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.3s ease-in-out;
}

.image-container:hover .hover-info {
  opacity: 1;
}


/* Map Section */
.map-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
}

.map-section h2 {
  color: #000000;
}

#map {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}


/* Footer Section */
.site-footer {
  background-color: #062177;
  color: #fff;
  padding: 10px 20px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-brand img {
  max-width: 120px;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

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

.footer-contact p {
  margin: 6px 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
}

.info-section {
  padding: 60px 20px;
  background-color: #f7f9fb;
  text-align: center;
}

.info-heading {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 40px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  font-family: 'Roboto', sans-serif;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }
.info-card:nth-child(5) { animation-delay: 0.5s; }

.info-card i {
  font-size: 36px;
  color: #0b12f4;
  margin-bottom: 15px;
  display: block;
}

.info-card h3 {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.email-link {
  display: inline-block;
  margin-top: 12px;
  background-color: #ffffff;
  color: #000000;
  padding: 10px 18px;
  border-radius: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.email-link i {
  margin-right: 8px;
}

.email-link:hover {
  background-color: #0057b339;
}

.info-card-horizontal {
  display: flex;
  background: #f4f9ff;
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  gap: 30px;
  max-width: 1000px;
  margin: 30px auto;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.info-icon {
  color: #0b12f4;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-content {
  flex: 1 1 auto;
}

.info-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #0b12f4;
}

.services-wrapper {
  width: 100%;
}

.service-list-horizontal {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.service-list-horizontal li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #333;
}

.service-list-horizontal li i {
  margin-right: 8px;
  color: #0b12f4;
}

.whatsapp-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  background: #25D366;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.whatsapp-link:hover {
  background: #1ebe5b;
}

@media (max-width: 768px) {
  .info-card-horizontal {
    flex-direction: column;
    text-align: center;
  }

  .service-list-horizontal {
    grid-template-columns: 1fr;
  }

  .info-icon {
    margin-bottom: 15px;
  }

  .service-list-horizontal li {
    justify-content: center;
  }
}
