/* Using Google Fonts as a reliable online source for a "fancy" display font */
@import url('https://fonts.googleapis.com/css2?family=Racing+Sans+One&display=swap');

:root {
    --primary-color: #F39B22;
    --secondary-color: #F37437;
    --custom-color: #F37437;
}

header#header .header-top {
    background-color: var(--secondary-color);
}

.scroll-notice-title {
    background-color: var(--secondary-color);
}

.notice-marquee {
    background-color: var(--custom-color);
}

.menuzord.theme-color1 .menuzord-menu > li.active > a,
.menuzord.theme-color1 .menuzord-menu > li:hover > a,
.menuzord.theme-color1 .menuzord-menu ul.dropdown li:hover > a {
    background-color: var(--primary-color);
}

#top-primary-nav .menuzord-menu > li > ul.dropdown,
#top-primary-nav-clone .menuzord-menu > li > ul.dropdown {
    border-top: 3px solid var(--primary-color);
}

.line-bottom-theme-colored1:after,
.line-bottom-theme-colored1:before {
    background-color: var(--primary-color);
}

.btn-theme-colored2 {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-theme-colored2:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.borderBottomCustom {
    border-bottom: none;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.borderBottomCustom::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.borderBottomCustom::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.layer-overlay.overlay-theme-colored2-9::before {
    background-color: var(--primary-color);
}

.tm-sc-blog.blog-style1-current-theme .entry-content .entry-date {
    background-color: var(--primary-color);
}


.isotope-layout-filter.filter-style-4 a.active,
.isotope-layout-filter.filter-style-4 a:focus,
.isotope-layout-filter.filter-style-4 a:hover,
.carousel-layout-filter.filter-style-4 a.active,
.carousel-layout-filter.filter-style-4 a:focus,
.carousel-layout-filter.filter-style-4 a:hover {
    background-color: var(--primary-color);
}


.tm-sidebar-nav-menu-style2 .widget.widget_nav_menu ul > li.active > a,
.tm-sidebar-nav-menu-style2 .widget.widget_nav_menu ul > li a:hover {
    border-left-color: var(--primary-color);
}

.section-title h2 {
    font-size: 24px !important;
    font-weight: 700;
    margin-bottom: 10px !important;
}

.loginBtn {
    background-color: var(--secondary-color);
}


footer#footer {
    background-color: var(--secondary-color);
}

footer#footer a:not(.social-link):not(.icon) {
    color: #ffffff;
}

.widget .widget-title.widget-title-line-bottom.line-bottom-theme-colored1:after,
footer#footer .widget .widget-title.widget-title-line-bottom.line-bottom-theme-colored1:after {
    background-color: var(--primary-color);
}

footer#footer .footer-widget-area .widget .widget-title.widget-title-line-bottom:before {
    background-color: var(--primary-color);
}

.footer-bottom {
    background-color: #fff !important;
    color: #000 !important;
}

.footer-paragraph .copyLink {
    color: #000 !important;
}

.scrollToTop {
    background-color: var(--secondary-color) !important;
    background-image: none;
}

.scrollToTop i {
    color: #fff;
}

.view-all-btn {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--secondary-color);
    padding: 6px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.view-all-btn:hover {
    background-color: var(--secondary-color);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Professional Tab Styling for Gallery Filters */
.isotope-layout-filter.filter-style-4 {
    display: inline-block;
    background: #fff;
    padding: 2px 3px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.isotope-layout-filter.filter-style-4 a {
    display: inline-block;
    padding: 2px 10px;
    margin: 0 1px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: transparent;
}

.isotope-layout-filter.filter-style-4 a:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.02);
}

.isotope-layout-filter.filter-style-4 a.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media only screen and (max-width: 991px) {
    .section-title h2 {
        font-size: 24px !important;
    }

    .view-all-btn {
        padding: 5px 15px;
        font-size: 12px;
    }

    .tm-sc-blog .entry-content {
        padding: 15px !important;
    }

    .isotope-layout-filter.filter-style-4 {
        white-space: nowrap;
        overflow-x: auto;
        max-width: 100%;
        display: block;
        padding: 5px;
    }

    .about-section-container {
        padding: 20px 10px !important;
    }

    .funfact-section-container {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

@media only screen and (max-width: 767px) {
    body {
        padding-top: 40px;
        /* Adjust based on actual header height */
    }

    .funfact-section-container {
        padding-top: 10px !important;
    }

    .header-top.mobileResponsive {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }
}

/* Compact Grid Helpers */
.row-small-gutter {
    margin-right: -5px;
    margin-left: -5px;
}

.row-small-gutter > [class^="col-"],
.row-small-gutter > [class*=" col-"] {
    padding-right: 5px;
    padding-left: 5px;
}
