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

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Header */
header {
    background-color: #f9f9f9;
    color: #333;
    width: 100%;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    height: 80px; /* Fixed header height */
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    max-height: 100%; /* Prevents header from expanding */
    overflow: hidden;
}

.logo-image {
    max-height: 70px; /* Resizes logo without affecting header */
    width: auto;
    margin-right: 10px;
}

/* Navigation Links */
header nav a {
    color: #0073e6;
    margin: 0 1rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

header nav a:hover {
    text-decoration: underline;
}

/* Dropdown Menu */
.nav-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

/* Header Navigation Button Styling */
.nav-list {
    display: flex;
    justify-content: center; /* Center-aligns the buttons */
    gap: 0.25rem; /* Adds consistent spacing between buttons */
    padding: 3rem; /* Adds vertical spacing for the entire navigation */
}

.nav-list .nav-link {
    display: inline-block;
    padding: 0.6rem 1.2rem; /* Adjusts the button size */
    background-color: transparent; /* Matches the header background */
    color: #0073e6; /* Text color */
    border: 2px solid #ddd; /* Light border for subtle button effect */
    border-radius: 12px; /* Rounded corners for a modern look */
    text-decoration: none; /* Removes underline */
    font-weight: bold; /* Makes text bold */
    font-size: 1rem; /* Adjust font size for better visibility */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; /* Smooth hover effects */
}

.nav-list .nav-link:hover {
    background-color: #0073e6; /* Blue background on hover */
    color: white; /* White text on hover */
    transform: translateY(-2px); /* Slightly lift the button on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a shadow effect */
}

/* Dropdown Menu Styling */
.dropdown-menu {
    list-style: none;
    position: absolute;
    top: calc(100% + 5px); /* Spaces dropdown from the parent button */
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds subtle depth */
    padding: 0.5rem 0;
    display: none; /* Initially hidden */
}

.dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown on hover */
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 8px; /* Matches button style */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #0073e6;
    color: white;
}

/* Adjust Header */
header {
    display: flex;
    justify-content: space-between; /* Separates logo and navigation */
    align-items: center;
    padding: 0.5rem 1.5rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Adjust Dropdown Icon Positioning */
.dropdown-icon {
    margin-right: 0.5rem;
}

.chevron {
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 0;
    margin: 0;
    z-index: 20;
    min-width: 200px;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block; /* Keep the menu visible when hovering over it */
}

.dropdown-menu li {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.dropdown-menu li a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    gap: 0.5rem;
    width: 100%;
}

/* Hover State for Dropdown Links */
.dropdown-menu li a:hover {
    background-color: #f0f0f0; /* Highlight background on hover */
    color: #0073e6; /* Change text color to match the hover style */
}
.dropdown-icon {
    width: 50px;
    height: 50px;
    margin-right: 0.25rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    width: 100%;
    max-width: 1200px;
    gap: 1rem;
}

.hero-content {
    display: flex;
    width: 100%;
    gap: 1rem;
}

.hero-left {
    flex: 1.5;
    text-align: center;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

.hero-right {
    flex: 1;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Call-to-Action Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cta-button {
    flex: 1;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    height: 90px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-register {
    background: linear-gradient(135deg, #4a90e2, #357ABD);
}

.cta-register:hover {
    background: linear-gradient(135deg, #357ABD, #4a90e2);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.cta-demo {
    background: linear-gradient(135deg, #34A853, #2B7A42);
}

.cta-demo:hover {
    background: linear-gradient(135deg, #2B7A42, #34A853);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block; /* Ensure bullet points are visible by default */
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #333;
}

.features-list li .icon {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}
.features-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 0.5rem;
}

.features-list li a:hover {
    text-decoration: underline; /* Optional: add hover effect */
}
/* Descriptive Text */
.highlight {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #555;
    text-align: center;
    max-width: 800px;
    line-height: 1.5;
}

/* Image Section */
.image-section {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    justify-content: space-between;
    max-width: 1000px;
    margin: 1.5rem auto;
    align-items: center;
}
/* Product Option Buttons */
.product-option-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%; /* Fill the space where bullet points are */
    height: 90px; /* Fixed height for uniformity */
}

.product-option-button:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
}

.product-icon {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}

.image-section .product-image {
    height: 300px;
    object-fit: contain;
    flex: 1;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #f9f9f9;
    color: #333;
    padding: 1.5rem;
    width: 100%;
    text-align: center;
}
/* Mission Section */
.mission {
    text-align: center;
    padding: 1.5rem; /* Adjust padding to fit well */
    background-color: #f9f9f9;
    color: #333;
    border-radius: 8px;
    margin: 2rem auto; /* Add margin to space it properly */
    max-width: 800px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.mission h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: bold;
}

.mission p {
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.4rem;
}

.mission .quote {
    font-style: italic;
    color: #777;
    margin: 1rem 0;
}

.mission .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.mission .button:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}
/* Adjust product buttons to fit within the container */
.product-option-button {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between text and image */
    text-align: left;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    height: 150px; /* Limit height to fit within container */
    position: relative;
    width: 100%; /* Ensure button fills the container */
    overflow: hidden; /* Prevent overflow */
}

/* Adjust app icon size */
.product-icon {
    width: 50px; /* Adjust width to fit better */
    height: 50px;
    margin-right: 1rem;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Adjust text styling */
.product-text {
    flex: 1;
    text-align: left;
    font-size: 1rem;
    line-height: 1.4;
}

/* Adjust product images */
.product-image-right {
    max-height: 120px; /* Reduce height to fit within button */
    max-width: 120px; /* Constrain width proportionally */
    object-fit: contain;
    margin-left: 1rem;
    flex-shrink: 0;
}

/* Prevent container resizing */
.product-buttons-container {
    height: auto; /* Ensure no additional height is added */
    max-height: 600px; /* Example height if you want to constrain */
    overflow: hidden; /* Prevent content from resizing the container */
}

/* Hover Effect for Buttons */
.product-option-button:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Features List Adjustment */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block; /* Hide when buttons are visible */
}

/* Show product options when "hidden" class is removed */
.product-options:not(.hidden) {
    display: flex; /* Ensure buttons are visible when active */
    flex-direction: column; /* Stack buttons vertically */
    gap: 1rem; /* Add spacing between buttons */
}

.hidden {
    display: none !important; /* Ensure this class only hides elements explicitly */
}

/* Hero Section for Digital Giving */
.hero.digital-giving {
    position: relative;
    background: url('images/painting.png') no-repeat center center/cover;
    height: 600px;
    background-size: cover;
    width: 100%; /* Ensure the section takes full width of the viewport */
    max-width: 1200px; /* Constrain width for large screens */
    padding: 0 1rem; /* Add padding to avoid cutoff on small screens */
    margin: 0 auto; /* Center the section */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero.digital-giving .overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Stronger overlay */
    width: calc(100% - 2rem); /* Account for padding */
    height: 90%; /* Reduce height for border effect */
    position: absolute;
    top: 5%; /* Center overlay vertically */
    left: 1rem; /* Align overlay to match padding */
    z-index: 1;
    border-radius: 12px; /* Add soft corners to overlay */
}

.hero.digital-giving .content-wrapper {
    position: relative;
    z-index: 2; /* Ensure text and icons appear above overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    padding: 2rem; /* Keep consistent padding inside the wrapper */
    max-width: 1000px; /* Constrain inner content for readability */
    margin: 0 auto; /* Center align content */
}

.hero.digital-giving .icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    transform: translateY(-70px); /* Moves the boxes up */
    position: relative; /* Ensures the text and icons remain visible */
    z-index: 2; /* Ensures the boxes stay above the overlay */
}


.hero.digital-giving .icons .icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px; /* Modern rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem; /* Increase padding for larger icons */
    width: 150px; /* Larger box for better fit */
    height: 150px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Add this line */
    color: inherit; /* Ensures the text color stays the same as defined */
}

.hero.digital-giving .icons .icon-box img {
    width: 60px; /* Adjust size for better balance */
    height: 60px;
    margin-bottom: 0.75rem;
}

.hero.digital-giving .icons .icon-box p {
    margin: 0;
    font-size: 1rem; /* Increase text size slightly */
    color: #333;
    /*font-weight: bold;*/
}

.bullet-points {
    margin: 1.5rem 0; /* Add spacing above and below the list */
    padding-left: 0.5rem; /* Indent the bullets */
    list-style-type: disc; /* Use standard bullet points */
    list-style-position: inside; /* Align bullets with the text */
}

.bullet-points li {
    margin-bottom: 0.75rem; /* Add spacing between each bullet point */
    line-height: 1.5; /* Improve readability */
    font-size: 1rem; /* Match the font size with the rest of the content */
    color: #333; /* Use a neutral color */
}

.bullet-points li strong {
    color: #000; /* Slightly darker text for bold points */
}


.hero.about-page .hero-title {
    font-size: 3.5rem; /* Make text larger */
    font-weight: bold;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); /* Stronger shadow for readability */
    color: #ffffff; /* Bright white text */
    margin-top: -27px; /* Move the text higher on the page */
    text-align: center;
}


.hero.digital-giving .hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); /* Better readability */
    color: white; /* Match title for consistency */
    z-index: 3;
}
/* Hover Effect for Icon Boxes */
.hero.digital-giving .icons .icon-box:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
/* Content Box Below Oil Painting */
.content.digital-giving {
    width: 100%; /* Ensure the section takes full width of the viewport */
    max-width: 1200px; /* Constrain width for large screens */
    padding: 0 1rem; /* Add padding to avoid cutoff on small screens */
    margin: 0 auto; /* Center the section */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.content.digital-giving .content-box {
    background: white;
    border-radius: 12px; /* Modern rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 2.5rem; /* Increase padding for better readability */
    max-width: 700px; /* Slightly narrower for central alignment */
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}
/* Fix for Hero Section on About Page */
.hero.about-page {
    position: relative;
    background: url('images/painting.png') no-repeat center center/cover;
    height: auto; /* Increase height for better spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Match header height to prevent overlap */
    color: white;
    text-align: center;
}

.hero.about-page .overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Dim overlay */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero.about-page .content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-top: 20px; /* Adjust padding to center the content */
}

.hero.about-page .hero-title {
    font-size: 2.5rem; /* Make text size consistent */
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); /* Add shadow for readability */
}

.hero.about-page .hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); /* Shadow for better readability */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-table {
    width: 100%; /* Ensure the section takes full width of the viewport */
    max-width: 1200px; /* Constrain width for large screens */
    padding: 0 1rem; /* Add padding to avoid cutoff on small screens */
    margin: 0 auto; /* Center the section */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 1rem;
}

.pricing-table th, .pricing-table td {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid #ddd;
}

.pricing-table thead {
    background-color: #f9f9f9;
    color: #333;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}
.content.about .content-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    text-align: center;
    margin: 1rem auto;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}
.button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}
/* Highlight the middle row in the table */
.pricing-table .highlight-row td {
    background-color: black; /* Set the background color to black */
    color: white; /* Set the text color to white */
    font-weight: bold; /* Make the text bold */
}
/* Enhance the readability of the hero title */
.hero.digital-giving .hero-title {
    font-size: 4rem; /* Larger text for emphasis */
    font-weight: bold;
    color: white; /* Ensure the text is white */
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); /* Add a dark shadow for contrast */
    margin-top: -20px; /* Adjust position slightly */
    text-align: center;
    z-index: 3;
}

/* Enhance the readability of the hero subtitle */
.hero.digital-giving .hero-subtitle {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); /* Add a subtle shadow for better visibility */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
/* Product Gallery Styling */
.product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
    gap: 2rem;
}

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

.product-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.gallery-caption {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-top: 0.25rem auto;
}

/* Shop Button Styling */
.shop-button-container {
    text-align: center;
    margin-top: 1.5rem;
}

.shop-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.shop-button:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}
/* Content Box Styling w edit */
.content-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}

/* Larger Collage Image */
.product-image.collage {
    width: 100%;
    max-width: 1200px; /* Set a max width to prevent stretching on large screens */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Specific Donation Box Gallery Styling */
.donation-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
    gap: 2rem;
}

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

.donation-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.homepage-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Adds spacing between images */
    padding: 0.5rem; /* Adds some space around the section */
}

.homepage-image-section .product-image {
    height: 350px; /* Uniform height for both images */
    object-fit: cover; /* Ensures the image maintains aspect ratio within the height */
    border-radius: 8px; /* Consistent rounding for all images */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a slight shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect */
}

.homepage-image-section .product-image:nth-child(1) {
    width: 350px; /* Slightly wider for the offering plate image */
}

.homepage-image-section .product-image:hover {
    transform: scale(1.05); /* Adds a zoom effect on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Enhances shadow on hover */
}
/* Container for each product */
.product-container {
    text-align: center; /* Center the label and image */
    margin: 0; /* Eliminate extra spacing */
    display: inline-block; /* Keeps the layout inline */
    vertical-align: top; /* Align containers properly in a row */
}

/* Styling for the product images */
.product-container .product-image {
    width: auto;
    height: 300px; /* Consistent image height */
    object-fit: cover; /* Ensure image fills container */
    display: block; /* Ensures spacing for captions above */
    margin: 0 auto; /* Centers the image */
}

/* Styling for the labels above the images */
.product-label {
    font-size: 1.3rem; /* Adjust font size */
    font-weight: bold; /* Bold for emphasis */
    color: #333; /* Neutral text color */
    margin-bottom: 0.5rem; /* Space between text and image */
}

/* Style for the GIF container */
/* Center the GIF and add spacing */
.gif-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0; /* Add spacing above and below the GIF */
}

.lazy-gif {
    width: 100%; /* Make GIF responsive */
    max-width: 600px; /* Limit maximum size */
    height: auto; /* Maintain aspect ratio */
    opacity: 0; /* Initially hidden for lazy loading */
    transition: opacity 0.3s ease-in; /* Smooth fade-in when loaded */
}

/* Content Box Styling */
.content-box p {
    margin-bottom: 1rem; /* Add spacing between paragraphs */
    line-height: 1.6; /* Improve text readability */
    font-size: 1rem;
    text-align: center; /* Center-align the text */
}
.cta-description {
    font-size: 1.1rem; /* Slightly larger text */
    color: #333; /* Neutral text color */
    margin-bottom: 0.5rem; /* Add spacing below the text */
    text-align: center; /* Center-align the text */
    line-height: 1.5; /* Improve readability */
    font-weight: 550; /* Slightly bold for emphasis */
}



/* Tablet and smaller devices (max-width: 1024px) */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        height: auto;
        align-items: flex-start;
        padding: 1rem;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0;
        width: 100%;
    }

    .nav-list .nav-link {
        width: 100%;
        text-align: left;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
    }

    .hero {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
        width: 100%;
    }

    .hero-title {
        font-size: 1.8rem;
        white-space: normal;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-image {
        max-width: 90%;
        margin: 1rem auto;
    }

    .hero-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .cta-button {
        width: 100%;
        font-size: 1rem;
    }

    .features-list {
        padding: 1rem;
        gap: 1rem;
    }

    .features-list li {
        flex-direction: column;
        text-align: center;
    }

    .features-list li .icon {
        margin: 0 auto 0.5rem;
    }

    .image-section {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        width: 100%;
    }

    .product-image {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .product-container {
        margin-bottom: 1.5rem;
    }

    footer {
        text-align: center;
        padding: 1rem;
    }
}

/* Small mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        background-color: white;
        z-index: 1000;
    }

    header {
        padding: 1rem;
        height: auto;
    }

    .hero {
        margin-top: 2rem;
        padding: 1rem;
    }

    .hero.digital-giving {
        padding: 1rem; /* Add extra padding for spacing */
    }

    .hero.digital-giving .hero-title {
        font-size: 1.8rem; /* Slightly smaller title */
    }

    .hero.digital-giving .hero-subtitle {
        font-size: 0.9rem; /* Adjust subtitle size */
    }

    /* Use grid for 2x2 icon layout */
    .hero.digital-giving .icons {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        gap: 1.5rem; /* Add more space between boxes */
        justify-items: center; /* Center boxes horizontally */
        align-items: center; /* Center boxes vertically */
        margin: 1rem 0; /* Add margin to create spacing above and below */
    }

    .hero.digital-giving .icons .icon-box {
        width: 130px; /* Increase box size for content */
        height: 130px;
        padding: 1rem; /* Add padding for better spacing inside */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 10px; /* Keep rounded corners */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    }

    .hero.digital-giving .icons .icon-box img {
        width: 50px; /* Larger icon size */
        height: 50px;
        margin-bottom: 0.5rem; /* Space between icon and text */
    }

    .hero.digital-giving .icons .icon-box p {
        font-size: 1rem; /* Slightly larger text for readability */
        line-height: 1.2; /* Adjust line height for spacing */
        margin: 0; /* Reset margin */
    }

    .content.digital-giving .content-box {
        padding: 1rem; /* Reduce padding */
        font-size: 0.9rem; /* Adjust text size */
    }
    .hero.about-page .hero-subtitle {
        font-size: 1rem; 
        padding: 1rem; /* Uniform padding on mobile */
        line-height: 1.5;
        text-align: center;
        white-space: normal;             /* Allow normal wrapping */
        overflow-wrap: break-word;       /* Break words if necessary */
        word-break: break-word;          /* Fallback for older browsers */
        max-width: 90%;                  /* Constrain width so it fits on screen */
        margin: 0 auto;                  /* Center horizontally */
        box-sizing: border-box;          /* Ensure padding is included in total width */
    }
}

@media (max-width: 600px) {
    body {
        font-size: 0.9rem;
        overflow-x: hidden; /* Ensure no horizontal scrolling */
    }

    .hero-title {
        font-size: 1.5rem;
        white-space: normal;
        text-align: center;
    }

    .hero.about-page .hero-subtitle {
        font-size: 0.9rem; /* Further reduce font size */
        padding: 0 1rem; /* Adjust padding for smaller screens */
        line-height: 1.4; /* Maintain readability */
        text-align: center; /* Center-align text */
    }

    .nav-list .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    /* Maintain 2x2 layout for smaller screens */
    .hero.digital-giving .icons {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns */
        gap: 1.25rem; /* Maintain spacing */
    }

    .hero.digital-giving .icons .icon-box {
        width: 120px; /* Slightly smaller size */
        height: 120px;
        padding: 0.75rem;
    }

    .hero.digital-giving .icons .icon-box img {
        width: 45px; /* Further reduce icon size */
        height: 45px;
    }
    .hero.digital-giving .icons .icon-box p {
        font-size: 0.9rem; /* Adjust text size for smaller screens */
    }

    .hero.digital-giving .hero-title {
        font-size: 1.5rem; /* Further reduce font size */
    }

    .hero.digital-giving .hero-subtitle {
        font-size: 0.8rem;
    }

    .cta-buttons {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    footer {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }

    .product-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .image-section {
        width: 100%;
        padding: 1rem;
    }
}
