/*--------------------------------------------------------------
   # General
   --------------------------------------------------------------*/
:root {
    --primary-color: #003865;
    --secondary-color: #0b213b;
    --text-color-dark: #212529;
    --text-muted: #6c757d;
    --accent-color: #9DCE3A;
    --bg-light: #f8f9fa;
    --bg-light-blue: #EAF1FF;
    --header-height: 140px; /* Approximate combined height of top and main headers */
    --footer-height: 60px; /* Height of the fixed footer */
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-light-blue);
    /*padding-top: 150px; !* Adjusted static fallback *!*/
    padding-bottom: var(--footer-height);
    font-size: 1.1rem;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

button {
    font-family: 'Source Sans 3', sans-serif;
}

.main-container {
    margin: 0 30px;
}

.section-title {
    font-family: "Poppins", Sans-serif;
    font-size: 50px;
    font-weight: 500;
    color: #003865;
}
.section-subtitle {
    font-weight: 600;
    color: #007bff;
    text-transform: uppercase;
}

.pill-tag span {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid #1a3a6c;
    color: #1a3a6c;
    font-size: 14px;
    font-weight: 500;
    background-color: transparent;
}

.pill-button {
    /* Button Shape & Sizing */
    display: inline-block;
    padding: 12px 10px;
    border-radius: 50px; /* This creates the pill shape */
    border: 1px solid #003865; /* A solid, dark blue border */

    /* Color & Background */
    background-color: transparent;
    color: #0A4D8C; /* Text color matches the border */

    /* Typography */
    font-size: 0.9rem;
    font-weight: 600; /* Semi-bold */
    text-transform: uppercase; /* Makes all letters capital */
    letter-spacing: 1.5px; /* Adds space between letters */
    text-decoration: none; /* Removes underline if used on an <a> tag */

    /* Other */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}

/* --- Hover & Focus Effect --- */
.pill-button:hover,
.pill-button:focus {
    background-color: #0A4D8C; /* The border color becomes the background */
    color: #FFFFFF; /* The text becomes white */
    outline: none;
}

.btn-read-more {
    /* Shape and Spacing */
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px; /* This creates the pill shape */
    border: 2px solid #003865; /* Border color matches the card title */
    text-decoration: none;

    /* Color and Font */
    background-color: transparent;
    color: #003865;
    font-weight: normal;

    /* Interaction */
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: #003865;
    color: #fff;
}

.about-section {
    padding: 10px;
}
.about-section p {
    color: var(--text-color-dark);
    line-height: 1.8;
}
    /*--------------------------------------------------------------
    # Page Banner
    --------------------------------------------------------------*/
.page-banner {
    position: relative;
    padding: 40px;
    background: url('https://images.unsplash.com/photo-1554475901-4538adb792c6?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    color: #fff;
    border-radius: 15px; /* Added border radius */
    overflow: hidden; /* Ensures overlay respects the border radius */
    margin: 20px 0;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 56, 101, 0.7); /* Dark blue overlay */
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-weight: 600;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 40px  0 0 0;
}

.breadcrumb-item a {
    color: #FFFFFF;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #9DCE3A;
}

.main-content {
    background-color: transparent;
    border-radius: 15px;
    /*padding: 0 40px;*/
    margin-top: 40px; /* Changed from negative to positive margin */
    position: relative;
    /*z-index: 3;*/
    box-shadow: none;
    padding: 40px 0 80px 0;
}

.page-title {
    color: #003865;
    font-family: 'Lato', sans-serif;
    font-size: 2.7rem;
    font-weight: 400; /* Medium weight */
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.page-title .highlight {
    color: #9DCE3A;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.content-text p {
    line-height: 1.8;
    color: #212529;
    text-align: justify;
}

.content-text ol, .content-text ul {
    padding-left: 40px;
}

.content-text ol li, .content-text ul li {
    margin-bottom: 1rem;
    color: #212529;
    text-align: justify;
}

.content-text .small {
    font-size: 1.3rem;
}
.content-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-block {
    margin-top: 20px;
    color: var(--primary-color);
    text-shadow : 0px 0px 6px rgba(0, 0, 0, 0.20);
}

.content-block h5{
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600; /* Medium weight */
    letter-spacing: 0.5px;
}

.page-title, .content-text p, .content-text ol li {
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
# Page Sidebar
--------------------------------------------------------------*/

.sidebar-nav .nav-link {
    font-family: 'Source Sans 3', serif;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #003865;
    background-color: #f0f4f8;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
}

.sidebar-nav .nav-link i {
    margin-right: 15px;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.sidebar-nav .nav-link:hover {
    background-color: #dde8f3;
}

.sidebar-nav .nav-link.active {
    background-color: #003865;
    color: #fff;
}

/*--------------------------------------------------------------
# CORRECTED Fixed Header
--------------------------------------------------------------*/
.fixed-header {
    /*position: fixed;*/
    /*position: relative;*/
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    padding-top: 10px;
    transition: all 0.3s ease;
}

/* Top Header Bar - NOW TRANSPARENT */
.top-header {
    background-color: transparent; /* CHANGED */
    color: var(--text-color-dark);
    font-size: 14px;
    padding: 10px 0;
    /*margin: 0 30px;*/
}

.top-header .contact-info i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Main Navigation Bar - NOW FULLY ROUNDED & INSET */
.main-navbar-wrapper {
    padding: 0 0rem; /* Creates inset effect */
}

.main-navbar {
    background-color: #ffffff;
    padding: 5px 25px; /* CHANGED */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* CHANGED */
    border-radius: 20px; /* CHANGED - Fully rounded */
    margin-top: 10px; /* CHANGED */
    min-height: 100px;
}

.navbar-brand img {
    max-height: 50px; /* Adjusted for new padding */
}

.navbar-nav .nav-item {
    position: relative;
    margin: 0 10px;
}

.navbar-nav .nav-link {
    color: var(--text-color-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--accent-color);
    font-weight: 500;
}

/* Dot separator for menu items */
.navbar-nav .nav-item:not(:last-child)::after {
    /*content: '•';*/
    /*color: var(--primary-color);*/
    /*position: absolute;*/
    /*right: -15px;*/
    /*top: 50%;*/
    /*transform: translateY(-50%);*/
    /*font-size: 12px;*/
}

/* Right side of Nav */
.nav-right .nav-phone {
    color: var(--text-color-dark);
    text-decoration: none;
    font-weight: 600;
    margin-right: 20px;
}

.nav-right .phone-icon {
    background-color: #eef1ff;
    color: var(--primary-color);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.nav-right .nav-icon {
    color: var(--text-color-dark);
    font-size: 18px;
    margin: 0 12px;
}

.btn-login-portal {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 1px rgba(11, 33, 59, 0.2);
    color: #ffffff;
    font-size: 1.1rem;
}

.btn-login-portal:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
# NEW DROPDOWN STYLES
--------------------------------------------------------------*/
.navbar-nav .nav-item.dropdown .dropdown-menu {
    border-radius: 1rem; /* Rounded corners */
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 15px !important; /* Spacing from the nav item */
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--text-color-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.navbar-nav .dropdown-item:hover {
    color: var(--primary-color);
    background-color: var(--accent-color);
    border-radius: 1rem;
}

/* Custom arrow for dropdown items */
.dropdown-item .arrow-icon {
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-item:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Ensure dropdown toggle arrow is styled */
.nav-link.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: 0.15em;
}

.dropdown-item.active {
    color: var(--primary-color);
    background-color: var(--accent-color);
    border-radius: 1rem;
}

/* --- NEW: Multi-Level Dropdown Logic --- */
.dropdown-menu .dropend {
    margin-left: 0;
}
/* 1. Position the third-level menu */
.dropdown-menu .dropend .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: .125rem;
    margin-top: -0.6rem !important;
}

/* 2. Show submenu on hover for desktop screens */
@media (min-width: 992px) {
    .dropdown-menu .dropend:hover > .dropdown-menu {
        display: block;
    }
}
/*--------------------------------------------------------------
# Hero Section & Other Styles (Unchanged)
--------------------------------------------------------------*/
.hero-section {
    background: url('portal/krste/img/hero-bg.png') no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    margin: 20px 0;
    /*display: flex;*/
    /*align-items: center;*/
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 60px 0 5px;
    box-shadow: 0px 4px 7px -3px rgba(0, 0, 0, 0.5);
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits on top of the background image */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #001D35 39%, rgba(255, 255, 255, 100%));
    opacity: 0.68;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.discover-btn {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: background-color 0.3s, color 0.3s;
}

.discover-btn:hover {
    background-color: #fff;
    color: #4a5c6a;
}

.hero-title {
    font-size: 4rem;
}

#typed-text {
    color: #c9e265; /* New yellow/green highlight color */
    display: inline-block;
}

.search-bar-wrapper {
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.05);
}
.search-bar-wrapper .form-control , .search-bar-wrapper  .form-select {
    border: none;
    padding-left: 0;
}
.search-bar-wrapper .form-control:focus {
    box-shadow: none;
}
.search-bar-wrapper .input-group-text {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    /*font-size: 1.2rem;*/
}

.search-bar-wrapper select {
    cursor: pointer;
}

.search-bar .form-control {
    border-radius: 50px !important;
    border: none;
    font-size: 1rem;
    padding: 15px 50px;
    box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.5) inset;
}

.search-bar {
    position: relative;
}

.search-bar i{
   color: var(--accent-color);
}
.search-bar .input-group-text {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #888;
    z-index: 3;
}

.search-bar .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/*.custom-rounded-group {*/
/*    border-radius: 50px !important;*/
/*    border: none;*/
/*    box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.5) inset;*/
/*    overflow: hidden;*/
/*    background-color: white; !* Or your desired input background color *!*/
/*    padding: 10px 10px;*/
/*}*/

/*
  Reset the borders and backgrounds of the elements inside
  the custom container so they don't clash with the parent's style.
*/
/*.custom-rounded-group .form-control,*/
/*.custom-rounded-group .form-select,*/
/*.custom-rounded-group .input-group-text {*/
/*    border: none;*/
/*    box-shadow: none !important;*/
/*    background-color: transparent;*/
/*}*/

.custom-rounded-group .input-group-text {
    border-right: 1px solid #9DCE3A;
}
/*--------------------------------------------------------------
    # Stats Slider Section
 --------------------------------------------------------------*/
.stats-container {
    margin-top: 3rem !important;
    color: rgba(245, 245, 245, 0.5);
    z-index: 3;
}

.stat-card {
    background: rgba(245, 245, 245, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 30px 60px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 0px 13px -7px rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%; /* Ensures card fills the slide */
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.25);
}

.stat-card h6 {
    font-family: "Poppins", Sans-serif, serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 20px;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.26);
    color: var(--primary-color);
    min-height: 40px; /* Add this line */
    display: flex; /* Optional: helps with vertical alignment */
    align-items: center; /* Optional: vertically centers the text */
    justify-content: center; /* Optional: horizontally centers the text */
}

.stat-card p {
    font-family: "Montserrat", Sans-serif, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.swiper-container {
    width: 100%;
    padding: 20px 0 50px 0 !important;
}

.swiper-wrapper {
    align-items: stretch; /* Makes all slides equal height */
}

.swiper-slide {
    height: auto;
    display: flex; /* Ensures content inside can be controlled */
}

.swiper-pagination-bullet-active {
    background-color: #fff !important;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-icons {
    position: fixed;
    top: 20%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.sidebar-icon {
    background-color: #fff;
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: all 0.3s ease;
}

.sidebar-icon:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateX(-5px);
}

/*--------------------------------------------------------------
    # Listing Section
 --------------------------------------------------------------*/
.listings-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.listings-header {
    text-align: center;
    margin-bottom: 40px;
}

.listings-chip {
    font-family: "Poppins", Sans-serif;
    display: inline-block;
    color: #003865;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid #003865;
}

.listings-title {
    color: #003865;
    font-weight: 500;
    font-size: 2.5rem;
    text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.filter-btn {
    background-color: #fff;
    border: 1px solid #003865;
    color: #003865;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px -3px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #003865;
    color: #fff;
    box-shadow: none;
}

/*--------------------------------------------------------------
    # Modules Section
 --------------------------------------------------------------*/
.modules-section {
    background-color: transparent;
}

.module-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.module-card .img-container {
    padding: 20px;
}

.module-card .card-img-top {
    border-radius: 20px;
    width: 100%;
    height: 280px;
    object-fit: cover;
    padding: 0;
}

.module-card .card-subtitle {
    color: #9DCE3A;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.module-card .card-title {
    color: #003865;
    font-size: 1.25rem;
}

.module-card .card-body {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Makes card body fill available space */
}

.card-text {
    flex-grow: 1;
    font-size: 1.0rem;
    color: #5E5F61;
}
.card-footer-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 1rem;
}
.card-footer-icons a {
    color: #fff;
    background-color: #007bff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.card-footer-icons .bar {
    color: #fff;
    background-color: #9DCE3A;
}
.card-footer-icons .stat {
    color: #fff;
    background-color: #003865;
}

.card-footer-icons a:hover {
    background-color: #0056b3;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #333;
    border-radius: 50%;
    padding: 20px;
}

/*--------------------------------------------------------------
    # Footer Section
 --------------------------------------------------------------*/
.footer-section {
    position: relative; /* Makes the footer fixed */
    /*position: fixed; !* Makes the footer fixed *!*/
    bottom: 10px; /* Sits just above the bottom edge */
    /*left: 10px;*/
    /*right: 10px;*/
    width: auto; /* Adapts to the left/right properties */
    z-index: 1020; /* Below header but above content */

    border-radius: 25px;
    overflow: hidden;
    color: #fff;
    padding: 40px 0px 20px 0px;
}

.footer-section::before {
    border-radius: 30px;
}

.footer-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly darker for better readability */
    z-index: 1;
}

.footer-section .container {
    position: relative;
    z-index: 2;
}

.footer-logo {
    max-width: 200px; /* Adjusted for space */
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 8px;
}

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p, .footer-section span {
    font-size: 0.9rem; /* Adjusted for space */
    color: #e0e0e0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info i, .get-in-touch-item i {
    color: var(--accent-color);
    width: 20px;
}

.get-in-touch-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.get-in-touch-item span {
    margin-left: 1rem;
}

.qr-code {
    background-color: #fff;
    padding: 10px;
    border-radius: 15px;
    max-width: 150px; /* Adjusted for space */
}

/* Footer Bottom Bar Styles */
.footer-bottom-bar {
    position: relative;
    z-index: 3;
    background-color: #222529; /* Dark charcoal background */
    border-top: 1px solid #444; /* Subtle separator */
    padding: 20px 0; /* Vertical padding */
    margin-top: 20px; /* Space from main footer content */
    border-radius: 0 0 25px 25px; /* Match footer's rounded corners at bottom */
}

.footer-bottom-bar p,
.footer-bottom-bar a {
    color: #e0e0e0; /* Light grey text */
    margin-bottom: 0;
}

.footer-bottom-row {
    margin-bottom: 15px; /* Space between rows */
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.browser-compatibility p {
    font-size: 0.85rem; /* Smaller font size */
    opacity: 0.7; /* Lower opacity */
    margin-top: 5px; /* Space from the row above */
}

/* Responsive adjustments for footer bottom bar */
@media (max-width: 767.98px) {
    .footer-copyright,
    .footer-links {
        text-align: center !important;
    }

    .footer-links {
        margin-top: 10px;
    }
}

.social-icons .dark i{
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Pagination
 --------------------------------------------------------------*/
.pagination {
    /* No longer need justify-content or margin-top, as the parent flex container handles it. */
    margin-bottom: 0; /* Remove default bottom margin from Bootstrap's .pagination */
}

.page-item .page-link {
    border-radius: 50px !important; /* Pill shape */
    margin: 0 5px;
    border: 1px solid #dce8f5;
    color: #003865;
    font-weight: 600;
    background-color: #fff;
    transition: all 0.2s ease-in-out; /* Smooth transition for hover effects */
}

.page-item.active .page-link {
    background-color: #003865;
    border-color: #003865;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 56, 101, 0.2); /* Add a subtle shadow to the active item */
    transform: translateY(-2px); /* Lift the active item slightly */
}

.page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

.page-link:hover,
.page-item:not(.active) .page-link:hover {
    background-color: #eaf2f8;
    color: #003865;
    border-color: #c5d9ed;
}

.dataTables_info {
    color: #495057;
}

/*--------------------------------------------------------------
# Table
 --------------------------------------------------------------*/

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.table-responsive {
    border-radius: 12px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #003865;
    color: #fff;
    font-weight: 600;
    border-bottom: none;
}

.table tbody tr {
    background-color: #f8fafd;
    transition: background-color 0.2s ease;
}

.table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.table tbody tr:hover {
    background-color: #eaf2f8;
}

.table td, .table th {
    padding: 15px;
    vertical-align: middle;
}

/*--------------------------------------------------------------
# Floating Action Buttons
 --------------------------------------------------------------*/

.custom-fab {
    position: fixed;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1050;
}
.whatsapp-fab {
    background-color: #25D366;
    bottom: 30px;
    right: 30px;
}
.scroll-top-fab {
    background-color: #007bff;
    bottom: 90px;
    right: 30px;
    opacity: 0;
    transform: translateY(20px);
}
.scroll-top-fab.visible {
    opacity: 1;
    transform: translateY(0);
}

/*--------------------------------------------------------------
# Others
--------------------------------------------------------------*/

.see-more-btn {
    background-color: #003865;
    color: #fff;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: normal;
    transition: background-color 0.3s ease;
}
.see-more-btn:hover {
    background-color: #002b4f;
    color: #fff;
}

.sidebar-cta {
    margin-top: 25px;
}

.btn-indicator {
    background-color: #9DCE3A;
    color: #003865;
    border-radius: 12px;
    padding: 15px 20px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(157, 206, 58, 0.4);
}

.btn-indicator:hover {
    background-color: #8cb635;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(157, 206, 58, 0.5);
}

.btn-indicator i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-indicator:hover i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/
.carousel-wrapper {
    position: relative;
    padding: 0 50px; /* Provides space for the external controls */
}

/* 2. Style the navigation controls */
.carousel-wrapper .carousel-control-prev,
.carousel-wrapper .carousel-control-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
}

.carousel-wrapper .carousel-control-prev:hover,
.carousel-wrapper .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Position controls outside the carousel content area */
.carousel-wrapper .carousel-control-prev {
    left: 0;
}

.carousel-wrapper .carousel-control-next {
    right: 0;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0; /* Remove padding on mobile where controls overlay */
    }

    /* On mobile, Bootstrap defaults controls to overlay, which is fine */
    .carousel-wrapper .carousel-control-prev,
    .carousel-wrapper .carousel-control-next {
        left: 10px; /* Bring them in slightly */
        right: auto;
    }

    .carousel-wrapper .carousel-control-next {
        left: auto;
        right: 10px;
    }
}

/*@media (max-width: 991px) {*/
/*    body {*/
/*        !*padding-top: 70px;*!*/
/*    }*/

/*    .fixed-header {*/
/*        padding-top: 0;*/
/*    }*/

/*    .main-navbar-wrapper {*/
/*        padding: 0;*/
/*    }*/

/*    .main-navbar {*/
/*        border-radius: 0;*/
/*        margin-top: 0;*/
/*    }*/

/*    .navbar-nav {*/
/*        padding: 20px 0;*/
/*        text-align: center;*/
/*    }*/

/*    .navbar-nav .nav-item {*/
/*        margin: 10px 0;*/
/*    }*/

/*    .navbar-nav .nav-item:not(:last-child)::after {*/
/*        display: none;*/
/*    }*/

/*    .nav-right {*/
/*        justify-content: center;*/
/*        padding-bottom: 20px;*/
/*    }*/

/*    .hero-section {*/
/*        padding:60px 0;*/
/*        margin: 10px;*/
/*        text-align: center;*/
/*    }*/

/*    .hero-content .hero-title {*/
/*        font-size: 3rem;*/
/*    }*/

/*    .footer-section {*/
/*        !* On smaller screens, make it a static block at the end *!*/
/*        position: static;*/
/*        margin: 1rem;*/
/*        width: auto;*/
/*        border-radius: 25px;*/
/*    }*/
/*}*/
