﻿/* General Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header Styling */
th {
    background-color: #f8c471; /* Light orange header */
    color: #000;
    font-weight: bold;
    padding: 10px 15px;
    border-bottom: 2px solid #e67e22;
    text-align: left; /* Align all headers to the left */
}

/* Specific Alignment for "No" Column Header */
th:first-child {
    text-align: left; /* Ensures the first column header aligns the same as others */
}

/* Body Styling */
td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    color: #555;
}

/* Number Column */
td.id {
    text-align: left;
    color: #2c3e50;
    font-weight: bold;
}

/* Alternating Row Colors */
tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Hover Effect */
tr:hover {
    background-color: #f9e79f;
}

/* Specific Column Styling */
td.amount {
    text-align: right;
    font-weight: bold;
    color: #d35400;
}

    .card-img-container {
        overflow: hidden;
        border-radius: 8px;
    }

    .zoom-effect {
        transition: transform 0.3s ease-in-out;
        width: 100%;
        height: auto;
    }

    .zoom-effect:hover {
        transform: scale(1.1);
    }

    .card {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border: none;
        margin-bottom: 20px;
    }

    .card-body {
        text-align: center;
    }

    /*Trustees address galary path*/ 
.blog {
    padding: 50px 0;
}

/* Container holding the members and donation section */
.members-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 10px;
    flex-wrap: wrap; /* Allow wrapping for better responsiveness */
}

/* Members section styling */
.members-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 70%;
    width: 100%; /* Ensures it does not overflow */
    box-sizing: border-box; /* Ensures padding and border are accounted for */
}

/* Donation box styling */
.donation-box {
    max-width: 25%;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Card container styling */
.carousel-inner {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: transparent;
    width: 257px; /* Ensures the card doesn't overflow its container */
}

/* Consistent image size */
.member-image {
    width: 100%;
    height: 310px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease-in-out;
}

/* Hover effect to enlarge image slightly */
.con-img-wrap:hover .member-image {
    transform: scale(1.05);
}

/* Overlay for author name */
.image-overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    text-align: center;
}

/* Author name styling */
.author-name {
    font-size: 2.6rem;
    font-weight: bold;
    margin: 0;
    color: #fff;
}

/* Position text styling */
.position-text {
    color: #333;
    font-size: 2.0rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
}

/* Hover effects on cards to add depth */
.carousel-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Animation for the entrance of cards */
.wow {
    animation: fadeInUp 0.5s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .members-container {
        flex-direction: column;
        gap: 20px;
    }

    .members-list {
        max-width: 100%;
    }

    .donation-box {
        max-width: 100%;
    }

    .carousel-inner {
        margin-bottom: 20px;
    }
}

/*STYLING THEEE ADDREESS*/
/* Content container styling */
.content-container {
    font-family: 'Georgia', serif;
    background-color: #F2E4D5; /* Match the beige background from the image */
    color: #4A2A1D; /* Dark brown text for good contrast */
    padding: 20px;
    line-height: 1.6;
}

/* General typography settings */
p, strong {
    font-size: 1.1rem;
}

strong {
    font-weight: bold;
}

/* Contact details box */
.contact-details {
    border: 1px solid #D1B298; /* Light border matching the theme */
    padding: 15px;
    border-radius: 10px;
    background-color: #F8EFE6; /* Slightly lighter background for the box */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details p {
    margin: 10px 0;
}

.contact-details strong {
    color: #7F4B2C; /* Slightly darker shade of brown for headers */
}

/* Link styling inside the contact details */
.contact-details a {
    color: #956C48; /* Darker link color matching the overall theme */
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
    color: #B57A58;
}

/* Adjust the address block width to match the width of the images */
.address-block {
    width: 100%; /* Set to full width or adjust to match container */
    max-width: 600px; /* Match the width of the images */
    /*margin: 0 auto;*/ /* Center the address block horizontally */
    padding: 20px; /* Add padding for better spacing */
    background-color: #f8f8f8; /* Background color similar to other sections */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a slight shadow */
}

/* Reduce vertical gap between the address block and the images above */
.image-container, .address-block {
    margin-bottom: 10px; /* Reduce space between images and address block */
}

.contact-details p {
    margin: 5px 0; /* Reduce margin between paragraphs */
}

/* Apply margin-top to the address block to reduce space above */
.address-block {
    margin-top: -20px; /* Adjust this value as needed */
}

/* Optional: Adjust the layout for smaller screens */
@media (max-width: 768px) {
    .address-block {
        max-width: 100%;
        padding: 15px;
    }
}

/*FESTIVAL PAGE CSS FOR STYLING
    FESTIVAL REPEATED CONTROL
*/

.container-xxl {
    padding-top: 20px;
    padding-bottom: 60px;
    background-color: #f8f9fa; /* Light background for contrast */
}

/* Service Item */
.service-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensures each card stretches to equal height */
    transition: box-shadow 0.3s ease;
}

/* Hover effect */
.service-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.service-item img {
    width: 100%;
    height: 250px; /* Fixed height for uniform image sizing */
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Content Section */
.position-relative {
    padding: 20px 15px 15px;
    background: #ffffff;
    flex-grow: 1; /* Makes the content area expand to fill available space */
}

/* Title Styling */
.position-relative h4 {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Text Styling */
.position-relative p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px; /* Adds space below the text */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limits to 3 lines of text */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Link Styling */
.small.fw-medium {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.small.fw-medium:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-item {
        margin-bottom: 30px;
    }

    .service-item img {
        height: 200px; /* Adjust the height for smaller screens */
    }
}

a:not([href]):not([class]) {
  color: #EFBF04;
  
}
