/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    padding-top: 70px; /* Ensure content isn't hidden behind the fixed header */
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

/* Header */
.header-style {
    position: fixed; /* Ensure the header stays at the top */
    top: 0;
    left: 0;
    width: 100%;
    background: #011e7c;
    z-index: 9999; /* Make sure it stays above other elements */
}

.navbar-header-custom {
    padding: 10px 0;
}

.navbar-brand img {
    max-height: 65px;
    transition-duration: 0.5s;
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    display: inline;
    margin: 0 15px;
}

.navbar-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.navbar-nav a:hover {
    color: #ccc;
}

.scrollHeader .navbar-default {
    position: fixed; /* Ensures the navbar stays fixed on scroll */
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #011e7c;
    left: 0;
}

@media screen and (min-width: 992px) {
    .scrollHeader .navbar-header-custom {
        padding: 2.5px 0;
        transition-duration: 0.5s;
    }
    .scrollHeader .navbar-brand img {
        max-height: 40px;
        transition-duration: 0.5s;
    }
}

.navbar-nav > li > a {
    font-size: 14px;
}

/* Plans Overview */
.plans-overview {
    padding: 50px 0;
    text-align: center;
}

.plans-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33% - 20px);
    text-align: left;
    max-width: calc(33% - 20px);
}

.plan-card h2 {
    font-size: 1.5rem;
    margin-top: 0;
    color: #011e7c;
}

.plan-card ul {
    list-style: none;
    padding: 0;
}

.plan-card ul li {
    padding: 5px 0;
}

.priceRanger {
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: space-between; /* Space out elements */
    margin: 20px 0;
}

.priceRanger input[type="range"] {
    width: calc(100% - 150px); /* Adjust width to fit next to the button */
    margin: 0; /* Reset margin */
}

button {
    background-color: #011e7c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #010b4b;
}

/* Footer */
footer {
    background: #011e7c;
    padding: 30px 0;
}

footer img {
    max-height: 50px;
}

footer h3 {
    font-size: 1.2rem;
    margin-top: 0;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: #fff;
    text-decoration: none;
}

.footer-list a:hover {
    text-decoration: underline;
}

.footer-bar {
    background: #071a58;
    color: #aaa;
    padding: 10px 0;
    text-align: center;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #011e7c;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 9999; /* Ensure it stays above other elements */
}

.scroll-to-top:hover {
    background-color: #010b4b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .plan-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .plan-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .navbar-nav {
        display: block;
        text-align: center;
        margin-top: 10px;
    }

    .navbar-nav li {
        display: block;
        margin: 10px 0;
    }
    
    .priceRanger {
        flex-direction: column; /* Stack elements vertically */
        align-items: stretch; /* Ensure children take up full width */
    }

    .priceRanger input[type="range"] {
        width: 100%;
        margin: 10px 0;
    }

    .scroll-to-top {
        bottom: 10px;
        right: 10px;
        padding: 8px;
    }
}

@media screen and (max-width: 991px) {
    .navbar-nav {
        background: #2242ab;
    }
    .navbar-toggler:after {
        border-top: 2px solid #2242ab;
        border-bottom: 2px solid #2242ab;
    }
    .navbar-toggler:before {
        background: #2242ab;
    }
    .navbar-toggler {
        background: #f5f0f0;
    }
    .navbar-toggler.menu-opened:before {
        background: #011e7c;
    }
    .navbar-toggler.menu-opened:after {
        background: #011e7c;
    }
}

/* Additional Styles */
.butn.theme, .pricing-list.highlight, .pricing-list-button {
    background: #011e7c;
    color: #fff;
}

.pricing-list span {
    color: #011e7c;
}
