/* Custom Styles for smooth behaviors */
body {
    -webkit-font-smoothing: antialiased;
}

.dropdown-menu {
    display: none;
}

@media (min-width: 1024px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown.open>.dropdown-menu {
    display: block;
}

@media (max-width: 1023px) {
    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        background-color: rgba(0, 44, 58, 0.4) !important;
        color: white !important;
        box-shadow: none !important;
        border-top: none !important;
        border-left: 3px solid #FFB200 !important;
        border-radius: 0 !important;
        padding-left: 1.5rem !important;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
        color: #FFB200 !important;
    }
}

.card-zoom:hover img {
    transform: scale(1.05);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Swiper Customizations */
.swiper-pagination-bullet {
    background: rgba(181, 181, 181, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #FFB200 !important;
}

/* Swiper Controls overrides */
.swiper-button-lock {
    display: none !important;
}

.swiper-button-disabled {
    opacity: 0.35 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

/* FluentForm Newsletter overrides */
.newsletter-form-wrapper .frm-fluent-form .ff-t-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
}

@media (min-width: 640px) {
    .newsletter-form-wrapper .frm-fluent-form .ff-t-container {
        flex-direction: row !important;
        align-items: flex-start !important;
    }
}

.newsletter-form-wrapper .frm-fluent-form .ff-t-cell {
    flex: 1 !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff-el-form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 0.25rem !important;
    padding: 0.5rem 1rem !important;
    height: 42px !important;
    transition: all 0.3s !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff-el-form-control::placeholder {
    color: #d1d5db !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff-el-form-control:focus {
    outline: none !important;
    border-color: #FFB200 !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff-btn-submit {
    background-color: transparent !important;
    border: 2px solid white !important;
    color: white !important;
    font-weight: 700 !important;
    border-radius: 0.25rem !important;
    padding: 0 1.5rem !important;
    white-space: nowrap !important;
    transition: all 0.3s !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff-btn-submit:hover {
    background-color: white !important;
    color: #011C51 !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff-el-form-check {
    margin-top: 0.25rem !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff_tc_label {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.75rem !important;
    font-weight: normal !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff_tc_checkbox {
    display: flex !important;
    align-items: center !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff_tc_checkbox input[type="checkbox"] {
    accent-color: #FFB200 !important;
    margin: 0 !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff_t_c {
    line-height: 1.2 !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff_t_c a {
    color: white !important;
    text-decoration: underline !important;
}

.newsletter-form-wrapper .frm-fluent-form .ff-el-form-hide_label .ff-el-input--label {
    display: none !important;
}

.newsletter-form-wrapper .frm-fluent-form .error {
    font-size: 0.75rem !important;
    color: #FFB200 !important;
    margin-top: 0.25rem !important;
}


/* Pagination Styles */
.page-navigation .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-navigation .pagination li {
    margin: 0;
}

.page-navigation .pagination li a,
.page-navigation .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #6b7280;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    text-decoration: none;
}

.page-navigation .pagination li a:hover {
    color: #0aa198;
    border-color: #0aa198;
    background-color: #f0fdfa;
}

.page-navigation .pagination li span.current {
    background-color: #0aa198;
    color: #ffffff;
    border-color: #0aa198;
}

.page-navigation .pagination li span.dots {
    border: none;
    background: transparent;
    color: #9ca3af;
}

/* Fluent Forms - Contact */
.contact-form-wrapper .frm-fluent-form input[type=text],
.contact-form-wrapper .frm-fluent-form input[type=email],
.contact-form-wrapper .frm-fluent-form input[type=tel],
.contact-form-wrapper .frm-fluent-form textarea {
    width: 100% !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    margin-bottom: 0 !important;
}

.contact-form-wrapper .frm-fluent-form input:focus,
.contact-form-wrapper .frm-fluent-form textarea:focus {
    outline: none !important;
    border-color: #0aa198 !important;
    box-shadow: 0 0 0 1px #0aa198 !important;
}

.contact-form-wrapper .frm-fluent-form button[type=submit] {
    background-color: #0aa198 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 0.5rem !important;
    padding: 0.875rem 2rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    width: 100% !important;
}

.contact-form-wrapper .frm-fluent-form button[type=submit]:hover {
    background-color: #008f86 !important;
}

.contact-form-wrapper .frm-fluent-form .ff-el-input--label {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
}
.contact-form-wrapper .fluentform div.ff-el-form-hide_label>.ff-el-input--label {
    display: none !important;
    visibility: hidden;
}
.contact-form-wrapper .fluentform .ff-el-tc label.ff_tc_label>span {
	padding-top: 0 !important;
}
/* =========================================
   Sidebar Widget Styles
   ========================================= */

/* Base Widget Container */
.sidebar .widget {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Widget Titles */
.sidebar .widget .widgettitle,
.sidebar .widget h2.wp-block-heading {
    font-size: 1.25rem;
    font-weight: 900;
    color: #011C51;
    /* brand-dark */
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f3f4f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* WP Search Block */
.sidebar .wp-block-search__label {
    display: none;
    /* Hide default label */
}

.sidebar .wp-block-search__inside-wrapper {
    display: flex;
    gap: 0.5rem;
}

.sidebar .wp-block-search__input {
    flex: 1;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.3s ease;
}

.sidebar .wp-block-search__input:focus {
    outline: none;
    border-color: #0aa198;
    box-shadow: 0 0 0 2px rgba(10, 161, 152, 0.2);
}

.sidebar .wp-block-search__button {
    background-color: #011C51;
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar .wp-block-search__button:hover {
    background-color: #0aa198;
}

/* WP Categories List */
.sidebar .wp-block-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .wp-block-categories-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.sidebar .wp-block-categories-list li:last-child {
    border-bottom: none;
}

.sidebar .wp-block-categories-list li a {
    color: #4b5563;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar .wp-block-categories-list li a::before {
    content: '\f105';
    /* fa-angle-right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    color: #FFB200;
    /* brand-accent */
    font-size: 0.75rem;
}

.sidebar .wp-block-categories-list li a:hover {
    color: #0aa198;
}

/* WP Latest Posts List */
.sidebar .wp-block-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .wp-block-latest-posts li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.sidebar .wp-block-latest-posts li:last-child {
    border-bottom: none;
}

.sidebar .wp-block-latest-posts li a {
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

.sidebar .wp-block-latest-posts li a:hover {
    color: #0aa198;
}

/* =========================================
   ACF Frontend Admin Form Styles
   ========================================= */

.acf-frontend-form-wrapper .acf-field {
    border: none !important;
    padding: 0.5rem 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.acf-frontend-form-wrapper .acf-label {
    margin-bottom: 0.5rem !important;
}

.acf-frontend-form-wrapper .acf-label label {
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    color: #6b7280 !important;
    /* text-gray-500 */
    display: block !important;
}

.acf-frontend-form-wrapper .acf-label .acf-required {
    color: #ef4444 !important;
    /* text-red-500 */
}

.acf-frontend-form-wrapper .acf-input input[type="text"],
.acf-frontend-form-wrapper .acf-input input[type="email"],
.acf-frontend-form-wrapper .acf-input input[type="password"],
.acf-frontend-form-wrapper .acf-input input[type="number"],
.acf-frontend-form-wrapper .acf-input input[type="tel"],
.acf-frontend-form-wrapper .acf-input textarea,
.acf-frontend-form-wrapper .acf-input select {
    width: 100% !important;
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    color: #374151 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.acf-frontend-form-wrapper .acf-input input:focus,
.acf-frontend-form-wrapper .acf-input textarea:focus,
.acf-frontend-form-wrapper .acf-input select:focus {
    outline: none !important;
    border-color: #0aa198 !important;
    box-shadow: 0 0 0 2px rgba(10, 161, 152, 0.2) !important;
    background-color: #fff !important;
}

/* Checkbox (True/False) */
.acf-frontend-form-wrapper .acf-true-false label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    font-size: 0.875rem !important;
    color: #4b5563 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
}

.acf-frontend-form-wrapper .acf-true-false input[type="checkbox"] {
    margin: 0 !important;
    margin-top: 0.15rem !important;
    accent-color: #0aa198 !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    flex-shrink: 0 !important;
}

.acf-frontend-form-wrapper .acf-true-false a {
    color: #0aa198 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.acf-frontend-form-wrapper .acf-true-false a:hover {
    color: #011C51 !important;
}

/* Submit Button */
.acf-frontend-form-wrapper .acf-field-submit-button {
    margin-top: 1rem !important;
    width: 100% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.acf-frontend-form-wrapper .fea-submit-button {
    background-color: #0aa198 !important;
    color: #fff !important;
    font-weight: 800 !important;
    border-radius: 0.75rem !important;
    padding: 1rem 2rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.acf-frontend-form-wrapper .fea-submit-button:hover {
    background-color: #011C51 !important;
    transform: translateY(-2px) !important;
}

/* Pass Strength Indicator */
.acf-frontend-form-wrapper .pass-strength-result {
    margin-top: 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 0.5rem !important;
    padding: 0.25rem 0.5rem !important;
    border: 1px solid transparent !important;
}

.acf-frontend-form-wrapper .pass-strength-result.short,
.acf-frontend-form-wrapper .pass-strength-result.bad {
    background-color: #fee2e2 !important;
    color: #ef4444 !important;
    border-color: #f87171 !important;
}

.acf-frontend-form-wrapper .pass-strength-result.good {
    background-color: #fef3c7 !important;
    color: #f59e0b !important;
    border-color: #fbbf24 !important;
}

.acf-frontend-form-wrapper .pass-strength-result.strong {
    background-color: #d1fae5 !important;
    color: #10b981 !important;
    border-color: #34d399 !important;
}

/* =========================================
   Global Fluent Forms Styles
   ========================================= */

.frm-fluent-form .ff-el-group {
    margin-bottom: 1.25rem !important;
}

.frm-fluent-form .ff-el-input--label label,
.frm-fluent-form .ff-el-input--label.asterisk-right label {
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    color: #6b7280 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.frm-fluent-form .ff-el-input--label.ff-el-is-required label::after,
.frm-fluent-form .ff-el-input--label.asterisk-right label::after {
    color: #ef4444 !important;
}

/* Base input styling */
.frm-fluent-form .ff-el-form-control {
    width: 100% !important;
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    color: #374151 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.frm-fluent-form .ff-el-form-control:focus {
    outline: none !important;
    border-color: #0aa198 !important;
    box-shadow: 0 0 0 2px rgba(10, 161, 152, 0.2) !important;
    background-color: #fff !important;
}

/* Radio & Checkbox styling */
.frm-fluent-form .ff-el-form-check {
    margin-bottom: 0.5rem !important;
}

.frm-fluent-form .ff-el-form-check-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    font-size: 0.875rem !important;
    color: #4b5563 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.frm-fluent-form .ff-el-form-check-input {
    margin: 0 !important;
    margin-top: 0.15rem !important;
    accent-color: #0aa198 !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    flex-shrink: 0 !important;
}

/* Terms and Conditions (GDPR) */
.frm-fluent-form .ff_tc_label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    font-size: 0.875rem !important;
    color: #4b5563 !important;
    line-height: 1.4 !important;
}

.frm-fluent-form .ff_tc_checkbox {
    margin-top: 0.15rem !important;
}

.frm-fluent-form .ff_tc_checkbox input[type="checkbox"] {
    accent-color: #0aa198 !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
}

.frm-fluent-form .ff_t_c a {
    color: #0aa198 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.frm-fluent-form .ff_t_c a:hover {
    color: #011C51 !important;
}

/* Submit Button */
.frm-fluent-form .ff-btn-submit {
    background-color: #0aa198 !important;
    color: #fff !important;
    font-weight: 800 !important;
    border-radius: 0.75rem !important;
    padding: 1rem 2rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    margin-top: 0.5rem !important;
}

.frm-fluent-form .ff-btn-submit:hover {
    background-color: #011C51 !important;
    transform: translateY(-2px) !important;
}

/* Fluentform White Theme overrides */
.fluentform-white-theme .frm-fluent-form .ff-el-input--label label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.fluentform-white-theme .frm-fluent-form .ff-el-form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.fluentform-white-theme .frm-fluent-form .ff-el-form-control:focus {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.fluentform-white-theme .frm-fluent-form .ff-btn-submit {
    background-color: #FFB200 !important;
    color: #000 !important;
}

.fluentform-white-theme .frm-fluent-form .ff-btn-submit:hover {
    background-color: white !important;
}