@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.dubai-calc-container {
    width: 70%;
    max-width: 70%;
    margin: 40px auto;
    background-color: #f4f5fa;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* clean card aesthetic */
    padding: 40px;
    font-family: 'Poppins', sans-serif;
    color: #4a4a4a;
}

.dubai-calc-container * {
    box-sizing: border-box;
}

.dubai-calc-container h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 24px;
    color: #4a4a4a;
    text-align: left !important;
}

.calc-section {
    margin-bottom: 24px;
}

.section-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #4a4a4a;
}

/* Custom Radio Buttons */
.radio-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #4a4a4a;
}

.custom-radio input[type="radio"] {
    display: none;
}

.radio-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.custom-radio input[type="radio"]:checked + .radio-indicator {
    border-color: #008ed6;
}

.custom-radio input[type="radio"]:checked + .radio-indicator::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #008ed6;
    border-radius: 50%;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #4a4a4a;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-indicator {
    border-color: #008ed6;
    background-color: #008ed6;
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-indicator::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Textarea */
.custom-textarea {
    width: 100%;
    background-color: #eeeeee;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    transition: background-color 0.2s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    display: block !important;
}

.custom-textarea:focus {
    outline: none;
    background-color: #e4e4e4;
}

/* Pill Group & Buttons */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-btn {
    background-color: #eeeeee;
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 14px;
    color: #4a4a4a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.pill-btn:hover {
    background-color: #e4e4e4;
}

.pill-btn.active {
    background-color: #ffffff;
    color: #4a4a4a;
    border-color: #008ed6;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 142, 214, 0.15);
}

.pill-btn .check-icon {
    display: none;
    color: #008ed6;
}

.pill-btn.active .check-icon {
    display: inline-block;
}

/* Circle + Pill Combined Group */
.circle-pill-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.circle-btn {
    width: 44px;
    height: 44px;
    background-color: #eeeeee;
    border: 2px solid transparent;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #4a4a4a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.circle-btn:hover {
    background-color: #e4e4e4;
}

.circle-btn.active {
    background-color: #ffffff;
    color: #4a4a4a;
    border-color: #008ed6;
    box-shadow: 0 4px 12px rgba(0, 142, 214, 0.15);
}

/* Contact section */
.contact-section {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.contact-toggle {
    display: flex;
    background-color: #f0f0f0;
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 16px;
}

.toggle-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 50px;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background-color: #ffffff;
    color: #4a4a4a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-input {
    width: 100%;
    background-color: #f4f5fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.contact-input:focus {
    outline: none;
    border-color: #cccccc;
    background-color: #ffffff;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: #008ed6;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #0077b3;
    transform: translateY(-2px);
}

/* Footer */
.form-footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 16px;
    line-height: 1.4;
}

/* Responsive Overrides */
@media screen and (max-width: 768px) {
    .dubai-calc-container,
    .expert-support-container {
        padding: 32px;
        margin: 24px auto;
        width: 100%;
        max-width: 100%;
    }
    
    .pill-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .pill-btn {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .dubai-calc-container {
        padding: 20px;
        margin: 15px auto;
    }
    
    .dubai-calc-container h2 {
        font-size: 20px;
    }

    .pill-group {
        grid-template-columns: 1fr;
    }

    .contact-toggle {
        flex-direction: column;
        border-radius: 12px;
        padding: 6px;
        gap: 6px;
    }
    
    .toggle-btn {
        border-radius: 8px;
        padding: 12px 0;
    }
}

/* --- Expert Support Form Styles --- */
.expert-support-container {
    width: 80%;
    max-width: 80%;
    margin: 40px auto;
    background-color: #ffffff; /* White background as shown in image snippet */
    border-radius: 16px; /* Match existing form */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Match existing form shadow */
    padding: 40px;
    font-family: 'Poppins', sans-serif;
    color: #4a4a4a;
}

.expert-support-container * {
    box-sizing: border-box;
}

.expert-support-container h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    color: #4a4a4a;
}

.expert-support-subtitle {
    font-size: 16px;
    color: #777777;
    margin-bottom: 24px;
    line-height: 1.5;
}

.expert-form-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Toggle */
.expert-toggle-container {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 8px;
}

.expert-toggle-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 50px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #999999;
    cursor: pointer;
    transition: all 0.2s ease;
}

.expert-toggle-btn.active {
    background-color: #ffffff;
    color: #4a4a4a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

/* Inputs */
.input-line {
    width: 100%;
}

.country-code-container, .email-container {
    display: flex;
    align-items: center;
    background-color: #f4f5fa;
    border-radius: 50px;
    padding: 0;
    overflow: hidden;
}

.country-code-container .flag-icon {
    padding-left: 20px;
    padding-right: 5px;
    font-size: 18px;
}

.country-code-container .flag-text {
    font-weight: 600;
    color: #4a4a4a;
    padding-right: 15px;
}

.country-code-container input[type="tel"],
.email-container input[type="email"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

.email-container input[type="email"] {
    padding-left: 20px;
}

/* Combined name + submit row */
.input-submit-line {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.expert-name-input {
    flex: 1;
    background-color: #f4f5fa;
    border: none;
    border-radius: 50px;
    padding: 16px 20px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

.expert-submit-btn {
    background-color: #008ed6; /* Primary blue */
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.expert-submit-btn:hover {
    background-color: #0077b3;
}

/* Divider */
.expert-divider {
    text-align: center;
    position: relative;
    margin: 16px 0;
}

.expert-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

.expert-divider span {
    background-color: #ffffff;
    padding: 0 16px;
    color: #999999;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* WhatsApp Link */
.expert-whatsapp {
    text-align: right;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s;
}

.whatsapp-link:hover {
    opacity: 0.8;
}

@media screen and (max-width: 600px) {
    .input-submit-line {
        flex-direction: column;
    }
    .expert-submit-btn {
        padding: 16px 32px;
    }
    .expert-support-container {
        padding: 24px;
        width: 100%;
        max-width: 100%;
    }
}

/* --- Pricing Grid & Modal Styles --- */
.section-container {
    width: 100%;
    max-width: 100%;
    margin: 40px auto;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.header-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #4a4a4a;
}

.header-teaser {
    font-size: 1.05rem;
    color: #777777;
    max-width: 800px;
    margin: 0 0 50px 0;
    line-height: 1.5;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.pricing-card {
    background-color: #2c3e50;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.card-caption {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

.license-label {
    font-size: 0.95rem;
    margin-bottom: 5px;
    display: block;
    color: #A0A0A5;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.best-choice-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.feature-item {
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.feature-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
}

.btn-discuss {
    background-color: #008ed6;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: opacity 0.2s;
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-discuss:hover {
    opacity: 0.9;
}

.link-more {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
    justify-content: flex-start;
}

.link-more:hover {
    text-decoration: underline;
}

.link-more::after {
    content: '›';
    margin-left: 8px;
    font-size: 1.2rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999999 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 850px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 5px;
}

.modal-close:hover {
    color: #333;
}

.modal-left {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80') center/cover;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.modal-right {
    padding: 40px 40px 40px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #4a4a4a;
    margin: 0 0 10px;
}

.modal-subtitle {
    color: #777777;
    margin: 0 0 25px;
    font-size: 1.05rem;
}

.contact-tabs {
    display: flex;
    background: #F4F4F6;
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 25px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.2s;
}

.tab-btn.active {
    background: white;
    color: #4a4a4a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.input-group {
    position: relative;
    flex: 1;
}

.form-input {
    width: 100%;
    background: #F4F4F6 !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    border-radius: 50px !important;
    padding: 15px 20px !important;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    min-width: 0 !important;
    margin: 0 !important;
}

.form-input:focus {
    border-color: #ddd;
}

.phone-input-wrapper {
    display: flex;
    background: #F4F4F6 !important;
    border-radius: 50px !important;
    overflow: hidden;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    margin-bottom: 15px;
}

.phone-input-wrapper:focus-within {
    border-color: #ddd;
}

.country-code {
    padding: 15px 10px 15px 20px;
    font-weight: 600;
    color: #4a4a4a;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid #e1e1e1;
}

.phone-input {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 15px !important;
    font-size: 0.95rem;
    outline: none;
    min-width: 0 !important;
    margin: 0 !important;
}

.pricing-submit-btn {
    background: #008ed6 !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    transition: opacity 0.2s;
}

.pricing-submit-btn:hover {
    opacity: 0.9;
}

.selected-package-info {
    background: #fdfdfd;
    border-left: 3px solid #008ed6;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #444;
}

.selected-package-info strong {
    color: #4a4a4a;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 25px 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eaeaea;
}

.divider span {
    padding: 0 15px;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4a4a4a;
    font-weight: 600;
    text-decoration: none;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

.whatsapp-icon {
    color: #25D366;
    font-size: 20px;
}

@media (max-width: 768px) {
    .modal-container {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-left {
        padding: 30px;
        background: #fdfdfd;
    }
    .expert-photo {
        width: 200px;
        height: 200px;
    }
    .modal-right {
        padding: 0 30px 30px;
    }
    .form-row {
        flex-direction: column;
    }
}

/* --- Services Slider Styles --- */
.services-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
}

.services-slider-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.slider-arrows {
    display: flex;
    gap: 12px;
}

.slider-arrow {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
}

.slider-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.services-slider-container {
    overflow: hidden;
    width: 100%;
}

.services-slider-track {
    display: flex;
    gap: 20px;
    align-items: stretch;
    transition: transform 0.4s ease-in-out;
}

.service-card {
    flex: 0 0 calc(33.333% - 13.33px); /* 3 cards per row */
    background: #34495e;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    height: auto;
}

.service-card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid #34495e;
}

.service-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #ffffff !important;
}

.service-card-text {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
}

.service-card-text p {
    margin: 0 0 10px 0;
}

.service-card-text ul {
    padding-left: 20px;
    margin: 0;
}

.service-card-footer {
    margin-top: auto;
}

.service-card-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.service-card-link:hover {
    opacity: 0.8;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .service-card {
        flex: 0 0 calc(50% - 10px); /* 2 cards */
    }
}

@media screen and (max-width: 600px) {
    .service-card {
        flex: 0 0 100%; /* 1 card */
    }
}

/* --- Learn More Popup Modal Styles --- */
.learn-more-modal-container {
    max-width: 850px;
    height: 480px;
    display: flex;
    flex-direction: row;
    padding: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: 8px;
}

.learn-more-left {
    flex: 0 0 45%;
    background-color: #008ed6;
    position: relative;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 50px 40px;
}

.learn-more-image {
    position: absolute;
    bottom: 0;
    right: -80px;
    height: 90%;
    width: auto;
    z-index: 2;
    pointer-events: none;
}

.learn-more-content {
    position: relative;
    z-index: 3;
    max-width: 200px;
    margin-top: -60px;
}

.learn-more-content h2 {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.1;
    color: #ffffff !important;
}

.learn-more-content p {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    color: #ffffff;
}

.learn-more-right {
    flex: 0 0 55%;
    background-color: #34495e;
    padding: 50px 50px 50px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.learn-more-form-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 25px 0;
    line-height: 1.4;
}

.lm-input {
    width: 100%;
    background-color: #f4f5fa;
    border: none;
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 12px;
    outline: none;
}

.lm-submit-btn {
    width: 100%;
    background-color: #008ed6;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 5px;
}

.lm-submit-btn:hover {
    background-color: #0077b3;
}

@media screen and (max-width: 768px) {
    .learn-more-modal-container {
        flex-direction: column;
        height: auto;
        width: 90%;
        max-width: 400px;
        margin: 20px auto;
        overflow-y: auto;
        max-height: 90vh;
    }
    .learn-more-left {
        flex: none;
        padding: 40px 25px;
        min-height: 260px;
        align-items: flex-start;
    }
    .learn-more-content {
        margin-top: 0;
        max-width: 55%;
    }
    .learn-more-image {
        right: -10px;
        height: 95%;
        bottom: 0;
    }
    .learn-more-right {
        flex: none;
        padding: 40px 25px;
        text-align: center;
    }
    .learn-more-form-title {
        text-align: center;
    }
    .learn-more-form {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* ==========================================================================
   SALIENT THEME COMPATIBILITY OVERRIDES
   These rules use high-specificity selectors to override Salient's aggressive
   global styles. They are scoped via the .custom-plugin-salient body class
   added by the plugin's PHP, so they only activate on Salient sites.
   ========================================================================== */

/* --- Reset Salient's global input/button styling --- */
body.custom-plugin-salient .dubai-calc-container input,
body.custom-plugin-salient .dubai-calc-container textarea,
body.custom-plugin-salient .dubai-calc-container select,
body.custom-plugin-salient .dubai-calc-container button,
body.custom-plugin-salient .expert-support-container input,
body.custom-plugin-salient .expert-support-container textarea,
body.custom-plugin-salient .expert-support-container select,
body.custom-plugin-salient .expert-support-container button,
body.custom-plugin-salient .section-container input,
body.custom-plugin-salient .section-container textarea,
body.custom-plugin-salient .section-container select,
body.custom-plugin-salient .section-container button,
body.custom-plugin-salient .modal-overlay input,
body.custom-plugin-salient .modal-overlay textarea,
body.custom-plugin-salient .modal-overlay select,
body.custom-plugin-salient .modal-overlay button {
    font-family: 'Poppins', sans-serif !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* --- Prevent Salient's global anchor styles from bleeding in --- */
body.custom-plugin-salient .dubai-calc-container a,
body.custom-plugin-salient .expert-support-container a,
body.custom-plugin-salient .section-container a,
body.custom-plugin-salient .services-slider-wrapper a,
body.custom-plugin-salient .modal-overlay a {
    text-decoration: none !important;
    border-bottom: none !important;
    transition: opacity 0.2s !important;
}

body.custom-plugin-salient .dubai-calc-container a:hover,
body.custom-plugin-salient .expert-support-container a:hover,
body.custom-plugin-salient .section-container a:hover,
body.custom-plugin-salient .services-slider-wrapper a:hover,
body.custom-plugin-salient .modal-overlay a:hover {
    color: inherit !important;
}

/* --- Prevent Salient's container max-width from constraining plugin --- */
body.custom-plugin-salient .dubai-calc-container,
body.custom-plugin-salient .expert-support-container,
body.custom-plugin-salient .section-container,
body.custom-plugin-salient .services-slider-wrapper {
    box-sizing: border-box !important;
}

/* --- Fix Salient's heading overrides --- */
body.custom-plugin-salient .dubai-calc-container h2,
body.custom-plugin-salient .expert-support-container h2,
body.custom-plugin-salient .section-container h1,
body.custom-plugin-salient .section-container h2,
body.custom-plugin-salient .modal-container h2 {
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: #4a4a4a !important;
}

body.custom-plugin-salient .pricing-card h2,
body.custom-plugin-salient .pricing-card .card-caption,
body.custom-plugin-salient .pricing-card .price,
body.custom-plugin-salient .pricing-card .best-choice-title {
    color: #ffffff !important;
}

body.custom-plugin-salient .service-card-title {
    color: #ffffff !important;
}

/* --- Fix Salient's button overrides --- */
body.custom-plugin-salient .submit-btn,
body.custom-plugin-salient .expert-submit-btn,
body.custom-plugin-salient .btn-discuss,
body.custom-plugin-salient .pricing-submit-btn,
body.custom-plugin-salient .lm-submit-btn {
    background-color: #008ed6 !important;
    color: #ffffff !important;
    border: none !important;
    font-family: 'Poppins', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 0 !important;
}

body.custom-plugin-salient .submit-btn:hover,
body.custom-plugin-salient .expert-submit-btn:hover,
body.custom-plugin-salient .btn-discuss:hover,
body.custom-plugin-salient .pricing-submit-btn:hover,
body.custom-plugin-salient .lm-submit-btn:hover {
    background-color: #0077b3 !important;
    color: #ffffff !important;
}

/* --- Fix Salient's form input overrides --- */
body.custom-plugin-salient .form-input,
body.custom-plugin-salient .contact-input,
body.custom-plugin-salient .expert-name-input,
body.custom-plugin-salient .lm-input,
body.custom-plugin-salient .phone-input,
body.custom-plugin-salient .custom-textarea,
body.custom-plugin-salient .expert_phone,
body.custom-plugin-salient .expert_email {
    background-color: #f4f5fa !important;
    border: 1px solid transparent !important;
    border-radius: 50px !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-family: 'Poppins', sans-serif !important;
    color: #4a4a4a !important;
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
}

body.custom-plugin-salient .custom-textarea {
    border-radius: 8px !important;
}

body.custom-plugin-salient .form-input:focus,
body.custom-plugin-salient .contact-input:focus,
body.custom-plugin-salient .expert-name-input:focus,
body.custom-plugin-salient .lm-input:focus,
body.custom-plugin-salient .phone-input:focus,
body.custom-plugin-salient .custom-textarea:focus,
body.custom-plugin-salient .expert_phone:focus,
body.custom-plugin-salient .expert_email:focus {
    border-color: #008ed6 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 142, 214, 0.15) !important;
}

/* --- Fix Salient's pill/toggle button overrides --- */
body.custom-plugin-salient .pill-btn,
body.custom-plugin-salient .circle-btn,
body.custom-plugin-salient .toggle-btn,
body.custom-plugin-salient .tab-btn,
body.custom-plugin-salient .expert-toggle-btn {
    border: 2px solid transparent !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 0 !important;
}

body.custom-plugin-salient .pill-btn.active,
body.custom-plugin-salient .circle-btn.active {
    border-color: #008ed6 !important;
}

/* --- Modal z-index fix for Salient's #header-outer (z-index: 9999) --- */
body.custom-plugin-salient .modal-overlay {
    z-index: 999999 !important;
    position: fixed !important;
}

body.custom-plugin-salient .modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
}

/* --- Prevent Salient's #ajax-content-wrap from trapping stacking context --- */
body.custom-plugin-salient #ajax-content-wrap {
    /* Modals are moved to body via JS, so this is just a safety net */
}

/* --- Fix Salient's link-more color in pricing cards --- */
body.custom-plugin-salient .pricing-card .link-more,
body.custom-plugin-salient .pricing-card .link-more:hover {
    color: #ffffff !important;
}

/* --- Fix Salient's slider arrow button overrides --- */
body.custom-plugin-salient .slider-arrow {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 0 !important;
    padding: 0 !important;
    color: #4a4a4a !important;
}

body.custom-plugin-salient .slider-arrow:hover {
    background: #2c3e50 !important;
    color: #ffffff !important;
    border-color: #2c3e50 !important;
}

/* --- Fix Salient's list-style overrides in pricing cards --- */
body.custom-plugin-salient .pricing-card .feature-list {
    list-style: none !important;
    padding: 0 !important;
}

body.custom-plugin-salient .pricing-card .feature-item {
    padding-left: 20px !important;
}

body.custom-plugin-salient .pricing-card .feature-item::before {
    color: #ffffff !important;
}

/* --- Service card text overrides for Salient --- */
body.custom-plugin-salient .service-card-text,
body.custom-plugin-salient .service-card-text p,
body.custom-plugin-salient .service-card-text ul {
    color: #cccccc !important;
    font-family: 'Poppins', sans-serif !important;
}

body.custom-plugin-salient .service-card-link,
body.custom-plugin-salient .service-card-link:hover {
    color: #ffffff !important;
}

/* --- Fix Salient's WhatsApp link styling --- */
body.custom-plugin-salient .whatsapp-link {
    color: #4a4a4a !important;
}

body.custom-plugin-salient .whatsapp-link svg {
    color: #25D366 !important;
}

/* --- Salient page transition deconfliction class --- */
body.custom-plugin-salient.custom-plugin-modal-open #ajax-loading-screen {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

body.custom-plugin-salient.custom-plugin-modal-open .nectar-box-roll {
    display: none !important;
}

/* --- Fix Salient's learn-more popup text in dark mode --- */
body.custom-plugin-salient .learn-more-content h2,
body.custom-plugin-salient .learn-more-content p {
    color: #ffffff !important;
}

body.custom-plugin-salient .learn-more-form-title {
    color: #ffffff !important;
}
