/* Base styling and variables */
: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: 'Montserrat', sans-serif;
    font-size: 18px;
    background-color: #f8f9fa;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Base carousel styling */

/* Base carousel styling */
.carousel {
    width: 100%; /* Changed from 100vw */
    max-height: 70vh;
    margin-left: 0; /* Remove the negative margin */
    overflow: hidden;
    position: relative;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.15);
}

/* Optional: If you still need full width, use this container approach */
.carousel-container {
    width: 100%; /* Use full width */
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-inner {
    width: 100%;
    height: 70vh;
    border-bottom-left-radius: 30px; /* Match carousel radius */
    border-bottom-right-radius: 30px; /* Match carousel radius */
}

/* Image styling with smooth zoom */
.carousel-item {
    height: 70vh;
    background-color: #000;
    overflow: hidden;
    border-bottom-left-radius: 30px; /* Match carousel radius */
    border-bottom-right-radius: 30px; /* Match carousel radius */
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.6s ease-in-out;
        border-bottom-left-radius: 30px; /* Match carousel radius */
        border-bottom-right-radius: 30px; /* Match carousel radius */
    }

    .carousel-item:hover img {
        transform: scale(1.1);
    }
    /* Enhanced Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Control icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px !important;
    height: 24px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Hover effects */
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-color) !important;
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

/* Optional: Add glow effect on hover */
.carousel-control-prev:hover::after,
.carousel-control-next:hover::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.5;
    filter: blur(8px);
}

/* Enhanced caption styling */
.carousel-caption {
    background-color: rgba(255, 255, 255, 0.2); /* More transparent */
    padding: 30px 50px; /* Increased horizontal padding */
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.3);
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px; /* Fixed wider width */
    min-height: 180px; /* Fixed height */
    backdrop-filter: blur(8px); /* Added blur for better readability with transparency */
    transition: all 0.3s ease-in-out;
}

    .carousel-caption:hover {
        transform: translateX(-50%) translateY(-10px);
        box-shadow: 0 12px 28px rgba(0, 51, 102, 0.4);
        background-color: rgba(255, 255, 255, 0.25); /* Slightly less transparent on hover */
    }

    /* Caption text styling */
    .carousel-caption a {
        text-decoration: none;
        color: var(--primary-color);
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    .carousel-caption h2 {
        font-weight: 700;
        margin-bottom: 10px;
        color: var(--primary-color);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Added shadow for better readability */
    }

    .carousel-caption p {
        color: var(--text-color);
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Added shadow for better readability */
    }

/* Responsive adjustments */
@media (max-width: 992px) {
    .carousel-caption {
        width: 90%;
        padding: 25px 35px;
    }
}

/* Enhanced caption styling */
.carousel-caption {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 25px 50px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.3), 0 0 2px rgba(255, 255, 255, 0.5), /* Inner white glow */
    0 0 8px rgba(255, 255, 255, 0.3); /* Outer white glow */
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px !important;
    min-height: 140px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
}

    .carousel-caption:hover {
        transform: translateX(-50%) translateY(-10px);
        box-shadow: 0 12px 28px rgba(0, 51, 102, 0.4);
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(0);
        border-color: transparent; /* Hide border on hover */
    }

    /* Caption text styling */
    .carousel-caption h2 {
        font-weight: 700;
        margin-bottom: 8px;
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease-in-out;
        text-align: center;
    }

    .carousel-caption:hover h2 {
        color: var(--primary-color);
        text-shadow: none;
    }

    .carousel-caption p {
        color: white;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease-in-out;
        text-align: center;
        margin-bottom: 0;
    }

    .carousel-caption:hover p {
        color: var(--primary-color);
        text-shadow: none;
    }

/* Responsive adjustments */
@media (max-width: 992px) {
    .carousel-caption {
        width: 90% !important;
        padding: 20px 35px;
        bottom: 60px;
    }
}
.nb-carousel-overlay {
    background-color: rgba(0, 51, 102, 0.75);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.3);
    transform: translateY(0);
    transition: var(--transition);
}



/* Enhanced indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    z-index: 15;
}

    .carousel-indicators button {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        background-color: var(--accent-color) !important;
        border: none !important;
        margin: 0 !important;
        opacity: 0.7;
        position: relative;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important; /* Smooth transition */
    }

        .carousel-indicators button.active {
            width: 50px !important;
            border-radius: 10px !important;
            background-color: var(--primary-color) !important;
            opacity: 1;
        }

        /* Optional: Add hover effect */
        .carousel-indicators button::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: translateX(-100%);
        }

        .carousel-indicators button:hover::after {
            transform: translateX(100%);
            transition: transform 0.6s ease;
        }

    /* Optional: Add transition for width change */
    .carousel-indicators button {
        transform-origin: center;
        will-change: width;
    }


/* Hover effects */
.carousel-item:hover .nb-carousel-img {
    filter: brightness(1);
    transform: scale(1.02);
}

.nb-carousel-overlay:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 51, 102, 0.4);
}

/* Enhanced CTA section */
.nb-cta-container {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(0, 51, 102, 0.1));
    padding: 60px 0;
    border-radius: 30px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

    .nb-cta-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

    .nb-cta-container:hover::before {
        transform: translateX(100%);
    }

.nb-cta-button {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    background-size: 200% auto;
    color: white !important;
    border: none;
    border-radius: 30px;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother easing */
    position: relative;
    overflow: hidden;
}

    .nb-cta-button:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
        background-position: right center;
    }

    .nb-cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 120deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        transition: all 0.6s ease;
    }

    .nb-cta-button:hover::before {
        left: 100%;
    }

/* 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);
    }


.nb-heading {
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 20px;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #4CAF50, #003366, #4CAF50);
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient 5s ease infinite;
    text-shadow: 2px 2px 4px rgba(0, 51, 102, 0.1);
    letter-spacing: 1px;
    line-height: 1.3;
}

    /* Add the animated line effect */
    .nb-heading::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px; /* Adjust position below the text */
        height: 4px; /* Thickness of the line */
        background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
        border-radius: 2px; /* Rounded edges */
        z-index: 10; /* Ensure it's above the background */
        opacity: 0.8; /* Increased opacity for better visibility */
        animation: borderGlow 3s ease-in-out infinite; /* Apply the animation */
    }

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.2;
        filter: blur(8px);
    }

    50% {
        opacity: 0.5; /* Increased opacity during animation */
        filter: blur(12px);
    }
}

.nb-heading-container {
    position: relative;
    padding: 2rem 3rem 3rem;
    margin: 1rem auto 3rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 51, 102, 0.1),
        0 1px 8px rgba(0, 51, 102, 0.2);
    max-width: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
* Enhanced headings with container */
.nb-heading-container {
    position: relative;
    padding: 2rem 3rem 3rem;
    margin: 1rem auto 3rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1), 0 1px 8px rgba(0, 51, 102, 0.2);
    max-width: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Optional: Add subtle animated border */
.nb-heading-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 3s ease-in-out infinite;
}

@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 */
}
