/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.3s ease;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-img {
    height: 40px;
    width: auto;
}
nav ul {
    display: flex;
}
nav ul li {
    margin-left: 2rem;
}
nav ul li a {
    font-weight: bold;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #c2185b;
}
.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 35rem;
    margin-top: 5rem;
    margin-bottom: 2rem;
    background-image: url('images/hero-bg-img-new.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: left;
    /* text-align: center; */
    padding: 0 1rem;
}
.hero-content h1 {
    font-size: 3rem;
    text-align: left;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #240e47;
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    color: #666;
}
.cta-btn {
    background-color: #c2185b;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.cta-btn:hover {
    background-color: #880e4f;
}

/* Sections General */
section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

/* About Section */
#about p {
    text-align: center;
    max-width: 800px;
    font-weight: 500;
    font-size: 20px;
    margin: 0 auto;
    color: #666;
}

/* Services Section */
#services {
    background-color: #f8f8f8;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.service-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.service-item:hover {
    transform: translateY(-10px);
}
.service-item h3 {
    margin-bottom: 1rem;
    color: #c2185b;
}
.service-item p {
    color: #666;
}

/* Events Section */
#events {
    text-align: center;
}
.event-img {
    height: 200px;
    width: auto;
    /* display: flex;
    flex-wrap: wrap; */
    justify-content: center;
    gap: 2rem;
}
.event-item h3 {
    text-align: center;
    max-width: 800px;
    font-weight: 700;
    font-size: 30px;
    margin: 0 auto;
    color: #666;
}
.event-item p {
    text-align: center;
    max-width: 800px;
    font-weight: 500;
    font-size: 20px;
    margin: 0 auto;
    color: #666;
    padding-bottom: 50px;
}

.events-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.event-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.event-logo {
    margin-bottom: 20px;
}

.event-img {
    max-width: 500px;
    height: auto;
}

/* Navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}

.carousel-dots button.active {
    background: #4e0808; 
}

/* .partner {
    width: 150px;
    height: 80px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #666;
    font-weight: bold;
} */

/* Blog Section */
#blog {
    background-color: #891438;
    justify-content: center;
}
.section-title{
    color: #ffffff;
}
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
    font-size: 20px;
}
.blog-article p {
    margin-bottom: 1.5rem;
    color: #e9e9e9;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.photo-item {
    overflow: hidden;
    border-radius: 8px;          /* optional rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  /* optional shadow */
}

.photo-item img {
    width: 100%;
    height: 220px;               /* fixed height for uniform look */
    object-fit: cover;           /* crops image nicely */
    display: block;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);      /* slight zoom on hover */
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 60px;
}
.contact-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
/* .contact-item:hover {
    transform: translateY(-10px);
} */
.contact-item h3 {
    margin-bottom: 1rem;
    color: #c2185b;
}
.contact-item p {
    color: #666;
}
.contact-email{
    align-content: center;
}
.email-btn{
    background-color: #c2185b;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.sm-grid {
    display: flex;
    justify-content: center; /* Centers images horizontally */
    gap: 5rem; /* Space between images */
    flex-wrap: nowrap; /* Ensures images stay in one row */
}
.sm-img {
    height: 50px;
    width: auto;
    margin: 1rem; /* Optional: adjust margin as needed */
}
#contact input, #contact textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#contact button {
    background-color: #c2185b;
    color: #fff;
    padding: 1rem;
    border: none;
    max-width: 10rem;
    margin-top: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#contact button:hover {
    background-color: #880e4f;
}


/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;          /* Change to your website background color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Spinner Design */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #ff0077;      /* Change this to your brand color */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        margin: 1rem 0;
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}