/*// hero section*/
.hero {
    position: relative;
    /*height: 100vh;*/
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider-bg .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 12s infinite;
}

.hero-slider-bg .slide:nth-child(1) {
    animation-delay: 0s;
}
.hero-slider-bg .slide:nth-child(2) {
    animation-delay: 4s;
}
.hero-slider-bg .slide:nth-child(3) {
    animation-delay: 8s;
}

/* Fade animation */
@keyframes fade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; }
    100% { opacity: 0; }
}

/* Overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-container-wrappar {
    /* background: rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(2px);
    border-radius: 20px;
    padding: 2rem;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    /* animation: float 6s ease-in-out infinite; */
    max-width: 100%;
    /* width: 100%; */
    /* margin: 0 auto; */
}

/*About us section*/

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; /* spacing between cards */
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    border: 2px solid #e5e7eb; /* light gray border */
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card i {
    font-size: 40px;
    color: #ef4444; /* red accent for icons */
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Hover effect */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/*contact us*/

.contact-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 36px;
    color: #ef4444; /* red accent */
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-content p {
    line-height: 1.5;
    margin-bottom: 12px;
    color: #333;
}

.contact-content p strong {
    font-weight: 600;
    color: #111;
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-icon {
        margin-bottom: 12px;
        margin-right: 0;
    }
}

/*memory*/

.gallery-item {
    width: 100%;
    max-width: 400px; /* optional, adjust as needed */
    margin: 0 auto; /* center */
    overflow: hidden;
    border-radius: 8px;
}

.gallery-placeholder {
    width: 100%;
    height: 250px; /* adjust height as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* makes image fully fill the container */
    display: block;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05); /* optional hover zoom effect */
}

/*event section */

/* Time Text + Icon (red color + subtle hover effect) */
.timeline-content .time {
    color: #dc2626;               /* red text */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

/* clock icon styling */
.timeline-content .time i {
    color: #dc2626;               /* red icon */
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* hover effect — slightly lift and brighten the icon */
.timeline-item:hover .timeline-content .time i {
    transform: scale(1.2);
    color: #b91c1c;               /* deeper red on hover */
}

.timeline-item:hover .timeline-content .time {
    color: #b91c1c;               /* darker red text on hover */
}








/* ===========================
   Timeline Number + Month
   =========================== */
.timeline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    min-width: 80px;
}

.timeline-number {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: #dc2626;
    background: white;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* red fill animation layer */
.timeline-number::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #dc2626;
    z-index: -1;
    transition: height 0.6s ease;
    border-radius: 50%;
}

/* month text directly under number */
.timeline-date .month {
    font-size: 0.9rem;
    color: #991b1b;
    text-align: center;
    margin-top: 0.4rem;
    font-weight: 500;
}

/* Hover effect — fills number when card is hovered */
.timeline-item:hover .timeline-number::before {
    height: 100%;
}

.timeline-item:hover .timeline-number {
    color: white;
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

/* ===========================
   Timeline Layout Adjustments
   =========================== */
.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
}


