/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-color: #2F5D62; /* Soft Emerald */
    --secondary-color: #C8A357; /* Muted Gold */
    --bg-color: #F9F7F2; /* Cream/Off-White */
    --text-dark: #333333;
    --text-light: #ffffff;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Amiri', serif;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-dark);
    margin-right: 15px;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Buttons */
.btn-primary-islamic {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primary-islamic:hover {
    background-color: #1e3f42;
    color: white;
}

.btn-outline-islamic {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: 0.3s;
}

.btn-outline-islamic:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cards & Sections */
.section-padding {
    padding: 60px 0;
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background-color: white;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* Carousel */
.carousel-item img {
    height: 60vh; /* Not too large */
    object-fit: cover;
    filter: brightness(0.8);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
}
 /* --- Toast Notification Custom Styles --- */
        .toast {
            border: none;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        }
        
        /* Green border for success */
        .toast.success {
            border-left: 5px solid #198754;
        }

        /* Red border for error */
        .toast.error {
            border-left: 5px solid #dc3545;
        }
