
/* Body */
body {
    font-family: Arial, sans-serif;
    padding-top: 70px;
}

/* Navbar */
.navbar {
    background-color: #1266ba !important;
    color: white !important;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: white !important;
    transition: 0.3s ease;
    transform: scale(1);
}

/* Hover zoom-out effect */
.navbar .nav-link:hover {
    color: #e2e6ea !important;
    transform: scale(0.9);
}

/* Dropdown menu styling */
.dropdown-menu {
    background-color: #1266ba;
    border: none;
}
.dropdown-menu .dropdown-item {
    color: white;
}
.dropdown-menu .dropdown-item:hover {
    background-color: #0e4f8a;
}

/* Override bootstrap dropdown */
.navbar .dropdown-menu {
    background-color: #0d6efd !important;
}

.navbar .dropdown-menu a {
    color: white !important;
}

.navbar .dropdown-menu a:hover {
    background-color: #084298 !important;
}

/* Carousel */
.carousel-item {
    height: 400px;
    background-size: cover;
    background-position: center;
}

/* Testimonials */
.testimonial-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    min-height: 180px;
}

/* Footer */
footer {
    background-color:  #0a1a3c!important;
    color: white !important;
    padding: 20px 0;
    text-align: center;
    width: 100vw;
}


/*About Us Dropdown menu*/
.navbar .dropdown-menu {
    background-color: #0d6efd !important; /* blue */
    border: none;
    min-width: 220px;
}

.navbar .dropdown-item {
    color: white !important;
    padding: 10px 16px;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: #084298 !important; /* darker blue on hover */
    color: #fff !important;
}

/*Hamburger Cross Function*/
.custom-toggler {
    border: none;
    outline: none;
}

.custom-toggler .toggler-icon {
    width: 28px;
    height: 3px;
    background-color: white;
    display: block;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
}

/* When navbar is opened */
.custom-toggler.active .top-bar {
    transform: translateY(9px) rotate(45deg);
}

.custom-toggler.active .middle-bar {
    opacity: 0;
}

.custom-toggler.active .bottom-bar {
    transform: translateY(-9px) rotate(-45deg);
}

/* Remove default outline */
.navbar-toggler:focus {
    box-shadow: none;
}

#services-offered .card {
    transition: 0.3s;
}

#services-offered .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

/*JSE inspired topbar*/
.jse-topbar-wrapper {
    background: #0a1a3c; /* same JSE dark red */
    padding: 6px 0;
    position: relative;
}

/* Right angled shape */
.jse-topbar-wrapper::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 260px;
    background: #6914aa;
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
}

/* Topbar inside container */
.jse-topbar {
    color: #fff;
    font-size: 14px;
    z-index: 5;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

/* Left items: GST, phone, email */
.jse-item {
    margin-right: 28px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 400;
}

.jse-item i {
    margin-right: 6px;
    font-size: 15px;
}

/* Right side links */
.jse-link {
    color: #fff;
    margin-right: 22px;
    cursor: pointer;
}

.jse-link:hover {
    text-decoration: underline;
}

/* Social icons */
.jse-social {
    font-size: 17px;
    margin-right: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.jse-social:hover {
    opacity: 0.85;
}

/* Remove all body default margin (main reason for the gap) */
body {
    margin: 0 !important;
    padding: 0;
}

/* Wrapper must be fixed at top WITH ZERO GAP */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/* Push down the entire page content so it doesn't hide under fixed header */
.hero, #home {
    margin-top: 120px; /* Adjust height of topbar + navbar */
}

/* JSE style topbar */
.jse-topbar-wrapper {
    background: #2b0a78; /* JSE color */
    color: white;
    padding: 8px 0;
}

.jse-item {
    margin-right: 20px;
    font-size: 14px;
}

.jse-link {
    margin-right: 20px;
    cursor: pointer;
    font-size: 14px;
}

.jse-social {
    margin-right: 12px;
    font-size: 18px;
    cursor: pointer;
}

/* Navbar styling */
.custom-navbar {
    background: #0d67bd; /* JSE Blue */
}
.navbar-brand, .nav-link {
    color: white !important;
}

/*New Carosel*/

.carousel-item {
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

.hero img {
    height: 400px;         /* adjust height as needed */
    object-fit: cover;     /* ensures full coverage */
}

/*Our Client Sliding effect*/
#clients h2 {
    font-weight: 700;
}

.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    width: calc(250px * 14); /* 7 logos × 2 duplicated */
    animation: scroll 25s linear infinite;
}

.logo-track img {
    width: 180px;
    height: 100px;
    object-fit: contain;
    margin: 0 30px;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}

/*New Footer*/
.footer {
    background:  #053564;
}

.footer p,
.footer a,
.footer h5 {
    color: #ffffff !important;
}

.footer a:hover {
    color: #cccccc !important;
}

.footer-logo img {
    filter: brightness(0) invert(1);
}


/* --- TOPBAR BASE STYLES --- */
.jse-topbar-wrapper {
    background: linear-gradient(90deg, #1a397c, #6a0dad);
    color: white;
    padding: 6px 0;
    font-size: 14px;
}

.jse-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.jse-item {
    margin-right: 18px;
    display: flex;
    align-items: center;
}

.jse-item i {
    margin-right: 6px;
    font-size: 16px;
}

/* --- SOCIAL ICONS --- */
.jse-social {
    margin-left: 12px;
    font-size: 18px;
    cursor: pointer;
}

/* --- MOBILE FIX --- */
@media (max-width: 768px) {
    /* ❌ Hide social icons */
    .jse-social {
        display: none !important;
    }

    /* Make topbar a single row */
    .jse-topbar {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        gap: 10px;
        padding: 5px 10px;
    }

    /* Inline items */
    .jse-item {
        margin-right: 10px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* Carousel text styling */
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 20px;
}

.caption-bg {
    background: rgba(0, 0, 0, 0.55);
    padding: 20px 40px;
    border-radius: 10px;
    display: inline-block;
    animation: fadeIn 1.2s ease-in-out;
    backdrop-filter: blur(2px);
}

.caption-bg h1,
.caption-bg p {
    color: #fff !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Service Page Styling */
.service-section {
    position: relative;
    padding: 100px 0;
    background: #f8f9ff;
}

.service-section::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 380px;
    height: 380px;
}

.service-text {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* About US PAGE */
/* Inner Banner */
.inner-banner {
    position: relative;
    width: 100%;
    height: 330px;
    overflow: hidden;
}

.inner-banner img {
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.inner-banner-text {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.inner-banner-text h1 {
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 32px;
}

/* Two-column section */
.about-section {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.about-section img {
    width: 100%;
    border-radius: 14px; /* rounded image */
}

.about-text h2 {
    color: #2b0a78;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }
}

/* Ensure dropdown stays inside screen */
.dropdown-menu {
    position: absolute;
    left: 0;
    right: auto;
}

/* Multi-Level Dropdown (vertical stacked) */
.dropdown-submenu .dropdown-menu {
    display: none;
    position: relative;
    margin-left: 0;
    background-color: #0d6efd !important;
    border-radius: 0;
    width: 100%;
}

/* Show submenu on hover (desktop) */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Mobile / Small Screens — Toggle open style */
.dropdown-menu.show .dropdown-menu {
    display: block;
}

/* Better spacing + prevents overflow */
.dropdown-item {
    white-space: normal;
}







.dropdown-menu {
    width: 260px;
}

.dropdown-menu .dropdown-item.dropdown-toggle::after {
    content: "▼";
    float: right;
    font-size: 11px;
    margin-top: 5px;
}

.dropdown-menu ul a {
    background: #0d6efd;
    color: white;
    padding-left: 25px !important;
}

.dropdown-menu ul a:hover {
    background: #084298 !important;
}
