/* Custom Styling */
/* @font-face {
    font-family: "SegoeTVStdBold";
    src: url("/fonts/SegoeTVBold.TTF") format("truetype");
    font-weight: bold;
    font-style: normal;
}

/* Apply font globally EXCEPT for icons/logos */
/* *:not(i):not(.icon):not(.logo):not([class*="icon"]) {
    font-family: "SegoeTVStdBold", sans-serif !important;
} */

body {
    cursor: url('/icons/cursor.cur'), auto;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}


/* Header */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    box-shadow: #3C3D37;
    background-color: #fff;
    color: gray;
    padding: 10px 0; /* Increase padding for better height */
    text-align: center; /* Center align the content in the navbar */
}

/* Center navbar items and make them bigger and bolder */
.navbar-nav {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem; /* Increase font size */
    font-weight: bold; /* Make the text bolder */
}

.navbar-nav {
    margin-left: 250px;
    margin-right: 50px;
}

.nav-item {
    margin-left: 50px; /* Adjust spacing between nav items */
}

.navbar-brand {
    font-size: 1.5rem; /* Increase logo size */
    font-weight: bold; /* Make the logo bold */
}

/* Ensure the toggle button is visible */
.navbar-toggler {
    color: orange;
    border-color: orange;
}

.nav-link {
    color:#3C3D37; /* Ensures nav link text color is white */
}

/* On hover, change text color to enhance visibility */
.nav-link:hover {
    color: #FF8911 !important;
}

/* Reset navbar styles to avoid underline affecting entire navbar */
.navbar {
    border: none;
}

/* Active link styling */
.navbar-nav .nav-link.active {
    position: relative;
    color: #FF8911 !important;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

/* Underline animation only for active link */
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #FF8911;
    animation: active-underline 0.5s ease-in-out;
}

/* Hover effect for links */
.navbar-nav .nav-link:hover {
    color: #FF8911 !important;
    text-decoration: none;
    position: relative;
}

/* Hover underline animation */
.navbar-nav .nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #FF8911;
    animation: hover-underline 0.3s ease-in-out;
}

/* Keyframes for underline animations */
@keyframes active-underline {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes hover-underline {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}


.map-container {
    position: relative;
    width: 80%;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 5px solid transparent;
    animation: border-pulse 2s infinite alternate;
}

@keyframes border-pulse {
    0% {
        border-color: #ff6600;
        box-shadow: 0 0 10px #ff6600;
    }
    50% {
        border-color: #ff8c00;
        box-shadow: 0 0 15px #f7e308;
    }
    100% {
        border-color: #ffa600;
        box-shadow: 0 0 20px #ff9d00;
    }
}


@keyframes border-glow {
    0% {
        border-color: #ff6600;
    }
    100% {
        border-color: #ff3300;
    }
}

#map {
    height: 500px;
    width: 100%;
}

/* Office Categories */
.office-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.category-btn {
    padding: 12px 20px;
    border: none;
    background-color: #0482ff;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn i {
    margin-right: 8px;
}

.category-btn:hover {
    background-color: #ff6600;
}

/* Office Details Section */
#office-details {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    margin: 20px auto;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.office-card {
    background: #fff;
    padding: 15px;
    margin: 15px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 80%;
}

.office-card h4 {
    color: #0c86ff;
    margin-bottom: 10px;
}

.office-card p {
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
}

.office-card i {
    color: #ff6600;
    margin-right: 8px;
}

.office-card a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

.office-card a:hover {
    text-decoration: underline;
}


/* Increase popup width */
.custom-popup {
    max-width: 600px;
    text-align: left;
    padding: 10px;
    word-wrap: break-word;
    position: relative;
}

/* Flexbox for better content alignment */
.popup-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Style the default Leaflet close button */
.leaflet-popup-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #ff6600;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.leaflet-popup-close-button:hover {
    transform: scale(1.2);
    color: #cc5500;
}

/* Title styling */
.popup-box h3 {
    color: #ff6600;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Ensure text and icons align properly */
.popup-box p {
    font-size: 14px;
    color: #444;
    margin: 5px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    word-break: break-word;
}

/* Style icons */
.popup-box i {
    color: #ff6600;
    margin-right: 8px;
    min-width: 20px;
}

/* Ensure email wraps properly */
.popup-box a {
    color: #ff6600;
    font-weight: bold;
    text-decoration: none;
    word-break: break-word;
}

.popup-box a:hover {
    text-decoration: underline;
}

/* Particles.js Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure it stays behind other elements */
    top: 0;
    left: 0;
    background: #002244; /* Dark background for contrast */
}
