/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
}

h2 {
  font-weight: 600;
  color: #204051;
}

/* Logo Styling */
.logo {
  float: left;
  margin-left: 30px;
}

.logo img {
  height: 50px; /* Adjust based on your logo size */
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1); /* Slight hover effect for logo */
}

/* Navbar Styling */
header {
  background-color: #204051;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav {
  flex-grow: 1;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  z-index: 10; /* Ensure nav stays on top */
  margin-right: 30px; /* Add space to the right */
}

nav ul li {
  margin: 0 20px;
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: #85c1e9;
  color: #fff;
}

nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1f1e1edd;
  border-radius: 5px;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li a {
  padding: 10px;
  display: block;
  white-space: nowrap;
}

nav ul li ul li a:hover {
  background-color: #85c1e9;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    margin-right: 0;
  }

  .logo {
    margin-left: 0;
    margin-bottom: 10px;
  }

  nav ul li {
    margin: 10px 0;
  }
}

/* Styling for the prayer container */
.prayer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f4f4f4;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}

/* Animation effect */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Styling for the prayer content */
.prayer-content {
  flex: 1;
  padding: 20px;
}

.prayer-content h1 {
  font-size: 2.5rem;
  color: #2d6187;
  margin-bottom: 20px;
}

.prayer-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

/* Styling for the prayer image */
.prayer-image {
  flex: 1;
  padding: 20px;
}

.prayer-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.prayer-image img:hover {
  transform: scale(1.05);
}

/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
  .prayer-container {
    flex-direction: column;
  }

  .prayer-image {
    margin-top: 20px;
  }
}

/* CTA Section */
.cta-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #3b6978;
  color: #fff;
}

.cta-section .cta-button {
  background-color: #204051;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-section .cta-button:hover {
  background-color: #85c1e9;
}

/* Footer */
footer {
  background-color: #204051;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  height: 60px;
}
