* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;

      background-image: url('../img/mannawallpaper3.jpg');
    
  background-color: #f9f9f9;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* Added for a fixed background effect */
  color: #333;
}

header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 50px;
  margin-right: 15px;
}

.logo-container h1 {
  font-size: 1.5rem;
  color: #333;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 3.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #28a745;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: url('hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  height: 80vh;

  
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero a {
  background-color: #28a745;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero a:hover {
  background-color: #218838;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
}


/* Reach Us Section */
.reach-us {
  background-color: #fff;
  padding: 3rem 2rem;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.reach-us-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
}

.reach-us-grid > div {
  flex: 1 1 300px;
}

.reach-logo p {
  margin: 0.5rem 0;
}

.reach-contact h3,
.reach-form h3 {
  color: #28a745;
  margin-bottom: 1rem;
}

.reach-contact p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.reach-form form {
  display: flex;
  gap: 0;
}

.reach-form input[type="email"] {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px; /* Rounded left corner */
  width: 100%;
  font-size: 1rem;
}

.reach-form button {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0 5px 5px 0; /* Rounded right corner */
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.reach-form button:hover {
  background-color: #218838;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  font-size: 1rem;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-links a i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Facebook */
.social-links a.facebook {
  background-color: #3b5998;
}

.social-links a.facebook:hover {
  background-color: #2d4373;
  transform: translateY(-5px);
}

/* Instagram */
.social-links a.instagram {
  background-color: #e1306c;
}

.social-links a.instagram:hover {
  background-color: #bc2a8d;
  transform: translateY(-5px);
}

/* Twitter */
.social-links a.twitter {
  background-color: #00acee;
}

.social-links a.twitter:hover {
  background-color: #0084b4;
  transform: translateY(-5px);
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 768px) {
  .reach-us-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .reach-us-grid > div {
    flex: 1 1 100%;
  }
}

/* Enhance Reach Us Info Section */
.reach-contact {
  background-color: #f4fdf6;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reach-contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.reach-contact h3 {
  font-size: 1.3rem;
  color: #218838;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reach-contact p {
  font-size: 0.95rem;
  color: #444;
  margin: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reach-contact i {
  color: #28a745;
  min-width: 20px;
  text-align: center;
}

/* --------------------------------- START HERE THE EDIT PLS ----------------------------------------------------------- */

.inner-ourcommissary {
  background-color: white;
  padding: 20px;
  height:3550px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 470px;
  font-family: 'Allura', cursive;

}

/* Our Commissary */

.threediv {
    background-color:#c0392b ;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 10px;
    text-align: center;
    display: flex; /* Arrange the child divs in a row */
    justify-content: space-around; /* Space out the inner divs evenly */

  }
  
  .inner-div {
    background-color: #fff;
    padding: 6rem; /* Inner padding to make the divs smaller */
    margin: 0 1rem; /* Add more space between the divs */
    border-radius: 8px;
    width: 120px; /* Set width */
    height: 100px; /* Set height */
    flex: 1; /* Ensure each div takes up equal space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content */
  }
  
  .inner-div p {
    font-size: 35px; /* Resize the text */
    margin-top: 0.5rem; /* Add some space above the text */
  }
.inner-div:hover {
background-color:white; /* Change background to orange on hover */
color: black; /* Change text color to white */
}

.threediv .inner-div:nth-child(1):hover {
background-color: white; /* Orange background for the first inner-div */
color: black; /* Change text color to white */
}

.threediv .inner-div:nth-child(1):hover p {
color:black; /* Change the text color to white when hovered */
}





.carousel-container {
  position: relative;
  overflow: hidden;
  width: 90%;
  margin: 50px auto;
  border-radius: 10px;
  background-color: #fef9e7;
  padding: 20px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.manna-item {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* For large screens, show 3 items side by side */
@media (min-width: 768px) {
  .manna-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

/* CAROUSEL PICTURESSSSSS */


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  z-index: 1;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}




/* BUTTON MENUUUUUUUUUUUUUUUUU */

.carousel-buttons {
  display: flex;
  justify-content: center;
  margin-top: 35px;
  gap: 70px;
}

.action-btn {
  background-color: white;
  color:Black; /* Burgundy text */
  border: 3px solid #800020; /* Burgundy border */
  padding: 20px 32px; /* Larger button size */
  font-size: 20px; /* Bigger text */
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background-color: #800020;
  color: white;
}


 /* MANNA PICTURESSSSSSSSSSSSSSSSSS */

.image-section {
    margin-top: 20px;
  margin: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center; 
}

.image-row img {
  width: calc((100% - 6rem) / 7); /* 7 images per row with 1rem gaps */
  max-width: 170px; /* Optional cap to prevent images from growing too big */
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.image-row img:hover {
  transform: scale(1.05);
}



/* IMAGE AND TEXTTTTTTTTTTTTT */

 .image-text-layout {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.image-left img {
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-left: -40px;
}

.text-right {
  flex: 1;
  font-family: Arial, sans-serif;
  margin-right: 40px;
}

.text-right h2 {
  font-size: 3rem;
  color: #444;
  margin-bottom: 1rem;
  font-family: 'Allura', cursive;
}


.text-right p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
   text-align: justify;
}

/* BREAD MENU BUTTON */
.pdf-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: black;
  border: 2px solid #800020;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.pdf-button:hover {
  background-color: #800020;
  color: white;
}


/* DIV BACKGROUNDDDDD*/

.wrapper-container {
  padding: 2rem 0;
  background-color: #fef9e7; 
}





/* IMAGE AND TEXT - NEW SECTION FOR "How it all began" */

.image-text-layout-began {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.image-right-began img {
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-right: -40px;
}

.text-left-began {
  flex: 1;
  font-family: Arial, sans-serif;
  margin-left: 40px;
}

.text-left-began h2 {
  font-size: 3rem;
  color: #444;
  margin-bottom: 1rem;
  font-family: 'Allura', cursive;
  margin-left: -90px;
}

.text-left-began p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
  margin-left: -90px;
}

/* READ MORE BUTTON */
.story-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: black;
  border: 2px solid #800020;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-left: -90px;
}

.story-button:hover {
  background-color: #800020;
  color: white;
}

/* BACKGROUND FOR NEW DIV */
.wrapper-container-began {
  padding: 2rem 0;
  background-color: #fcf3cf; /* fallback color if image doesn't load */
  background-image: url('../img/divbackground.jpg'); /* replace with your image path */
  background-size: cover; /* scales image to cover the whole container */
  background-repeat: no-repeat; /* prevents image from repeating */
  background-position: center; /* centers the image */
}














/* PICTURES CAROUSEL BETWEEN 2 DIV */

.scrolling-images {
  width: 100%;
  overflow: hidden;
  background-color: #fff; /* optional: add background */
  padding: 1rem 0;
}

.scrolling-track {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.scrolling-track img {
  height: 300px; /* adjust as needed */
  margin: 0 1rem;
  flex-shrink: 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
