/* Hide the old off-canvas menu on mobile pages */
#off-canvas-menu {
    display: none !important;
}

/* Mobile Front Page Styles */
:root {
    --primary-color: #ff5722; /* Example orange from screenshot */
    --text-color: #333;
    --bg-color: #fff;
    --menu-bg: #fff;
    --border-color: #eee;
}

body.mobile-front-page-body, body {
    /* Apply base styles if mobile menu is active site-wide */
    /* but specifically target front-page body class for specific overrides if needed */
}

/* Add padding top to body when mobile header is present */
@media (max-width: 575px) {
    body {
        /* padding-top: 64px; */
    }
}
.mobile-front-page {
    background: #F4F4F4;
}
/* Header */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #F4F4F4;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100001;
    box-sizing: border-box;
    height: 64px;
    border-bottom: 1px solid #E3E3E3;
    transition: background-color 0.3s ease;
}

.mobile-header.menu-active {
    background-color: #E3E3E3;
}
.mobile-book-btn:hover {
    color: #FFF;
    text-decoration: none;
}
.mobile-book-btn:focus {
    color: #FFF;
    text-decoration: none;
}
.mobile-logo img {
    max-height: 32px;   
    width: auto;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-book-btn {
    border-radius: 999px;
    background: #FF6000;
    display: inline-flex;
    padding: 10px 14px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 420px) {
    .mobile-book-btn {
        font-size: 11px !important;
        padding: 7px 10px !important;
        line-height: 13px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .mobile-header-actions {
        gap: 8px !important;
    }
    .mobile-logo img {
        max-width: 130px !important;
        width: auto !important;
        height: auto !important;
        max-height: 28px !important;
        object-fit: contain;
    }
    .mobile-header {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
}

.mobile-menu-toggle .icon-open,
.mobile-menu-toggle .icon-close {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Initially show open (hamburger), hide close (cross) */
.mobile-menu-toggle .icon-open {
    opacity: 1;
    transform: scale(1);
}
.mobile-menu-toggle .icon-close {
    opacity: 0;
    transform: scale(0.5);
}

/* Active state: Hide open, show close */
.mobile-menu-toggle.active .icon-open {
    opacity: 0;
    transform: scale(0.5);
}
.mobile-menu-toggle.active .icon-close {
    opacity: 1;
    transform: scale(1);
}


/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #E3E3E3;
    z-index: 100000; /* Lower than header */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding-top: 64px; /* Offset for header */
    box-sizing: border-box;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
}

/* Accordion Menu - WordPress Classes */
ul.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.mobile-menu-list > li.menu-item {
    border-bottom: 1px solid #D5D5D5;
}

ul.mobile-menu-list li.menu-item a {
    color: #323232;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: unset;
}

ul.mobile-menu-list ul.sub-menu {
    display: none;
    padding-left: 0;
    list-style: none;
    margin: 0;
    gap: 24px;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 28px;
}
ul.mobile-menu-list ul.sub-menu li a {
    color: #323232;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    padding: 0;
}
ul.mobile-menu-list li.menu-item.open > ul.sub-menu {
    display: flex;
}

ul.mobile-menu-list li.menu-item.open > a .menu-arrow {
    transform: rotate(180deg);
}

.custom-login-menu {
    border-top: none !important;
}

.custom-login-menu > li.menu-item {
    border-bottom: 1px solid #D5D5D5;
}

.menu-arrow {
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-arrow svg {
    display: block;
}

/* Contact Info */
.mobile-menu-contact {
    margin-top: 24px;
    border-radius: 24px;
    background: #FFF;
    padding: 24px 20px;
}

.mobile-contact-title {
    margin-bottom: 16px;
    color: #000;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.5px;
    display: block;
}

.mobile-contact-item {
    margin-bottom: 12px;
    color: rgba(0, 0, 0, 0.64);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    display: flex;
    gap: 8px;
    align-items: center;
    text-decoration: none;
}


.mobile-socials {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.mobile-social-link {
    color: #333;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-contact-action {
    margin-top: 24px;
}

.mobile-menu-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #D9D9D9;
  color: #323232 !important;
  font-family: Roboto, sans-serif;
  text-decoration: none !important;
  background: transparent !important;
  transition: all 0.3s;
  width: 94px;
  height: 40px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

.mobile-menu-contact-btn:hover {
    background: #f8f8f8;
}

/* Hero Block */
.mobile-hero {
    padding: 32px 1px 40px 1px;
    text-align: center;
    background: #F4F4F4;
}

.mobile-hero-title {
    color: #000;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 16px;
    margin-top: 0px;
}

.mobile-hero-desc {
    margin-bottom: 24px;
    color: #323232;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.mobile-hero-btn {
    border-radius: 8px;
    background: #FF6000;
    height: 56px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-decoration: none;
}

.mobile-hero-btn:hover, 
.mobile-hero-btn:focus {
    color: #FFF;
    text-decoration: none;
}

/* FAQ Block */
.mobile-faq {
    padding: 0px 1px 48px 1px;
}

.mobile-faq-main-title {
    color: #000;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 24px;
    margin-top: 0;
}

.mobile-faq-list {
    display: flex;
    flex-direction: column;
}

.mobile-faq-item {
    border-top: 1px solid #E8E8E8;
    padding: 24px 0;
}
.mobile-faq-item.is-hidden {
    border: none;
    padding: 0;
    margin: 0;
}

.mobile-faq-item:last-child {
    border-bottom: 1px solid #E3E3E3;
    margin-bottom: 24px;
}

.mobile-faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}

.mobile-faq-question {
    color: #323232;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin: 0;
}

.mobile-faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}



.mobile-faq-item.open .icon-plus {
    display: none;
}

.mobile-faq-item.open .icon-minus {
    display: block !important;
}

.mobile-faq-content {
    margin-top: 16px;
}

.mobile-faq-answer {
    color: #323232;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.mobile-faq-answer p {
    margin-bottom: 12px;
}

.mobile-faq-answer p:last-child {
    margin-bottom: 0;
}

.mobile-faq-all-btn {
    border-radius: 8px;
    background: #FF6000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    text-decoration: none;
    width: 100%;
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.mobile-faq-all-btn:hover,
.mobile-faq-all-btn:focus {
    color: #FFF;
    text-decoration: none;
}
.footer {
    padding: 40px 1px;
    background: #182C3A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 575px) {
    .footer {
      background: #011F37;
    }
    .footer-email-text {
        margin-left: 0;
        padding-bottom: 0;
    }
    .custom-footer-list a {
        margin-left: 0;
        padding-bottom: 0;
        margin-bottom: 0px!important;
    }
    .custom-footer-list {
        gap: 12px;
        display: flex;
        flex-direction: column;
    }
    .footer-grecaptcha {
        background: #011F37!important;
    }
}
.footer-col-title {
    color: rgba(255, 255, 255, 0.80);
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.5px;
    text-transform: none;
    margin-top: 32px;
    margin-bottom: 16px;
}
.footer .links a {
    color: rgba(255, 255, 255, 0.64);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
}
.custom-footer-list span {
    height: 16px;
}
.footer ul li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer .links a.footer-contact-item {
    margin-bottom: 0px;
}
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact-item-image {
    padding: 32px 0;
}
.footer .links .share-container {
    margin-top: 0px;
    margin-bottom: 32px;
}
.footer-copyright {
    color: rgba(255, 255, 255, 0.64);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
.footer-grecaptcha {
    color: rgba(255, 255, 255, 0.64);
    text-align: center;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-top: 0px;
    padding-top: 32px;
    padding-bottom: 40px;
    background: #182C3A;
    padding-left: 36px;
    padding-right: 36px;
}
.footer-grecaptcha a {
    color: rgba(255, 255, 255, 0.64);
    text-align: center;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
/* Quote Modal */
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100005;
    display: flex; /* Changed from display:none to flex for transitions */
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s;
    backdrop-filter: blur(4px); /* Modern touch: slight blur */
}
.quote-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.quote-modal-container {
    background: #FFF;
    border-radius: 24px;
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 90px 24px 40px 24px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}
.quote-modal-overlay.active .quote-modal-container {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.quote-modal-form-box br {
    display: none;
}
.quote-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}
.quote-modal-title {
    color: #000;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin-top: 0;
    margin-bottom: 8px;
}
.quote-modal-subtitle {
    color: #323232;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 24px;
    margin-top: 0;
}

/* CF7 Form Styles */
.quote-modal-form-box .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 16px;
}
.quote-modal-form-box label {
    display: block;
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 8px;
}
.quote-modal-form-box input[type="text"],
.quote-modal-form-box input[type="email"],
.quote-modal-form-box input[type="tel"],
.quote-modal-form-box textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #E3E3E3;
    background: #FFF;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    color: #323232;
}
.quote-modal-form-box input::placeholder,
.quote-modal-form-box textarea::placeholder {
    color: #999;
}
.quote-modal-form-box textarea {
    height: 100px;
    resize: vertical;
}
.quote-modal-form-box input[type="submit"] {
    border-radius: 8px;
    background: #FF6000;
    width: 100%;
    padding: 18px;
    color: #FFF;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.quote-modal-form-box .wpcf7-spinner {
    display: none !important;
}
.quote-modal-form-box .wpcf7-response-output {
    display: none !important; /* Hide original CF7 success/error messages */
}
.qm-submit-note {
    color: #323232;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Success Step */
.quote-modal-step-success {
    text-align: center;
    padding-top: 16px;
    padding-bottom: 8px;
}
.qm-success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.qm-success-title {
    color: #000;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin-top: 0;
    margin-bottom: 16px;
}
.qm-success-text {
    color: #323232;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-top: 0;
    margin-bottom: 32px;
}
.qm-success-back {
    border-radius: 8px;
    background: #FF6000;
    width: 100%;
    padding: 16px;
    color: #FFF;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* YouTube Video Thumbnail */
.mobile-accordion-video {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}
.mobile-accordion-video-poster img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.mobile-accordion-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.mobile-accordion-video:hover .mobile-accordion-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

/* YouTube Modal */
.yt-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.yt-modal-overlay.active {
    display: flex;
}
.yt-modal-container {
    width: 100%;
    max-width: 800px;
    position: relative;
}
.yt-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}
.yt-modal-content {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}
.yt-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile Footer Accordion */
@media (max-width: 575px) {
    #main-footer .links.col-md-3:not(:last-child) .footer-col-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        margin-bottom: 0;
        padding-top: 16px;
        padding-bottom: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0;
    }
    #main-footer .links.col-md-3:last-child .footer-col-title {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 16px;
        margin-top: 0;
        margin-bottom: 24px;
        display: block;
    }
    #main-footer .links.col-md-3:first-child .footer-col-title {
        border-top: none;
    }
    #main-footer .links.col-md-3:not(:last-child) .footer-col-title::after {
        content: '';
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzQ2NV8xMTYzKSI+CjxwYXRoIGQ9Ik02IDlMMTIgMTVMMTggOSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLW9wYWNpdHk9IjAuNjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF80NjVfMTE2MyI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transition: transform 0.3s ease;
    }
    #main-footer .links.col-md-3.footer-open .footer-col-title::after {
        transform: rotate(180deg);
    }
    #main-footer .links.col-md-3:not(:last-child) ul:not(.custom-footer-list), 
    #main-footer .links.col-md-3:not(:last-child) .custom-footer-list {
        display: none;
        padding-top: 0px;
        padding-bottom: 16px;
    }
    #main-footer .links.col-md-3.footer-open ul:not(.custom-footer-list) {
        display: block;
    }
    #main-footer .links.col-md-3.footer-open .custom-footer-list {
        display: flex;
    }
}