﻿:root {
    --bg-navy: #003b45; /* Navy greenish background */
    --text-color: #003b45;
    --text-orange: #cc5500;
}
.text-dark-orange {
    color: var(--text-orange);
}
/* Base dropdown menu styling */
.dropdown-menu {
    background-color: #f8f9fa; /* light background */
    border: 1px solid #ddd;
    min-width: 200px;
    padding: 0;
    margin: 0;
}

/* Dropdown items */
.dropdown-item {
    color: #333;
    padding: 10px 20px;
    transition: background-color 0.2s ease;
}

    /* Hover effect for dropdown item */
    .dropdown-item:hover {
        background-color: lightgray;
        color: #fff;
    }


.no-hover:hover {
    background-color: var(--bg-navy) !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.text-color {
    color: var(--text-color);
}
body{
     background-color: #f1f3f1;
       
    }
    body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
    }
.high-contrast a {
     color: rgb(0, 0, 0) !important;
    }
.navbar .dropdown:hover > .dropdown-menu {
     display: block;
}
#accessibilityDropdown + .dropdown-menu {
    z-index: 1040 !important;
    position: absolute;
}
    @media (min-width: 1030px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1380px;
    }
    .overlay {
        opacity: 0;
        transition: opacity 0.3s ease;
        cursor: default;
    }
    .card:hover .overlay {
        opacity: 1;
    }
 
}

   /* Ensure dropdown shows above navbar */
    #accessibilityDropdown + .dropdown-menu {
        z-index: 1080 !important; /* Higher than navbar's 1050 */
    }

.dropdown-menu {
    z-index: 1055; /* Bootstrap default, or increase if needed */
    position: absolute;
}


    .dropdown {
        position: relative; /* Required for correct absolute positioning of menu */
    }

    /*HomePage*/
.conbg {
    background-color: #eaf6f6;
}
.zoom-card {
    transition: transform 0.3s ease;
}

    .zoom-card:hover {
        transform: scale(1.03);
    }

.overlay-zoom {
    background-color: rgba(0, 123, 255, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.zoom-card:hover .overlay-zoom {
    opacity: 1;
}

.citizen-section {
    position: relative;
    overflow: hidden;
    background-color: #eaf6f6; /* fallback color */
}

    .citizen-section::before {
        content: "";
        background: url(https://static.vecteezy.com/system/resources/previews/002/058/956/non_2x/outline-of-skyscraper-building-city-skyline-illustration-vector.jpg) no-repeat center center;
        background-size: cover;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0.08; /* Adjust this value for transparency */
        z-index: 1;
    }

.citizen-content {
    position: relative;
    z-index: 2;
}


.floating-image {
    position: absolute;
    right: 0;
    border-radius: 50%;
    bottom: 3%;
    max-width: 350px;
    z-index: 1;
}



.icon-box i {
    font-size: 2.5rem;
}

.ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-content {
    animation: ticker-scroll 25s linear infinite;
    display: inline-flex;
    min-width: 100%;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ticker-content span {
    font-weight: 500;
    font-size: 1rem;
    white-space: nowrap;
    color: #065f46;
}

.service-box {
    transition: all 0.3s ease-in-out;
    border: 1px solid #e0e0e0;
}

    .service-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-color: #0d6efd;
    }

        .service-box:hover img {
            transform: scale(1.1);
        }

    .service-box img {
        transition: transform 0.3s ease;
    }

.hero-carousel-img {
    max-height: 750px;
    object-fit: cover;
}

.bg-dark-green {
    background-color: var(--bg-navy);
}
/* Decorative circles for main content */
.circle-top-end {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
}

.circle-bottom-start {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
}

/* Divider under heading */
.service-divider {
    width: 100px;
    border-top: 3px solid #0d6efd;
}

/* Service icon */
.service-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.image-gallery-section {
    background-color: #EAF6F6;
}

.gallery-divider {
    width: 100px;
    border-top: 3px solid #0d6efd;
}

.gallery-image {
    height: 200px;
    object-fit: cover;
}
.section-divider {
    width: 100px;
    border-top: 3px solid #0d6efd;
}
.bg-navy {
    background-color: var(--bg-navy) !important;
}

.bg-secondary {
    background-color: #6c757d !important; /* Optional: your secondary color */
}
/*login page */
/* Login Container Max Width */
.login-container {
    max-width: 900px;
}

/* Left Panel Gradient & Padding */
.login-left-panel {
    background: linear-gradient(135deg, rgb(30, 44, 41), rgb(60, 184, 170));
    padding: 2rem;
}

/* Logo Styling */
.login-logo {
    height: 50px;
}

/* Login Button Background Color */
.login-btn {
    background-color: rgb(64, 92, 86);
}

/* Optional Enhancements */
.login-form input::placeholder {
    font-style: italic;
    color: #aaa;
}

.login-form {
    background-color: #fff;
}

/*about page */
/* Hero Section */
.hero-section {
    background-color: var(--bg-navy); /* Or your desired hero section background */
}

/* Section Title Banner */
.section-heading {
    background-color: var(--bg-navy); /* Same as .tab-btn-dark if you're using that class */
}

/* Image Styling for Cards */
.place-img {
    height: 420px;
    object-fit: cover;
    width: 100%;
}

/* Optional: Add card uniform spacing */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    
}



/layout/
/* Ensure the accessibility dropdown appears above the sticky navbar */
#accessibilityDropdown + .dropdown-menu {
    z-index: 1040 !important; /* higher than navbar's 1030 */
    position: absolute;
}

.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

.custom-dropdown {
    background-color: #f8f9fa; /* Light background */
    border-radius: 0.5rem; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

    .custom-dropdown .dropdown-item {
        padding: 10px 20px; /* Increased padding for better spacing */
        color: #333; /* Dark text color */
        transition: background-color 0.3s ease; /* Smooth transition */
    }

        .custom-dropdown .dropdown-item:hover {
            background-color: #e9ecef; /* Light gray on hover */
            color: #007bff; /* Change text color on hover */
        }

        .custom-dropdown .dropdown-item:focus {
            outline: none; /* Remove outline on focus */
            background-color: #e9ecef; /* Same hover color for focus */
        }

.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown on hover */
}
.nav-link {
    border-bottom: 3px solid white;
}
/* Blue underline on active dropdown */
.nav-item.dropdown .nav-link.active,
.nav-item.dropdown .nav-link:focus,
.nav-item.dropdown .nav-link:hover,
.nav-item.dropdown:hover > .nav-link {
    border-bottom: 3px solid #005b07;
}


/* Style dropdown menu */
.dropdown-menu {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Dropdown items */
.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: #000;
    transition: all 0.2s ease-in-out;
}

    /* Hover effect on dropdown items */
    .dropdown-item:hover {
        color: black;
        font-weight: 600;
    }

    /* Nested submenu indicator (optional) */
    .dropdown-item::after {
        content: "";
        float: right;
        margin-left: 5px;
        border: solid #ccc;
        border-width: 0 2px 2px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(-45deg);
        opacity: 0;
        transition: 0.2s ease;
    }

    /* Show arrow only if needed (like 'Tourism >') */
    .dropdown-item.has-submenu::after {
        opacity: 1;
    }

@media (max-width: 991.98px) {
    .top-header {
        display: none;
    }
}
/*Top Header */
.top-header {
    background-color: var(--bg-navy);
}

.accessibility-menu {
    min-width: 120px;
}

.contrast-dark {
    background-color: #000 !important;
    color: #fff !important;
}

.contrast-light {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.search-form {
    max-width: 400px;
}

.lang-select {
    min-width: 120px;
}

/* Sticky Navbar Styling */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Logo Sizes */
.logo-large {
    height: 50px;
}

.logo-small {
    height: 35px;
}

/* Dropdown Hover Fix (optional for hover effect on desktop) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/*/admin layout/*/
.body {
    overflow-x: hidden;
}

.sidebar {
    background-color: #343a40;
    min-height: 100vh;
}

    .sidebar a {
        color: #ffffff;
        padding: 12px 20px;
        display: block;
        text-decoration: none;
    }

        .sidebar a:hover {
            background-color: #495057;
        }

.navbar-brand {
    font-weight: bold;
}

.content {
    padding: 1.5rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        min-height: auto;
    }
}

.mw {
    max-width: 180px;
}

/*DEPARTMENT*/
.list-group-item a {
    text-decoration: none; /* Remove underline */
    color: #003b45;
}

    .list-group-item a:hover {
        color: #0d6efd; /* Bootstrap primary */
    }

/*INTRODUCTION*/
.place-image {
    height: 420px;
    object-fit: cover;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), no-repeat center center;
    background-size: cover;
}
a {
    color: var(--bs-link-color);
    text-decoration: none;
}

/*Contect us*/
.icon-circle {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

/* Custom modal size */
.custom-modal-size {
    max-width: 600px; /* Adjust width as needed */
    width: 100%;
}

/* Ensure image fits inside carousel with fixed height */
.carousel-img {
    max-height: 400px; /* Fixed height */
    width: auto;
    max-width: 100%;
    object-fit: contain; /* Ensure image keeps aspect ratio */
    margin: 0 auto;
}
/* ✅ Base: Hide toggle buttons and main menu by default */
#toggleTopHeaderBtn,
#mainNavBar,
#mainMenuItems {
    display: none;
}

/* ✅ Show toggle buttons and mainNavBar (hamburger) on medium screens (tablet) */
@media (min-width: 992px) and (max-width: 1314px) {
    #toggleTopHeaderBtn,
    #mainNavBar {
        display: inline-block !important;
    }

    /* Hide default navbar items except inside offcanvas */
    .navbar-nav:not(#mainMenuItems) {
        display: none !important;
    }

    /* Show offcanvas menu content vertically */
    #mainMenuItems {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Optional: Hide top-header initially, only toggle on button click */
    .top-header {
        display: none;
    }
}

/* ✅ Show normal horizontal navbar on desktop screens */
@media (min-width: 1315px) {
    #mainMenuItems {
        display: flex !important;
        flex-direction: row;
        gap: 1rem;
    }

    /* Hide hamburger and header toggle on wide screens */
    #mainNavBar,
    #toggleTopHeaderBtn {
        display: none !important;
    }

    /* Always show top-header */
    .top-header {
        display: block !important;
    }
}
/* Hide by default */
#toggleTopHeaderBtn, #mainNavBar {
    display: none;
}

/* Show the toggle button at 1314px or less */
@media (max-width: 1314px) {
    #toggleTopHeaderBtn, #mainNavBar {
        display: inline-block !important;
        background-color : white;
    }
}
/* Default styles */
.responsive-logo {
    height: 50px;
    border-radius: 50%;
}

.responsive-title {
    font-size: 0.90rem;
}

.responsive-subtitle {
    font-size: 0.80rem;
}

/* Responsive overrides for smaller screens */
@media (max-width: 576px) {
    .responsive-logo {
        height: 30px;
    }

    .responsive-title {
        font-size: 0.65rem;
    }

    .responsive-subtitle {
        font-size: 0.55rem;
    }
}
