.background-photo {
    width: 100%;
    height: 400px; /* Adjust the height as needed */ 
    background-image: url('./images/Outdoors.jpg');
    background-size: cover; /* Cover the entire div */
    background-position: center 20%; /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Add shadow at the bottom */
    position: relative; /* Establishes a positioning context for child elements */
    margin: 0;
    padding: 0;
}


.background-photo h1 {
    position: absolute; /* Positioning the <h1> absolutely */
    top: 50%; /* Move to the vertical center */
    left: 50%; /* Move to the horizontal center */
    transform: translate(-50%, -50%); /* Offset by half its width and height to center */
    z-index: 1; /* Ensure it appears above the background */
    color:white; /* Set text color */
    text-align: center; /* Center text */
    font-size: 3rem; /* Adjust font size */
}

.opening p, section p {
    width: calc(100% - 40px); /* Full width minus padding/margins */
    max-width: 1200px; /* Optional: Max width for better control */
    margin: 0 auto; /* Center the container */
    margin-top: 30px;
    padding: 20px; /* Adds padding inside the container */
    color: black;
    font-size: 1.5rem; /* Adjust as needed */
    font-weight: 400; /* Adjust weight if necessary */
    text-align: center; /* Centers the text */
    box-sizing: border-box; /* Includes padding in the element’s total width/height */
}

.p_header {
    color: white;
    margin-top: 20px;
    width: calc(100% - 40px); /* Full width minus padding/margins */
    max-width: 1200px; /* Optional: Max width for better control */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Adds padding inside the container */
    font-size: 1.5rem; /* Adjust as needed */
    font-weight: 400; /* Adjust weight if necessary */
    text-align: center; /* Centers the text */
    box-sizing: border-box; /* Includes padding in the element’s total width/height */
}

/* General Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('./images/bkgrd.jpg');
    background-size: cover; /* Stretch and fill */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

h3 {
    margin-top: 30px;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.dotted-hr {
    border: none; /* Remove default border */
    border-top: 4px dotted maroon; /* Create a dotted line */
    height: 0; /* Remove default height */
    width: 100%; /* Full width */
    max-width: 1200px; /* Adjust as needed */
    margin: 20px auto; /* Center horizontally and add spacing */
    
}

section {
    text-align: center;
    margin-bottom: 40px;
}

.parrot-image img {
    max-width: 100%;
    height: 400px;
    border-radius: 8px;
    margin: 20px 0;
    border-radius: 20px;
}

header {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Add shadow at the bottom */
    position: relative; /* Establishes a positioning context for child elements */
    text-align: center;
    padding: 40px;
    background-color:maroon;
    color: white;
}

h1 {
    font-size: 2.5rem;
}

p {
    font-size: 1.2rem;
}

/* Filter and Search Styles */
.filter-buttons {
    text-align: center;
    margin: 20px 0;
}

.filter-buttons button {
    padding: 10px 15px;
    margin: 5px;
    background-color: #219ebc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filter-buttons button:hover {
    background-color: #023047;
}

#search-bar {
    display: block;
    margin: 20px auto;
    padding: 10px;
    width: 80%;
    max-width: 500px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Blog Cards */
.blog-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px;
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: 15px;
    padding: 20px;
    width: 480px;
    transition: transform 0.3s ease;
    justify-content: center;
    text-align: center;
}

.blog-card:hover {
    transform: scale(1.05);
}

.blog-card {
    border: 3px solid maroon;
    background-color: lightgray;
}

.blog-card img {
    width: 100%;          /* Fill the width of the card */
    height: 350px;        /* Set a fixed height for uniformity */
    object-fit: fill;     /* Stretch the image to fill without cutting off */
    border-radius: 10px;  /* Rounded corners */
    margin-top: 10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5); 
}



.read-more-btn {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #219ebc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #023047;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: lightgray;
    border: 2px solid red; /* Consistent border line */
    padding: 20px;
    margin: 50px auto; /* Use fixed margin instead of percentage to prevent overlap */
    width: 100%;
    max-width: 800px;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow below border */
}

.close-btn {
    color: #219ebc;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close-btn:hover {
    color: #023047;
}

/* Social Buttons */
.social-buttons {
    text-align: center;
    margin: 20px;
}

.social-buttons a {
    margin: 5px;
    padding: 10px 15px;
    background-color: #023047;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.social-buttons a:hover {
    background-color: #219ebc;
}



footer {
    margin-top: 3rem;
    padding: 1rem;
    text-align: center;
    color: black;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .cta a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}


footer .nav img {
width: 20px; /* Adjust as needed */
height: 20px; /* Adjust as needed */
}

footer .text-body-secondary {
font-size: 1rem; /* Adjust as needed */
padding-bottom: 10px;
color: black;
}


/* Reset default styles for the <a> tag */
.scroll-to-top {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensures it's above other elements */
    text-decoration: none; /* Remove underline for links */
    background: none; /* No background color */

}

/* Style the image inside the button */
.scroll-to-top img {
    width: 60px; /* Icon size */
    height: 60px; /* Icon size */
    border-radius: 50%; /* Circular icon */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animation */
}

.scroll-to-top:hover {
    background: none !important;
    color: transparent !important;
}

.shop-container {
    text-align: center;
    padding: 50px 20px;
    margin-top: 30px;
}

.shop-container h1 {
    font-size: 2.5rem;
    color: #5e5e5e;
    margin-bottom: 20px;
}

.shop-container p {
    width: calc(100% - 40px); /* Full width minus padding/margins */
    max-width: 1200px; /* Optional: Max width for better control */
    margin: 0 auto; /* Center the container */
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px; /* Adds padding inside the container */
    color: black;
    font-size: 1.5rem; /* Adjust as needed */
    font-weight: 400; /* Adjust weight if necessary */
    text-align: center; /* Centers the text */
    box-sizing: border-box; /* Includes padding in the element’s total width/height */
}

.shop-examples {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.shop-item {
    background-color: lightgray;
    border-radius: 20px;
    padding: 20px;
    width: 350px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.shop-item:hover {
    transform: scale(1.05);
}


.shop-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.shop-item h3 {
    font-size: 1.5rem;
    color: maroon;
    margin-bottom: 10px;
}

.shop-item p {
    font-size: 1.2rem;
    color: maroon;
    margin-bottom: 15px;
}

.btn-shop {
    background-color: maroon;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-shop:hover {
    background-color: lightgray;
}

#donate-button-container {
    display: flex;
    justify-content: center; /* Horizontally center the container */
    align-items: center;     /* Vertically center the container */
}

.advertising-section {
   
    padding: 30px;
    margin-bottom: 40px; /* Adds space above the footer */
    text-align: center;
  
    border-radius: 10px; /* Rounded corners */
    max-width: 800px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto; /* Centers the section */
  }
  
  .advertising-section h3 {
    font-size: 24px;
    color: #333; /* Dark text for the heading */
    margin-bottom: 15px;
  }
  
  .advertising-section p {
    font-size: 16px;
    color: #555; /* Lighter color for paragraph text */
    line-height: 1.6; /* Adds spacing between lines */
    margin-bottom: 15px;
  }
  
  .advertising-section a {
    color: #007bff; /* Blue color for the email link */
    text-decoration: none;
    font-weight: bold; /* Bold the email link */
  }
  
  .advertising-section a:hover {
    text-decoration: underline; /* Underline on hover */
  }
  