:root {
    --primary-color: #003366;
    --accent-color: rgba(76, 175, 80, 0.7);
    --hover-color: rgba(0, 51, 102, 0.3);
    --text-color: #333;
    --transition: all 0.3s ease;
}

/* Ensure the body has no horizontal scroll */
body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif, !important;
    font-size: 18px;
    background-color: #f8f9fa;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}
/* Force navbar layout */
.nb-navbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.navbar-brand-wrapper {
    flex: 0 0 auto;
}

.nav-wrapper {
    flex: 1;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}


.navbar-nav {
    margin-left: auto !important;
    margin-right: 1rem !important;
}

/* Mobile styles */
@media (max-width: 576px) {
    .nav-wrapper {
        justify-content: flex-end !important;
    }

    #navbarResponsive {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        flex-direction: column !important;
        align-items: center !important;
    }

    .navbar-nav {
        margin: 0 0 1rem 0 !important;
    }
}



/* Enhanced Navigation */
.nb-navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.15); /* Enhanced shadow */
    position: relative;
    z-index: 1030; /* Higher z-index to stay above carousel */
}

    /* Optional: Add transition for shadow on scroll */
    .nb-navbar.scrolled {
        box-shadow: 0 4px 25px rgba(0, 51, 102, 0.2);
    }

.nb-nav-link {
    position: relative;
    padding: 8px 15px !important;
}

    .nb-nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--accent-color);
        transition: var(--transition);
        transform: translateX(-50%);
    }

    .nb-nav-link:hover::after {
        width: 100%;
    }

/* Enhanced Scroll to top button */
.nb-scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    border: none; /* Remove the border */
    outline: none; /* Remove the outline */
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0; /* Remove any padding */
}

    .nb-scroll-top:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
        opacity: 1;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    }

    .nb-scroll-top:focus {
        outline: none; /* Remove focus outline */
        border: none; /* Remove focus border */
    }

    .nb-scroll-top i {
        font-size: 24px;
        color: #fff;
        transition: transform 0.3s ease;
    }

    .nb-scroll-top:hover i {
        transform: translateY(-2px);
    }




@keyframes borderGlow {
    0%, 100% {
        opacity: 0.2;
        filter: blur(8px);
    }

    50% {
        opacity: 0.1;
        filter: blur(12px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nb-heading-container {
        padding: 1.5rem 1.5rem 2.5rem;
        margin: 1rem;
    }

    .nb-heading {
        font-size: 2.5rem;
    }
}
/* Add gradient animation */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Add responsive styles */
@media (max-width: 768px) {
    .nb-heading {
        font-size: 2.5rem;
        padding-bottom: 20px;
    }
}

/* Optional: Add a subtle hover effect */
.nb-heading:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Enhanced Footer */
.footer-container {
    background: white;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 25px 20px;
    box-shadow: 0 -10px 30px rgba(0, 51, 102, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
}

.footer-email {
    color: var(--primary-color);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 6px 20px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.1);
}

    .footer-email:hover {
        background: rgba(76, 175, 80, 0.2);
        transform: translateY(-3px);
        color: var(--primary-color);
    }

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .social-link:hover {
        transform: translateY(-3px);
        background-color: var(--accent-color);
    }

.social-icon {
    width: 18px;
    height: 18px;
    fill: white;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .nb-carousel-overlay {
        padding: 20px;
    }

    .nb-cta-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .nb-heading::after {
        width: 80%;
    }
}
/* Language Switcher Buttons */
.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    position: relative;
    width: 45px;
    height: 45px;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .lang-btn:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 51, 102, 0.2);
        border-color: var(--accent-color);
    }

    .lang-btn:active {
        transform: translateY(-1px);
    }

    .lang-btn img {
        width: 24px;
        height: auto;
        transition: all 0.3s ease;
        filter: saturate(0.7) opacity(0.8); /* Muted colors */
    }

    .lang-btn:hover img {
        transform: scale(1.1);
    }

    /* Optional: Glow effect on hover */
    .lang-btn::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 50%;
        background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
        z-index: -1;
        opacity: 0;
        filter: blur(8px);
        transition: opacity 0.3s ease;
    }

    .lang-btn:hover::after {
        opacity: 0.5;
    }

.nb-nav-brand img {
    width: 200px;
    height: auto;
    margin-left: 20px;
}

/* Add responsive adjustments if needed */
@media (max-width: 768px) {
    .nb-nav-brand img {
        width: 150px; /* Smaller on mobile */
    }
}

.line-container {
    position: relative;
    margin-bottom: 50px; /* Increase space above the line */
}

.animated-line {
    height: 6px; /* Increase thickness of the line */
    background: linear-gradient(45deg, #003366, #4CAF50); /* Change colors as needed */
    width: 50%; /* Start with width 50% */
    transition: width 0.5s ease; /* Smooth transition */
    margin: 0 auto; /* Center the line */
    opacity: 1; /* Ensure it's visible */
    border-radius: 10px; /* Round the edges */
}

.nb-heading:hover + .line-container .animated-line {
    width: 100%; /* Grow to full width on hover of the heading */
}
/* Enhanced hero text and animations */
.welcome2 h1, .welcome2 h2 {
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.welcome2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 2s infinite;
}


/* Phone button styles */
.nb-phone-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

    .nb-phone-button:hover {
        transform: translateY(-3px);
        color: white;
        box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
    }

.nb-phone-circle {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

/* Add new animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-50%) translateX(-100%);
    }

    100% {
        transform: translateX(-50%) translateX(100%);
    }
}

/* Enhanced chat container */
.container.bg-light:last-of-type {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    overflow: hidden;
    z-index: 1;
}

    .container.bg-light:last-of-type::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color) );
        border-radius: 22px;
        z-index: -1;
        animation: borderGlow 3s ease-in-out infinite;
    }