/* ==========================================================================
   SISYP - Custom Styles
   ========================================================================== */

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Sections should not clip dropdowns */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.site-header .navbar {
    padding: 12px 0;
}

.site-header .navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #3b82f6 !important;
}

.site-header .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.site-header .nav-link:hover {
    color: #3b82f6;
}

/* --------------------------------------------------------------------------
   Homepage: transparent header overlaid on the hero image.
   Inner pages keep the default solid white navbar (rules above).
   -------------------------------------------------------------------------- */
body.home .site-header,
body.front-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

body.home .site-header .navbar,
body.front-page .site-header .navbar {
    background: transparent !important;
    box-shadow: none !important;
}

/* Light logo + menu text over the hero image */
body.home .site-header .navbar-brand,
body.front-page .site-header .navbar-brand {
    color: #fff !important;
}

body.home .site-header .navbar .navbar-nav .nav-item .nav-link,
body.front-page .site-header .navbar .navbar-nav .nav-item .nav-link,
body.home .site-header .nav-link,
body.front-page .site-header .nav-link {
    color: #fff;
}

body.home .site-header .navbar .navbar-nav .nav-item .nav-link:hover,
body.front-page .site-header .navbar .navbar-nav .nav-item .nav-link:hover,
body.home .site-header .nav-link:hover,
body.front-page .site-header .nav-link:hover,
body.home .site-header .navbar .navbar-nav .current-menu-item>.nav-link,
body.front-page .site-header .navbar .navbar-nav .current-menu-item>.nav-link,
body.home .site-header .navbar .navbar-nav .current_page_item>.nav-link,
body.front-page .site-header .navbar .navbar-nav .current_page_item>.nav-link {
    color: #fbbf24;
}

/* Make the hamburger icon visible on the dark hero */
body.home .site-header .navbar-toggler,
body.front-page .site-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

body.home .site-header .navbar-toggler-icon,
body.front-page .site-header .navbar-toggler-icon {
    filter: invert(1) brightness(2);
}

/* When scrolled, the homepage navbar becomes solid white for readability */
body.home .site-header .navbar.navbar-scrolled,
body.front-page .site-header .navbar.navbar-scrolled {
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

body.home .site-header .navbar.navbar-scrolled .navbar-brand,
body.front-page .site-header .navbar.navbar-scrolled .navbar-brand {
    color: #3b82f6 !important;
}

body.home .site-header .navbar.navbar-scrolled .navbar-nav .nav-item .nav-link,
body.front-page .site-header .navbar.navbar-scrolled .navbar-nav .nav-item .nav-link,
body.home .site-header .navbar.navbar-scrolled .nav-link,
body.front-page .site-header .navbar.navbar-scrolled .nav-link {
    color: #555;
}

body.home .site-header .navbar.navbar-scrolled .navbar-nav .nav-item .nav-link:hover,
body.front-page .site-header .navbar.navbar-scrolled .navbar-nav .nav-item .nav-link:hover,
body.home .site-header .navbar.navbar-scrolled .nav-link:hover,
body.front-page .site-header .navbar.navbar-scrolled .nav-link:hover {
    color: #3b82f6;
}

body.home .site-header .navbar.navbar-scrolled .navbar-toggler-icon,
body.front-page .site-header .navbar.navbar-scrolled .navbar-toggler-icon {
    filter: none;
}

/* Give the hero extra top space so its content clears the overlaid navbar */
body.home .hero-section-left,
body.front-page .hero-section-left {
    padding-top: 120px;
}

/* On mobile the collapsed menu opens as a panel - keep it readable */
@media (max-width: 991.98px) {

    body.home .site-header .navbar-collapse,
    body.front-page .site-header .navbar-collapse {
        background: rgba(30, 58, 95, 0.97);
        border-radius: 10px;
        padding: 10px 15px;
        margin-top: 10px;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 0;
    min-height: 520px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(30, 58, 95, 0.75); */
}

.hero-section .container {
    z-index: 2;
    top: 30px;
}

.hero-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

/* Left-aligned hero variant (new homepage design) */
.hero-section-left {
    padding: 70px 0;
}

.hero-section-left .hero-title {
    font-size: 2.6rem;
    line-height: 1.15;
    max-width: 620px;
}

.hero-section-left .hero-subtitle {
    max-width: 620px;
}

/* Highlighted word in the hero title */
.hero-highlight {
    color: #fbbf24;
}

/* Trust badges under the search bar */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 150px;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge i {
    color: #fbbf24;
    font-size: 1.2rem;
}

/* View All Categories button */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1e3a5f;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-view-all:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

/* Search Bar */
.search-bar {
    background: #fff;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: visible;
    position: relative;
    z-index: 10;
}

.search-bar form {
    gap: 0;
}

.search-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 8px 14px;
    border-right: 1px solid #e5e7eb;
    min-width: 150px;
    background-color: #fff;
}

.search-input-group:last-of-type {
    border-right: none;
}

.search-input-group i {
    margin-right: 8px;
    font-size: 0.85rem;
}

.search-input-group .form-control,
.search-input-group .form-select {
    border: none;
    box-shadow: none;
    font-size: 0.85rem;
    padding: 0;
    background: transparent;
    color: #555;
}

.search-input-group .form-control:focus,
.search-input-group .form-select:focus {
    box-shadow: none;
    outline: none;
}

/* Custom Search Dropdowns */
.search-dropdown {
    position: relative;
}

.search-dropdown .dropdown-menu.dropdown-menu-custom {
    position: absolute !important;
    top: 100% !important;
    left: -30px !important;
    margin-top: -10px !important;
}

.search-dropdown-btn {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: #555;
    padding: 0;
    text-align: left;
    width: 100%;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.search-dropdown-btn:hover,
.search-dropdown-btn:focus {
    color: #333;
    background: transparent;
    box-shadow: none;
}

.search-dropdown-btn::after {
    font-size: 0.7rem;
    opacity: 0.6;
}

.dropdown-menu-custom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    min-width: 200px;
    max-height: 250px !important;
    overflow-y: auto !important;
    animation: dropdownFadeIn 0.2s ease;
}

.search-dropdown .dropdown-menu.dropdown-menu-custom {
    max-height: 300px !important;
    overflow-y: auto !important;
    background: #fff;
}

/* Sticky search box inside the category dropdown */
.dropdown-search-wrap {
    position: sticky;
    top: -8px;
    z-index: 2;
    background: #fff;
    padding: 4px 4px 8px;
    margin: -8px -8px 6px;
    border-bottom: 1px solid #eef0f3;
}

.dropdown-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-search-box i {
    position: absolute;
    left: 12px;
    font-size: 0.8rem;
    color: #9ca3af;
    pointer-events: none;
}

.dropdown-search-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px 8px 32px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.dropdown-search-input:focus {
    border-color: #3b82f6;
}

.dropdown-no-results-text {
    display: block;
    padding: 9px 14px;
    font-size: 0.85rem;
    font-style: italic;
    cursor: default;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu-custom .dropdown-item {
    font-size: 0.85rem;
    padding: 9px 14px;
    border-radius: 8px;
    color: #374151;
    transition: all 0.2s ease;
}

.dropdown-menu-custom .dropdown-item:hover {
    background: #f0f7ff;
    color: #3b82f6;
}

.dropdown-menu-custom .dropdown-item.active,
.dropdown-menu-custom .dropdown-item:active {
    background: #3b82f6;
    color: #fff;
}

.dropdown-menu-custom .dropdown-item i {
    font-size: 0.8rem;
}

.btn-search {
    background: #ffbe00;
    color: #fff;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.btn-search:hover {
    background: #ffbe00;
    color: #fff;
}

.category-dropdown-menu li:nth-child(2) {
    margin-top: 0px !important;
}

/* ==========================================================================
   Popular Categories Section
   ========================================================================== */
.categories-section {
    background: #f9fafb;
    padding-bottom: 60px !important;
}

.section-title {
    font-size: 1.5rem;
    color: #1e3a5f;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eceff3;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.04);
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    border-color: #dbe4f0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    color: inherit;
}

.category-icon {
    font-size: 2.1rem;
    margin-bottom: 12px;
    line-height: 1;
}

.category-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #1e3a5f;
}

.category-count {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ==========================================================================
   Homepage Banner (single large ad)
   ========================================================================== */
.home-banner-section {
    background: #f9fafb;
}

.home-banner {
    display: block;
    text-align: center;
    line-height: 0;
    /* removes gap under inline images */
    border-radius: 12px;
    overflow: hidden;
}

.home-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   Our Advertisers Section
   ========================================================================== */
.advertisers-section {
    background: #eef4ff;
}

.advertisers-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.advertisers-slider {
    position: relative;
    display: flex;
    align-items: center;
}

.advertisers-viewport {
    flex: 1;
    overflow: hidden;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.advertisers-viewport::-webkit-scrollbar {
    display: none;
}

/* Navigation arrows */
.advertisers-nav {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 3;
    display: none;
}

.advertisers-nav:hover {
    background: #3b82f6;
    color: #fff;
}

.advertisers-prev {
    margin-right: 12px;
}

.advertisers-next {
    margin-left: 12px;
}

/* Advertiser logo cards - full logo shown on a clean white card */
.advertiser-card {
    flex: 0 0 auto;
    width: 180px;
    /* min-width: 180px; */
    height: 180px;
    /* background: #fff;
    border: 1px solid #eceff3;
    border-radius: 12px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 16px;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.05); */
    transition: all 0.25s ease;
    overflow: hidden;
}

.advertiser-card:hover {
    /* box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1); */
    transform: translateY(-3px);
    border-color: #dbe4f0;
}

.advertiser-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   Featured Listings Section
   ========================================================================== */
.featured-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #ede9fe 100%);
    overflow: hidden;
    max-width: 100vw;
}

.featured-slider {
    overflow: hidden;
    padding: 20px 0;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

.featured-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.featured-track.marquee-animate {
    animation: marquee-scroll 30s linear infinite;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(var(--scroll-width) * -1));
    }
}

.featured-card {
    position: relative;
    /* Flex centering so content stays vertically & horizontally centered
       whether or not .featured-desc has text */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 20px 24px;
    min-width: 200px;
    max-width: 220px;
    min-height: 150px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    /* Background image set per-card via the --card-bg custom property */
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1f2937;
    /* Works whether the element is a <div> or an <a> */
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

/* Overlay to keep text readable over the background image.
   Uses a dedicated element so it layers correctly regardless of tag. */
.featured-card-overlay {
    position: absolute;
    /* Negative offset (-2px = border width) so the overlay covers the
       transparent border area too - no clear image sliver at the edges */
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    /* Darker, more even overlay so the image never shows through at the
       top/bottom edges while keeping text fully readable */
    /* background: linear-gradient(180deg, rgba(17, 24, 39, 0.7) 0%, rgba(17, 24, 39, 0.78) 100%); */
    z-index: 1;
    transition: background 0.3s ease;
}

/* Fallback overlay if markup ever omits .featured-card-overlay */
.featured-card:not(:has(.featured-card-overlay))::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.7) 0%, rgba(17, 24, 39, 0.78) 100%);
    z-index: 1;
}

/* Content sits above the overlay, centered within the card */
.featured-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.featured-card:hover .featured-card-overlay {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.6) 0%, rgba(17, 24, 39, 0.7) 100%);
}

.featured-card-highlight {
    border-color: #f97316;
}

.featured-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.featured-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    text-transform: capitalize;
}

.featured-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #1e293b;
}

.footer-top {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Decorative "Vizag Always Special" lighthouse graphic (bottom-right).
   Upload assets/footer-lighthouse.png (transparent PNG or SVG, ~500x200,
   light line-art). Until then this simply shows nothing. */
.footer-top::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: 16px;
    width: 320px;
    height: 150px;
    background: url('../footer-lighthouse.png') right bottom / contain no-repeat;
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

/* Keep footer content above the decorative graphic */
.footer-top .container {
    position: relative;
    z-index: 1;
}

/* Hide the decoration on smaller screens to avoid clutter */
@media (max-width: 991.98px) {
    .footer-top::after {
        display: none;
    }
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: #94a3b8;
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #ffbe00;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: #94a3b8;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.footer-contact li i {
    margin-right: 8px;
    color: #ffbe00;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
}

.footer-social a i {
    padding-top: 2px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: #94a3b8;
}

/* Footer bottom links (Privacy Policy | Terms of Use | Sitemap) */
.footer-bottom-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.footer-bottom-links li {
    position: relative;
}

/* Vertical separators between links */
.footer-bottom-links li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -12px;
    color: #475569;
}

.footer-bottom-links li a {
    color: #94a3b8;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links li a:hover {
    color: #ffbe00;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-section-left .hero-title {
        font-size: 2rem;
    }

    .hero-badges {
        gap: 20px;
    }

    .search-bar {
        border-radius: 16px;
        padding: 12px;
    }

    .search-bar form {
        flex-direction: column;
        gap: 10px;
    }

    .search-input-group {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 10px;
        width: 100%;
    }

    .search-input-group:last-of-type {
        border-bottom: none;
    }

    .btn-search {
        width: 100%;
        margin-top: 5px;
    }

    .search-dropdown-btn {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 50px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-section-left .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .hero-badges {
        gap: 14px 20px;
    }

    .hero-badge {
        font-size: 0.82rem;
    }

    .category-card {
        padding: 18px 12px;
    }

    .category-icon {
        font-size: 1.5rem;
    }

    .featured-card {
        min-width: 170px;
        padding: 16px;
    }

    /* Fix dropdown on mobile - position fixed overlay */
    .search-dropdown .dropdown-menu.dropdown-menu-custom {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90vw !important;
        max-height: 60vh !important;
        margin-top: 0 !important;
        z-index: 9999;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .search-dropdown-btn {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.1rem;
    }
}


/* ==========================================================================
   Navbar Scroll Effect
   ========================================================================== */
.navbar-scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* ==========================================================================
   Category Cards Scroll Animation
   ========================================================================== */
.category-card.animate-ready {
    opacity: 0;
    transform: translateY(20px);
}

.category-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffbe00;
    color: #fff;
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2563eb;
    transform: translateY(-3px);
}


/* ==========================================================================
   Category Page Styles
   ========================================================================== */

/* Breadcrumb */
.breadcrumb-section {
    background: #eef4fb;
    padding: 12px 0;
    border-bottom: 1px solid #dbeafe;
}

.breadcrumb-section .breadcrumb {
    font-size: 0.85rem;
}

.breadcrumb-section .breadcrumb-item a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb-section .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-section .breadcrumb-item.active {
    color: #6b7280;
}

/* Category Header */
.category-header-section {
    background: #f0f6ff;
    padding: 28px 0 15px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 10;
}

.category-header-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4b5563;
    margin-right: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-header-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
}

.category-header-count {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
}

.category-description {
    font-size: 0.9rem;
    color: #4b5563;
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
    margin-bottom: 0;
}

/* Search Bar Small Variant */
.search-bar-sm {
    padding: 4px 4px 4px 14px;
    border: 2px solid #f59e0b;
    border-radius: 50px;
    background: #fff;
    box-shadow: none;
}

.search-bar-sm .search-input-group {
    padding: 6px 10px;
}

.search-bar-sm .btn-search {
    padding: 8px 20px;
    font-size: 0.82rem;
}

/* Sub-Categories */
.subcategories-title {
    font-size: 1rem;
    color: #1f2937;
}

.subcategory-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subcategory-pill {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #4b5563;
    background: #fff;
    box-shadow: 0 1px 6px 0 #20212447;
    text-decoration: none;
    transition: all 0.2s ease;
}

.subcategory-pill:hover {
    color: #3b82f6;
    background: #eff6ff;
}

.subcategory-pill.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

/* Listing Cards */
.listings-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.listing-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 6px 0 #20212447;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 10px;
}

.listing-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #dbeafe;
}

.listing-icon {
    width: 52px;
    height: 52px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-right: 18px;
    flex-shrink: 0;
}

.listing-info {
    flex: 1;
}

.listing-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.listing-meta {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.listing-meta i {
    font-size: 0.75rem;
    margin-right: 4px;
}

.listing-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #059669;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
}

/* Pagination */
.pagination .page-item {
    margin: 0 4px;
}

.pagination .page-link {
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    padding: 10px 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
}

.pagination .page-item.active .page-link {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pagination .page-link:hover {
    background: #eff6ff;
    color: #3b82f6;
    border-color: #bfdbfe;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Sidebar Ads */
.sidebar-ads {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-ad-card {
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    transition: transform 0.3s ease;
}

.sidebar-ad-card:hover {
    transform: translateY(-3px);
}

.sidebar-ad-card .ad-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.sidebar-ad-card .ad-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.sidebar-ad-card .ad-text {
    font-size: 0.78rem;
    color: #4b5563;
    margin-bottom: 4px;
}

.sidebar-ad-card .ad-contact {
    font-size: 0.78rem;
    color: #374151;
    margin-bottom: 0;
}

.sidebar-ad-card .ad-offer {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 0;
}

/* Ad Color Variants */
.ad-purple {
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
    border: 1px solid #e9d5ff;
}

.ad-purple .ad-icon {
    color: #7c3aed;
}

.ad-purple .ad-title {
    color: #6d28d9;
}

.ad-blue {
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border: 1px solid #bae6fd;
}

.ad-blue .ad-icon {
    color: #0284c7;
}

.ad-blue .ad-title {
    color: #0369a1;
}

.ad-green {
    background: linear-gradient(135deg, #dcfce7, #d1fae5);
    border: 1px solid #a7f3d0;
}

.ad-green .ad-icon {
    color: #059669;
}

.ad-green .ad-title {
    color: #047857;
}

/* Category Page Responsive */
@media (max-width: 991.98px) {
    .category-header-section .row {
        gap: 16px;
    }

    .search-bar-sm {
        border-radius: 12px;
        padding: 10px;
    }

    .search-bar-sm form {
        flex-direction: column;
        gap: 8px;
    }

    .search-bar-sm .search-input-group {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        width: 100%;
    }

    .search-bar-sm .search-input-group:last-of-type {
        border-bottom: none;
    }

    .search-bar-sm .btn-search {
        width: 100%;
    }

    .sidebar-ads {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 30px;
    }

    .sidebar-ad-card {
        flex: 1;
        min-width: 180px;
    }
}

@media (max-width: 1199.98px) {

    .category-header-section .col-lg-7 .search-bar,
    .search-bar-sm {
        border-radius: 12px;
        padding: 10px;
    }

    .category-header-section .col-lg-7 .search-bar form,
    .search-bar-sm form {
        flex-direction: column;
        gap: 8px;
    }

    .category-header-section .col-lg-7 .search-bar .search-input-group,
    .search-bar-sm .search-input-group {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        width: 100%;
    }

    .category-header-section .col-lg-7 .search-bar .search-input-group:last-of-type,
    .search-bar-sm .search-input-group:last-of-type {
        border-bottom: none;
    }

    .category-header-section .col-lg-7 .search-bar .btn-search,
    .search-bar-sm .btn-search {
        width: 100%;
    }

    .category-header-section .col-lg-7 .search-dropdown-btn,
    .search-bar-sm .search-dropdown-btn {
        max-width: 100%;
    }

    /* Single page layout fix */
    .single-detail-section .col-lg-9 .col-lg-8,
    .single-detail-section .col-lg-9 .col-lg-4 {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .category-header-title {
        font-size: 1.2rem;
    }

    .listing-card {
        padding: 16px;
    }

    .listing-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        margin-right: 12px;
    }

    .listing-name {
        font-size: 0.9rem;
    }

    .subcategory-pills {
        gap: 6px;
    }

    .subcategory-pill {
        padding: 5px 12px;
        font-size: 0.76rem;
    }
}


/* ==========================================================================
   Category Single / Business Detail Page
   ========================================================================== */

.single-detail-section {
    background: #f9fafb;
}

/* Detail Header Card */
.detail-header-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.detail-header-top {
    display: flex;
    align-items: center;
}

.detail-icon {
    width: 64px;
    height: 64px;
    background: #f0f6ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #3b82f6;
    margin-right: 20px;
    flex-shrink: 0;
}

.detail-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.detail-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #059669;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
}

.detail-rating {
    color: #f59e0b;
    font-size: 0.85rem;
}

.detail-rating .rating-text {
    color: #6b7280;
    margin-left: 6px;
    font-size: 0.8rem;
}

/* Detail Blocks */
.detail-block {
    background: #fff;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.detail-block-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.detail-block-title i {
    color: #3b82f6;
}

.detail-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.service-tag i {
    color: #10b981;
    font-size: 0.75rem;
}

/* Working Hours */
.working-hours-table {
    margin-bottom: 0;
}

.working-hours-table td {
    font-size: 0.88rem;
    padding: 10px 0;
    border-color: #f1f5f9;
    color: #4b5563;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Reviews */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding: 16px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.review-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.72rem;
}

.review-date {
    margin-left: auto;
    font-size: 0.75rem;
    color: #9ca3af;
}

.review-text {
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Sidebar Cards */
.sidebar-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.sidebar-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-card-title i {
    color: #3b82f6;
}

/* Contact Details List */
.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 12px;
}

.contact-details-list li i {
    color: #3b82f6;
    font-size: 0.9rem;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.contact-details-list li strong {
    display: block;
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-details-list li p {
    margin-bottom: 0;
    font-size: 0.88rem;
    color: #1f2937;
}

.contact-details-list li a {
    color: #3b82f6;
    text-decoration: none;
}

.contact-details-list li a:hover {
    text-decoration: underline;
}

/* Contact Action Buttons */
.btn-call {
    background: #3b82f6;
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px;
}

.btn-call:hover {
    background: #2563eb;
    color: #fff;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px;
}

.btn-whatsapp:hover {
    background: #1fb855;
    color: #fff;
}

.btn-directions {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px;
}

.btn-directions:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Similar Listings */
.similar-listings {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.similar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.2s ease;
}

.similar-item:hover {
    background: #eff6ff;
    border-color: #dbeafe;
}

.similar-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #6b7280;
    flex-shrink: 0;
}

.similar-item h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.similar-item span {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Single Page Responsive */
@media (max-width: 991.98px) {

    .detail-header-card,
    .detail-block,
    .sidebar-card {
        padding: 20px;
    }

    .detail-title {
        font-size: 1.3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .detail-header-top {
        flex-direction: column;
        text-align: center;
    }

    .detail-icon {
        margin-right: 0;
        margin-bottom: 12px;
    }

    .detail-title {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .review-header {
        flex-wrap: wrap;
    }

    .review-date {
        margin-left: 0;
        width: 100%;
    }
}


/* ==========================================================================
   About Page Styles
   ========================================================================== */

/* Page Banner */
.page-banner {
    position: relative;
    background: url('https://www.sisyp.com/dir/wp-content/themes/sisyp/assets/banner.jpg') center/cover no-repeat;
    padding: 90px 0 120px;
    text-align: center;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-banner .container {
    z-index: 2;
}

.page-banner-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.page-banner-breadcrumb .breadcrumb-item a {
    color: #93c5fd;
    text-decoration: none;
}

.page-banner-breadcrumb .breadcrumb-item.active {
    color: #e2e8f0;
}

.page-banner-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: #94a3b8;
}

/* Section Label */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #3b82f6;
    background: #eff6ff;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.about-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.section-subtext {
    font-size: 0.95rem;
    color: #6b7280;
}

/* About Intro */
.about-intro {
    background: #fff;
}

.about-text {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-highlight {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #374151;
}

.about-highlight-item i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eff6ff;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #dbeafe;
    color: #3b82f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 0;
}

/* Leadership Section */
.leadership-section {
    background: #f9fafb;
}

.leader-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.leader-card-primary {
    border-top: 4px solid #3b82f6;
}

.leader-card-accent {
    border-top: 4px solid #f59e0b;
}

.leader-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    border: 4px solid #f1f5f9;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.leader-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    background: #3b82f6;
    padding: 3px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.leader-card-accent .leader-role {
    background: #f59e0b;
}

.leader-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 14px;
}

.leader-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    margin: 0 4px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.leader-social a:hover {
    background: #3b82f6;
    color: #fff;
}

/* Directors Section */
.directors-section {
    background: #fff;
}

.director-card {
    background: #f9fafb;
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.director-card:hover {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.director-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 3px solid #e5e7eb;
}

.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.director-role {
    font-size: 0.78rem;
    color: #6b7280;
}

/* Mission Section */
.mission-section {
    background: #f0f6ff;
}

.mission-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.mission-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #dbeafe;
    color: #3b82f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.mission-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.mission-card p {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0;
}

/* About Page Responsive */
@media (max-width: 991.98px) {
    .about-heading {
        font-size: 1.5rem;
    }

    .page-banner-title {
        font-size: 1.6rem;
    }

    .about-stats-grid {
        gap: 14px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .page-banner {
        padding: 40px 0;
    }

    .page-banner-title {
        font-size: 1.3rem;
    }

    .about-heading {
        font-size: 1.3rem;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .leader-card {
        padding: 24px 16px;
    }
}


/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-section {
    background: #f9fafb;
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.contact-form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.contact-form-title i {
    color: #3b82f6;
}

.contact-form-subtitle {
    font-size: 0.88rem;
    color: #6b7280;
}

.contact-form .form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-group {
    position: relative;
}

.input-icon-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.85rem;
    z-index: 1;
}

.input-icon-group .form-control {
    padding-left: 42px;
}

.contact-form .form-control {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.contact-form .input-icon-group .form-control {
    padding-left: 42px;
}

.contact-form .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    background: #3b82f6;
    color: #fff;
    border-radius: 10px;
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Contact Info Card */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.contact-info-header {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-header i {
    font-size: 1.3rem;
    color: #93c5fd;
}

.contact-info-header h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
}

.contact-info-body {
    padding: 24px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.contact-info-item p {
    font-size: 0.88rem;
    color: #1f2937;
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-info-item a {
    color: #3b82f6;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Quick Contact Card */
.quick-contact-card {
    background: linear-gradient(135deg, #dcfce7, #d1fae5);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 22px;
    text-align: center;
}

.quick-contact-card h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 6px;
}

.quick-contact-card p {
    font-size: 0.82rem;
    color: #4b5563;
    margin-bottom: 14px;
}

/* Map Section */
.map-section {
    background: #fff;
}

.map-card {
    background: #f9fafb;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.map-directions-info {
    padding: 36px;
}

.map-directions-info h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.map-directions-info h5 i {
    color: #3b82f6;
}

.directions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.directions-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.88rem;
    color: #4b5563;
}

.directions-list li:last-child {
    border-bottom: none;
}

.directions-list li i {
    width: 28px;
    text-align: center;
    font-size: 0.9rem;
}

.map-embed {
    height: 100%;
    min-height: 350px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

/* Contact Page Responsive */
@media (max-width: 991.98px) {
    .contact-form-card {
        padding: 24px;
    }

    .map-directions-info {
        padding: 24px;
    }

    .map-embed {
        min-height: 250px;
    }

    .map-embed iframe {
        min-height: 250px;
    }
}

@media (max-width: 575.98px) {
    .contact-form-card {
        padding: 20px;
    }

    .contact-form-title {
        font-size: 1.1rem;
    }

    .map-directions-info {
        padding: 20px;
    }
}

/* ==========================================================================
   WordPress Specific Styles
   ========================================================================== */
.navbar .navbar-nav .nav-item .nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2f3540;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-item .nav-link:hover,
.navbar .navbar-nav .nav-item.active .nav-link,
.navbar .navbar-nav .current-menu-item>.nav-link,
.navbar .navbar-nav .current_page_item>.nav-link,
.navbar .navbar-nav .current-menu-parent>.nav-link,
.navbar .navbar-nav .current-menu-ancestor>.nav-link {
    color: #ffbe00;
}

/* Active menu item underline (matches the new design) */
.navbar .navbar-nav .current-menu-item>.nav-link::after,
.navbar .navbar-nav .current_page_item>.nav-link::after,
.navbar .navbar-nav .current-menu-parent>.nav-link::after,
.navbar .navbar-nav .current-menu-ancestor>.nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 2px;
    background: #ffbe00;
    border-radius: 2px;
}

/* Search Validation Error */
.search-validation-error::placeholder {
    color: #ef4444 !important;
    opacity: 1;
}

.search-validation-error::-ms-input-placeholder {
    color: #ef4444 !important;
}

.flexslider ul.slides {
    list-style: none;
    padding-left: 0;
}

.flexslider ul.slides li {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 25px;
}

.flexslider ul.slides li:last-child {
    margin-bottom: 0;
}

.flexslider ul.slides li img {
    width: 100%;
    height: auto;
}