:root {
    --primary-color: #003f87;
    --primary-dark: #1769a3;
    --primary-light: #3a97d8;
    --primary-very-light: #e9f4fc;
    --secondary-color: #2c3e50;
    --text-dark: #333333;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Global Styles */
body {
    font-family: "Montserrat", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 500;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(31, 130, 200, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(31, 130, 200, 0.3);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-weight: 700;
}



.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(31, 130, 200, 0.25);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
.site-header {
    position: relative;
    z-index: 1000;
}

/* Top Bar Styling */
.top-bar {
    font-size: 0.85rem;
    background-color: #f0f7fd !important;
    border-bottom: 1px solid rgba(31, 130, 200, 0.1) !important;
}

.top-bar a:hover {
    color: var(--primary-color) !important;
    transition: color 0.2s ease;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
}

.language-selector .btn-link {
    color: var(--text-light);
}

.language-selector .btn-link:hover {
    color: var(--primary-color);
}

.dropdown-menu {
    border-radius: 0.25rem;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-color);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(31, 130, 200, 0.08);
    color: var(--primary-color);
}

/* Main Navigation */
#mainNav {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

#mainNav.navbar-scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}



/* Mobile Navigation Styles */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    max-width: 90%;
    height: 100%;
    background-color: #fff;
    z-index: 1100;
    overflow-y: auto;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-nav-sidebar.show {
    left: 0;
}

.mobile-nav-header {
    background-color: var(--primary-very-light);
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-menu {
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    margin-bottom: 0.25rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-link.active {
    background-color: var(--primary-very-light);
    color: var(--primary-color);
}

.mobile-nav-dropdown-toggle {
    cursor: pointer;
}

.mobile-nav-dropdown-icon {
    transition: transform 0.2s ease;
}

.mobile-nav-dropdown-toggle.active .mobile-nav-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-nav-dropdown {
    display: none;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.mobile-nav-dropdown.show {
    display: block;
}

.mobile-nav-contact i {
    color: var(--primary-color) !important;
}

.social-link-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f7fd;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link-mobile:hover {
    background-color: var(--primary-color);
    color: #fff;
}

body.mobile-nav-open {
    overflow: hidden;
}

/* Footer Styles */
.site-footer {
    position: relative;
    background-color: #08213f;
    color: #fff;
    padding-top: 4rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.widget-title.border-start {
    border-color: #50afee !important;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-block;
    padding: 0.375rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-link:before {
    content: "›";
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-5px);
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-link:hover:before {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary-color);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(31, 130, 200, 0.3);
}

.contact-info li {
    margin-bottom: 1rem;
}

.contact-info .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 5%);
    color: #ffffff;
}

.contact-info .text a {
    transition: color 0.3s ease;
}

.contact-info .text a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.newsletter-box {
    background-color: #0c2848 !important;
    border-radius: 0.75rem !important;
    padding: 2rem !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.newsletter-box h4 {
    color: #fff;
    font-weight: 600;
}

.newsletter-box p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 0.375rem 0 0 0.375rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0 0.375rem 0.375rem 0;
    transition: all 0.3s ease;
}

.newsletter-form .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(31, 130, 200, 0.3);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 4rem !important;
}

.footer-bottom-links a {
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color) !important;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(31, 130, 200, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: pulse 2s infinite;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 130, 200, 0.5);
}

/* Animation for back to top button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(31, 130, 200, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(31, 130, 200, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(31, 130, 200, 0);
    }
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(31, 130, 200, 0.1);
}

.modal-header .btn-close:focus {
    box-shadow: none;
}

.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Search Modal */
#searchModal .modal-body {
    padding: 1.5rem;
}

#searchModal .form-control {
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem 0 0 0.375rem;
    border: 1px solid var(--border-color);
}

#searchModal .btn-primary {
    border-radius: 0 0.375rem 0.375rem 0;
    padding: 0.75rem 1.5rem;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

.alert-primary {
    background-color: rgba(31, 130, 200, 0.1);
    color: var(--primary-dark);
}

/* Pagination */
.pagination .page-item .page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
    margin: 0 3px;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 10px rgba(31, 130, 200, 0.2);
}

.pagination .page-item .page-link:hover {
    background-color: var(--primary-very-light);
    color: var(--primary-color);
    border-color: var(--primary-light);
}

/* Breadcrumb */
.breadcrumb {
    padding: 0.75rem 1rem;
    background-color: var(--primary-very-light);
    border-radius: 0.375rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-dark);
}

/* Content Sections */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.bg-primary-light {
    background-color: var(--primary-very-light) !important;
}

/* Feature Box */
.feature-box {
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background-color: var(--primary-very-light);
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Blog Card */
.blog-card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card .card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .card-title a:hover {
    color: var(--primary-color);
}

.blog-card .card-text {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.blog-card .card-footer {
    background-color: transparent;
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

.blog-card .card-meta {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.blog-card .card-meta-item {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.blog-card .card-meta-icon {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Testimonial Card */
.testimonial-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-card:before {
    content: '\201C';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    opacity: 0.3;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 3px solid var(--primary-very-light);
}

.testimonial-info h5 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-info p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Team Card */
.team-card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-card .card-img-top {
    height: 300px;
    object-fit: cover;
}

.team-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.team-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card .card-subtitle {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.team-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-very-light);
    color: var(--primary-color);
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.team-social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form .form-control {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(31, 130, 200, 0.25);
}

.contact-form textarea.form-control {
    min-height: 150px;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--text-dark);
}

.contact-info-box {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-very-light);
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-info-content p {
    margin-bottom: 0;
}

.contact-info-content a {
    /*color: var(--text-light);*/
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }

    .section-sm {
        padding: 2.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3rem 0;
    }

    .section-sm {
        padding: 2rem 0;
    }

    .footer-widget {
        margin-bottom: 2rem;
    }

    .newsletter-box {
        padding: 1.5rem !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1d8e9;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}