@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap');

body {
    font-family: 'Merriweather', Georgia, serif;
    background-color: #f0f8ff; /* Light blue background */
    color: #333;
}
.right-sidebar {
    margin-bottom: 20px;

}
.right-sidebar .list-group-item {
    text-align: center; /* Центриране на съдържанието */
    padding: 10px; /* Добавяне на малко вътрешен отстъп */
}

.right-sidebar .list-group-item img {
        width: 70%; /* Регулирай размера според нуждите */
        height: auto; /* Запази пропорциите */
        display: block;
        margin: 0 auto; /* Центриране на изображението */
}

.container {
    max-width: 1100px; /* Adjust width as necessary */
}
.custom-margin {
    margin-bottom: 20px; /* Adjust this value to your preference */
}


.language-bar {
    position: absolute;
    top: 0;
    right: 15%;
    background-color: #0056b3; /* Тъмно синьо */
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 0 0 10px 10px;
}

.lang-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.lang-link:hover {
        text-decoration: underline;
        color: white !important;
}

header {
    margin-top:40px;
    display: flex;
    justify-content: center;
    align-items: center;

}




/* Ensure smooth transition for dropdowns */
.dropdown-menu {
    transition: all 0.3s ease;
}

/* Adjust z-index to fix overlap issues */
.navbar-nav .dropdown:hover .dropdown-menu {
    margin-top: 0; /* Prevent visual jumping */
}

/* Optional: Styling to prevent immediate closing when hovering off slightly */
/* .dropdown-menu {
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    pointer-events: auto;
} */
.dropdown-menu {
    min-width: 10rem; /* Adjust the width as necessary */
}
/* Optional: Customize the button's style */
.btn-primary {
    background-color: #007bff; /* Your desired color */
    border-color: #007bff; /* Your desired border color */
	cursor: pointer; /* Reset cursor to pointer */
}
.modal-body img {
    display: block;
    margin: 0 auto; /* Center the image */
}
/* Optional: Style for hover effects */
.btn-primary:hover {
    background-color: #0056b3; /* Darker shade on hover */
	cursor: pointer; /* Reset cursor to pointer */
}



header .btn {
    margin-left: auto; /* Ensure the button stays on the far right */
	cursor: pointer; /* Reset cursor to pointer */
}


.navbar {
    background: linear-gradient(90deg, #007bff, #0056b3); /* Gradient from light blue to dark blue */
    border-radius: 0.375rem; /* Updated for Bootstrap 5 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}
.navbar:hover{
    position:relative;
    z-index:10;
}


.navbar .nav-link {
    color: white !important; /* White text for menu items */
    padding: 0.5rem 1rem; /* Updated padding to Bootstrap 5 standard */
    font-weight: 500; /* Make the text slightly bold */
    letter-spacing: 0.5px; /* Slightly increase the letter spacing */
    transition: all 0.3s ease; /* Smooth transitions */
}

.navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Transparent white on hover */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
    border-radius: 0.375rem; /* Updated for Bootstrap 5 */
}

/* Fix dropdown z-index issue */
.navbar .dropdown-menu  {
    position: absolute; /* Absolute positioning within navbar */
    background-color: white;
    border-radius: 0.375rem; /* Updated for Bootstrap 5 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.navbar .dropdown-menu {
    position: absolute; /* Ensure dropdown appears below the toggle */
    top: 100%; /* Position below the toggle */
    left: 0;
    z-index: 1000;
    background-color: white; /* Dropdown background */
    border-radius: 0.375rem; /* Rounded corners */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow */
    transition: all 0.3s ease; /* Smooth transition */
}

.navbar .dropdown-item {
    color: #0056b3; /* Dark blue text */
    padding: 0.5rem 1.25rem; /* Updated padding */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.navbar .dropdown-item:hover {
    background-color: #f0f0f0; /* Light gray on hover */
    border-radius: 0.375rem; /* Updated for Bootstrap 5 */
}

/* Additional Hover Effects for Menus */
.navbar .nav-item:hover {
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Button Hover Effects */
.navbar .dropdown-toggle::after {
    transition: transform 0.3s ease; /* Smooth dropdown icon rotation */
}

.navbar .nav-item:hover .dropdown-toggle::after {
    transform: rotate(180deg); /* Rotate dropdown icon on hover */
}



.footer {
    background-color: #0056b3; /* Darker blue for navigation and footer */
}

.navbar-nav .nav-link {
    color: #ffffff;
}

.navbar-nav {
    margin: 0 auto; /* Centers the nav items */
}

.nav-item {
    text-align: center; /* Optional: to make sure the menu text aligns center */
}



.nav-link:hover {
    color: #cce5ff; /* Light blue hover effect */
}

.btn-primary {
    background-color: #007bff; /* Blue buttons */
    border: none;
}

.btn-secondary {
    background-color: #0056b3; /* Darker blue for secondary buttons */
    border: none;
}

.btn-block {
    padding: 15px;
    font-size: 18px;
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

.btn-block:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Scroll-to-top button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    display: none; /* Initially hidden */
    transition: opacity 0.3s;
}

    #scrollToTopBtn:hover {
        background-color: #0056b3;
    }

	
/* Change cursor to pointer for buttons */
button {
    cursor: pointer; /* Changes cursor to pointer on hover */
}

/* Change cursor to pointer for links */
a {
    cursor: pointer; /* Changes cursor to pointer on hover */
}

/* Change cursor to pointer for specific classes (if needed) */
.btn {
    cursor: pointer; /* Ensure all Bootstrap buttons have pointer cursor */
}

/* Change cursor to pointer for any specific elements if necessary */
.some-hover-element {
    cursor: pointer; /* Apply to any custom class */
}

/* Example for a specific class */
.custom-hover {
    cursor: pointer; /* Changes cursor to pointer on hover */
}

/* You can also define hover states for specific elements */
.custom-button:hover {
    cursor: pointer; /* Ensures cursor changes on hover */
}

/*Бързи връзки*/
.quick-links ul {
    list-style-type: none;
    padding-left: 5px;
}

.quick-links a {
    text-decoration: none;
    color: #0056b3;
    transition: color 0.3s ease;
    font-size: 9pt;
}

    .quick-links a:hover {
        color: #45b6fe;
    }