/*
Theme Name: FACT Theme
Author: JDR Team
Version: 4.4
*/

.blog-search-btn{float:right;}
.p-b-80{padding-bottom:80px;}
.btn-menu a:hover, .btn-menu:hover a, #menu-main-menu li.btn-menu a:hover{color:#fff;}
.footer-copy a{color:#6a77a1;}
.book-btn img { width: 12px; }

.blog-filter-bar {
    overflow: visible !important;
}
.topics-dropdown-wrap {
    position: relative;
}

.topics-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 9999;
}

.topics-menu.show {
    display: block;
}

.navbar-nav li:hover > .sub-menu li:hover >.sub-menu {
    background-color: #2d3757 !important;
}
.navbar-nav li:hover > .sub-menu >.sub-menu {margin-left:10px;}


#menu-footer-button .btn-outline-primary{border: 1px solid #0284f1;padding:15px 30px;
    &:hover{
        background: #0284f1;
        color: #fff;
        border: 1px solid #0284f1
    }
}
#menu-footer-button .btn-outline-primary:hover a{
    color: #fff;
}
#menu-footer-button .btn-outline-primary a{color:#0284f1;}
.card-image img{ min-height: 350px; }
.padd-40-80{padding:40px 0px 80px;}
/*.card-section{margin-top:20px;}*/

@media(max-width: 767px){
    .booking-title{width:100%;}
}

/* Prevent the whole page scrolling horizontally */
@media screen and (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    /*overflow-x: hidden !important;*/
  }
  .padd-10{
    padding-top: 10px;
  }
}

/* Keep the table scroll contained */
.fct-table-scroll {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

/* Allow table to be wider than its container */
.fct-table-scroll table {
  width: 600px !important;
  min-width: 600px !important;
  max-width: none !important;
  table-layout: auto !important;
  border-collapse: collapse;
  margin: 0 !important;
}

/* Prevent phone numbers and emails from wrapping */
.fct-table-scroll th,
.fct-table-scroll td {
  white-space: nowrap !important;
  padding: 12px !important;
  text-align: left;
}

.card-layout .resource_card {
    text-align: center;
    margin-bottom: 30px;
}

.card-layout .card-link-wrap{
  margin-top: 10px;
}
.navbar .header-cta-container{
  margin-left: 30px;
}
.navbar .header-cta-container a{
  font-size: 14px;
  padding: 10px 15px;
}
/* ==========================================
   FACT FOOTER IMPROVEMENTS
   Primary Orange: #f16f02
========================================== */


/* ==========================================
   1. FOOTER CONTACT CONTAINER
========================================== */

/* Ensure the WordPress widget has no background */
footer .footer-top .col-lg-3:first-child
li.widget:has(> .footer-contact) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* Contact details layout */
footer .footer-top .footer-contact {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    min-width: 0;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}


/* ==========================================
   2. PHONE NUMBER HIGHLIGHT
========================================== */

/* Target ONLY the first contact item (phone) */
footer .footer-top .footer-contact
> .contact-item:first-child {

    display: flex !important;
    align-items: center !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;

    /* Full phone row background */
    background: rgba(255,255,255,0.09) !important;

    /* Orange accent */
    border: none !important;
    border-left: 3px solid #f16f02 !important;
    border-radius: 7px !important;

    padding: 14px 15px !important;
    margin: 0 !important;

    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Phone icon */
footer .footer-top .footer-contact
> .contact-item:first-child i,
footer .footer-top .footer-contact
> .contact-item:first-child svg {

    color: #f16f02 !important;
    font-size: 19px !important;
    flex-shrink: 0;
}

/* Phone number styling */
footer .footer-top .footer-contact
.contact-item:first-child a[href^="tel:"] {

    display: inline !important;
    width: auto !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;

    color: #ffffff !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    text-decoration: none !important;
    white-space: nowrap;

    transition: color 0.3s ease;
}

/* Phone row hover */
footer .footer-top .footer-contact
> .contact-item:first-child:hover {

    background: rgba(241,111,2,0.15) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Keep number white on hover */
footer .footer-top .footer-contact
.contact-item:first-child a[href^="tel:"]:hover {

    color: #ffffff !important;
    background: transparent !important;
}

/* Keyboard focus */
footer .footer-top .footer-contact
.contact-item:first-child:focus-within {

    outline: 2px solid #f16f02;
    outline-offset: 3px;
}


/* ==========================================
   3. EMAIL AND ADDRESS
========================================== */

/* No card background for other contact items */
footer .footer-top .footer-contact
> .contact-item:not(:first-child) {

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;
}

/* Consistent email and address icons */
footer .footer-top .footer-contact
> .contact-item:not(:first-child) i {

    color: #f16f02 !important;
    flex-shrink: 0;
}

/* Keep long email/address content inside column */
footer .footer-top .footer-contact
> .contact-item:not(:first-child) {

    min-width: 0;
    overflow-wrap: anywhere;
}


/* ==========================================
   4. SOCIAL MEDIA CONTAINER
========================================== */

footer .footer-top .footer-social-icons {

    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;

    gap: 12px !important;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,0.18);
}


/* ==========================================
   5. SOCIAL MEDIA BUTTONS
========================================== */

footer .footer-top
.footer-social-icons .social-icon-link {

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    flex: 0 0 42px;

    padding: 0 !important;
    margin: 0 !important;

    background: rgba(255,255,255,0.07);

    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;

    color: #ffffff !important;
    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Icon alignment */
footer .footer-top
.footer-social-icons .social-icon-link i {

    display: inline-block;
    font-size: 17px !important;
    line-height: 1 !important;
    color: #ffffff !important;
}

/* Social icon hover */
footer .footer-top
.footer-social-icons .social-icon-link:hover {

    background: #f16f02 !important;
    border-color: #f16f02 !important;

    color: #ffffff !important;

    transform: translateY(-3px);

    box-shadow: 0 4px 12px rgba(241,111,2,0.25);
}

footer .footer-top
.footer-social-icons .social-icon-link:hover i {

    color: #ffffff !important;
}

/* Keyboard accessibility */
footer .footer-top
.footer-social-icons .social-icon-link:focus-visible {

    outline: 2px solid #f16f02;
    outline-offset: 3px;
}


/* ==========================================
   6. TABLET RESPONSIVE
========================================== */
@media (min-width: 1200px) {
	#menu-main-menu li .sub-menu li a { text-align: left; }
}
@media (max-width: 1199px) {

    footer .footer-top .footer-contact
    .contact-item:first-child a[href^="tel:"] {
        font-size: 19px !important;
    }

    footer .footer-top .footer-contact
    > .contact-item:first-child {
        padding: 12px !important;
        gap: 10px !important;
    }
}


/* ==========================================
   7. MOBILE RESPONSIVE
========================================== */

@media (max-width: 767px) {
  

    /* Contact container */
    footer .footer-top .footer-contact {
        gap: 16px;
    }

    /* Phone background */
    footer .footer-top .footer-contact
    > .contact-item:first-child {

        width: 100% !important;
        padding: 14px 16px !important;
        gap: 12px !important;
        border-radius: 7px !important;
    }

    /* Prominent phone number */
    footer .footer-top .footer-contact
    .contact-item:first-child a[href^="tel:"] {

        font-size: 21px !important;
        font-weight: 700 !important;
    }

    /* Phone icon */
    footer .footer-top .footer-contact
    > .contact-item:first-child i {
        font-size: 19px !important;
    }

    /* Social media spacing */
    footer .footer-top .footer-social-icons {

        gap: 10px !important;
        margin-top: 20px;
        padding-top: 16px;
    }

    /* Larger touch targets */
    footer .footer-top
    .footer-social-icons .social-icon-link {

        width: 44px !important;
        height: 44px !important;
        min-width: 44px;
        flex-basis: 44px;
    }
}


/* ==========================================
   8. SMALL MOBILE DEVICES
========================================== */

@media (max-width: 360px) {

    footer .footer-top .footer-contact
    > .contact-item:first-child {

        padding: 12px 10px !important;
        gap: 8px !important;
    }

    footer .footer-top .footer-contact
    .contact-item:first-child a[href^="tel:"] {

        font-size: 18px !important;
    }
}


/* ==========================================
   9. REDUCED MOTION ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

    footer .footer-top .footer-contact
    > .contact-item:first-child,

    footer .footer-top
    .footer-social-icons .social-icon-link {

        transition: none !important;
        transform: none !important;
    }
}


/* ==========================================
   FACT HEADER CONTACT BAR
========================================== */



/*.phone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
	justify-content: center;
}*/
.navbar-section .top-bar {
    background: #19243F;
    padding: 10px 0;
}

.phone-item a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;

    text-decoration: none !important;
    white-space: nowrap;

    transition: color 0.3s ease;
}
.phone-item a::before {
    content: "\f095";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f16f02;
    font-size: 15px;
}
 .phone-item a:hover {
    color: #f16f02 !important;
}

@media(min-width:1200px){
    nav .navbar-nav a, #menu-main-menu li a {
display: block;
}
}
 
.phone-item {
    flex-grow: 1;
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 767px) {

    .phone-item {
        justify-content: center;
        gap: 10px;
    }

    .phone-item a {
        font-size: 15px;
    }
    .resources_cards .card-image-wrap img{
    max-width: 250px !important;
    margin: 0 auto;
  }

    
}

@media (max-width: 375px) {
     .navbar .header-cta-container a {
    font-size: 10px;
    padding: 10px 10px;
}
}

/* Very small devices */
@media (max-width: 360px) {

     .phone-item a {
        font-size: 14px;
    }

    .phone-item {
        gap: 8px;
		
    }
 
}

.orange-theme-btn{
  background: #F16F02 !important;
  border: 1px solid #F16F02 !important;
}
.form-bg{background-color:#F16F02; padding:0px 20px 20px; border-radius:5px;}

/*.hero-section h1 + .hs-web-interactive-inline {
    margin-bottom: 40px !important;
}*/

@media (max-width: 490px) {
    .phone-item {
 justify-content: right;
    }
}

@media (min-width:1200px) and (max-width: 1620px) {
    nav.navbar .navbar-brand img {
        max-width: 130px;
    }
    .navbar .header-cta-container a {
    font-size: 12px;
    padding: 8px 10px;
}
    .navbar .header-cta-container {
    margin-left: 20px;
}

    .nav-link, nav .navbar-nav a, #menu-main-menu li a {
        padding: 0 8px;
        font-size:12px;
    }

    .phone-item a{
        font-size:14px;
    }

    #menu-main-menu li .sub-menu li a {
        padding: 0 14px;
    }
}


@media screen and (max-width: 767px) {
  body.hide-mobile-images .card-thumb {
    display: none !important;
  }
}
.copyright-txt{color:#fff;}