@import url('https://fonts.googleapis.com/css2?family=Amiri&display=swap'); /* Custom Light Green Color */
.bg-light-green {
    background-color: #4CAF50 !important; /* Professional, muted light green */
}

/* Navbar Text Color */
.navbar-light .navbar-nav .nav-link {
    color: #fff; /* White text */
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #a6e3a1; /* Soft green hover effect */
}

/* Navbar Fixed at Top */
.navbar-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050; /* Ensure it stays above offcanvas */
}

/* Main Content Margin */
.main-content {
    padding-top: 60px; /* Adjust for navbar */
}

/* Footer Styling */
.footer {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

/* Arabic Text Styling */
.arabic-large,
.ayat-arabic {
    font-family: 'Noto Sans Arabic', sans-serif;
}

.arabic-large {
    font-size: 2.5rem;
    line-height: 1.8;
}

.rtl {
    direction: rtl;
    text-align: right;
}

.ayat-arabic {
    font-size: 1.8rem;
    line-height: 2.5;
    color: #2d6d36;
}

.hadith-text {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2d6d36;
}

.dua-arabic {
    font-family: 'Noto Sans Arabic', sans-serif;
    color: #1a4721;
    margin-bottom: 1rem;
}


/* Sidebar Toggle Button Styling for Mobile */
@media (max-width: 991.98px) {


    .main-content {
        width: 100%; /* Ensure the main content takes full width when sidebar is hidden */
        margin-left: 0;
    }

    .navbar-top {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1050;
        width: 100%;
    }
}

/* Checkbox Styling */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #ddd; /* Border color when unchecked */
    border-radius: 50%; /* Round checkbox */
    width: 20px;
    height: 20px;
    position: relative;
    background-color: #fff; /* White background */
}

input[type="checkbox"]:checked {
    background-color: #000000; /* Light green color when checked */
    border-color: #43e98e;     /* Same light green border */
}

/* Custom checkmark when checked */
input[type="checkbox"]:checked::after {
    position: absolute;
    top: 0;
    left: 2px;
    font-size: 14px;
    color: white;
}


/* Light Green Button */
.bg-light-green-btn,
.btn-primary {
    background-color: #4CAF50; /* Light Green Button */
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
}

.bg-light-green-btn:hover,
.btn-primary:hover {
    background-color: #45a049;
}

/* Custom Scrollbar for Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;  /* Width of the vertical scrollbar */
    height: 12px; /* Height of the horizontal scrollbar */
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Light grey track */
    border-radius: 10px; /* Rounded corners */
}

::-webkit-scrollbar-thumb {
    background-color: #4CAF50; /* Light green thumb */
    border-radius: 10px; /* Rounded corners */
    border: 3px solid #f1f1f1; /* Border to make the thumb stand out */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #45a049; /* Slightly darker green when hovered */
}

::-webkit-scrollbar-corner {
    background-color: #f1f1f1; /* Light grey */
}



.card-body {
    padding: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Button Styling */
.btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
    transform: scale(1.05); /* Slight zoom-in effect on hover */
}

textarea.form-control {
    border-radius: 8px;
    padding: 12px;
    min-height: 120px;
}

/* Adjust for mobile devices */
@media (max-width: 767px) {
    .card-body {
        padding: 15px; /* Adjust padding on mobile */
    }
    .btn-primary {
        font-size: 1rem;
        padding: 10px 18px; /* Adjust button padding on mobile */
    }
}

/* Overall page background and text */
body {
    font-family: 'Roboto', sans-serif; /* Replace with your chosen font */
    font-size: 16px;
    line-height: 1.5;
    background-color: #a6d4b7; /* Light gray background */
    color: #333; /* Dark text for readability */
}
h1, h2, h3, h4, h5, h6 {
    font-family: inherit; /* Inherits the font from the body */
    font-weight: 700;
}

p, a, span, li {
    font-family: inherit;
}
/* Custom Navigation Styles */


.custom-nav-link {
    color: #388e3c; /* Medium green text */
    font-weight: bold;
    position: relative;
    transition: color 0.3s, background-color 0.3s;
}

.custom-nav-link.active {
    background-color: #a5d6a7; /* Light green background for active tab */
    color: #1b5e20; /* Darker green text for active tab */
    border-color: #2e7d32 #2e7d32 #a5d6a7; /* Borders for active tab */
}

.custom-nav-link:hover {
    color: #1b5e20; /* Darker green on hover */
}

.custom-nav-link:focus {
    box-shadow: none;
}

/* Decorative underline on hover */
.custom-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #1b5e20; /* Dark green underline */
    left: 50%;
    bottom: -5px;
    transition: all 0.3s ease;
}

.custom-nav-link:hover::after {
    left: 0;
    width: 100%;
}


/* Mobile View Adjustments */
@media (max-width: 991.98px) {
    .custom-nav-tabs .nav-item {
        margin-bottom: 10px;
    }
    .custom-nav-link {
        border: 1px solid #2e7d32;
        border-radius: 5px;
        width: 100%;
        margin-bottom: 5px;
    }
    .custom-nav-link.active {
        background-color: #a5d6a7;
        border-color: #2e7d32;
    }
    .custom-nav-link::after {
        display: none; /* Hide underline effect on mobile */
    }
}


.arabic-large {
    font-family: 'Amiri', serif;
    font-size: 2rem;
}

.ayat-arabic, .dua-arabic {
    font-family: 'Amiri', serif;
    line-height: 1.5;
}

.hadith-text {
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Progress Bar Text */
.progress-bar {
    font-weight: bold;
}

/* Card Header Icons */
.card-body h4 i, .alert h5 i {
    color: #2e7d32; /* Dark green shade */
}

/* Divider Styling */
hr {
    border-top: 2px solid #a5d6a7; /* Light green */
}

/* Button Hover Effect */
.btn-outline-success:hover {
    background-color: #2e7d32;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    .display-5 {
        font-size: 1.75rem;
    }
    .arabic-large {
        font-size: 1.5rem;
    }
}
