/* NaturaDent Campaign Frontend Styles */

.naturadent-campaign {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.naturadent-form-section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: visible;
    padding: 60px 0;
}

.naturadent-form-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 870px;
    background-image: url('../Logo_nagy_4.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto;
    pointer-events: none;
    z-index: 0;
}

.naturadent-form-section > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .naturadent-form-section::before {
        background-size: 120%;
    }
}


.naturadent-campaign-form {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    background: #FFFFFF;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    padding: 40px;
    box-sizing: border-box;
}

.naturadent-campaign-form h2 {
    display: none;
}

.naturadent-campaign-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.naturadent-campaign-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.naturadent-campaign-form .form-field {
    position: relative;
}

@media (max-width: 768px) {
    .naturadent-campaign-form {
        padding: 30px 20px;
    }

    .naturadent-campaign-form .form-row {
        grid-template-columns: 1fr;
    }
}

.naturadent-campaign-form input[type="text"],
.naturadent-campaign-form input[type="tel"],
.naturadent-campaign-form input[type="email"],
.naturadent-campaign-form select {
    width: 100%;
    height: 40px;
    background: #E4F3F2;
    border: none;
    border-radius: 30px;
    padding: 0 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #263F53;
    box-sizing: border-box;
}

.naturadent-campaign-form input[type="text"]::placeholder,
.naturadent-campaign-form input[type="tel"]::placeholder,
.naturadent-campaign-form input[type="email"]::placeholder {
    color: #263F53;
    text-transform: uppercase;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

.naturadent-campaign-form input[type="text"]:focus,
.naturadent-campaign-form input[type="tel"]:focus,
.naturadent-campaign-form input[type="email"]:focus,
.naturadent-campaign-form select:focus {
    outline: none;
    background: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 30px;
    background: linear-gradient(white, white) padding-box, linear-gradient(90deg, #77DAC1 0%, #0F3151 100%) border-box;
}

.naturadent-campaign-form .form-field-full {
    width: 100%;
}

.naturadent-campaign-form input[type="submit"] {
    width: 226px;
    height: 53px;
    background: linear-gradient(93.93deg, #77DAC1 3.27%, #0F3151 150.87%);
    border: none;
    border-radius: 30px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: 'PT Sans', sans-serif;
    font-size: 21px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px auto 0;
    align-self: center;
}

.naturadent-campaign-form input[type="submit"]:hover {
    opacity: 0.9;
}

.naturadent-packages {
    margin-bottom: 40px;
    position: relative;
    padding: 60px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: visible;
}

.naturadent-packages::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 870px;
    background-image: url('../Logo_nagy_5.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto;
    pointer-events: none;
    z-index: 0;
}

.naturadent-packages > * {
    position: relative;
    z-index: 1;
}

.naturadent-packages-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
}

.naturadent-packages-track-wrap {
    width: 100%;
}

@media (min-width: 769px) {
    .naturadent-packages-slider-wrapper {
        overflow: visible;
        max-width: 1102px;
    }
    .naturadent-packages-track-wrap {
        overflow: hidden;
        width: calc(3 * 294px + 2 * 60px + 60px);
        padding: 30px;
        box-sizing: border-box;
        margin: 0 auto;
    }
    .naturadent-packages-prev {
        left: 8px;
    }
    .naturadent-packages-next {
        right: 8px;
    }
}

.naturadent-packages-grid {
    display: flex;
    gap: 60px;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* Campaign Package Card - Based on nd-job-booking-card */
.naturadent-package-card {
    background: #FCFEFF;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    overflow: hidden;
    width: 294px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.naturadent-packages-title {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    text-align: center !important;
    max-width: calc(3 * 294px + 2 * 60px) !important;
    margin: 0 auto 40px auto !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #263F53 !important;
}

.naturadent-packages-nav-container {
    display: none;
    position: absolute !important;
    right: 0 !important;
    gap: 10px;
}

.naturadent-packages-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    font-size: 28px !important;
    line-height: 1 !important;
    color: #263F53 !important;
    padding: 0 4px !important;
    margin: 0 !important;
    transition: color 0.2s !important;
}

.naturadent-packages-nav:hover,
.naturadent-packages-nav:focus {
    color: #77DAC1 !important;
    background: transparent !important;
}

.naturadent-packages-nav:disabled,
.naturadent-packages-nav:disabled:hover {
    opacity: 0.3 !important;
    color: #263F53 !important;
    cursor: default !important;
}

@media (min-width: 769px) {
    .naturadent-packages-nav-container {
        display: flex;
    }
    .naturadent-packages-chevron {
        display: none;
    }
}

/* Chevrons — same pattern as gallery */
.naturadent-packages-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 8px;
    color: #263F53 !important;
    line-height: 0;
    transition: opacity 0.2s;
}

.naturadent-packages-chevron:hover,
.naturadent-packages-chevron:focus,
.naturadent-packages-chevron:active {
    color: #263F53 !important;
    background: none !important;
    outline: none !important;
    opacity: 0.7;
}

.naturadent-packages-chevron:disabled,
.naturadent-packages-chevron:disabled:hover {
    color: #B0BAC0 !important;
    cursor: default;
    opacity: 1;
}

/* gap=60px, half card=147px → centered in gap at 12px from each card */
.naturadent-packages-prev {
    left: calc(50% - 195px);
}

.naturadent-packages-next {
    right: calc(50% - 195px);
}

@media (max-width: 768px) {
    .naturadent-packages-chevron {
        display: none;
    }
    .naturadent-packages-grid {
        gap: 20px;
    }
    .naturadent-packages-title {
        font-size: 32px !important;
    }
    .naturadent-packages::before {
        display: none;
    }
}


.naturadent-package-header {
    background: linear-gradient(90deg, #152946 0%, #B3EEEB 100%);
    padding: 20px 28px;
}

.naturadent-package-header h3 {
    color: #fff;
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
    margin: 0;
    text-align: center;
}

.naturadent-package-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.naturadent-package-benefits {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.naturadent-package-benefits li {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #263F53;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
}

.naturadent-package-benefits li::before {
    content: "✓";
    color: #34c286;
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.naturadent-package-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.naturadent-package-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.naturadent-package-btn,
.naturadent-package-btn:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 192px !important;
    padding: 0 8px !important;
    height: 53px !important;
    border-radius: 30px !important;
    border: 2px solid transparent !important;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(93.93deg, #77DAC1 3.27%, #0F3151 150.87%) border-box !important;
    color: #263F53 !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
    transition: opacity 0.2s ease !important;
}

.naturadent-package-btn:hover,
.naturadent-package-btn:focus {
    opacity: 0.85 !important;
    color: #263F53 !important;
    text-decoration: none !important;
}

.naturadent-package-pricing .regular-price {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #263F53 !important;
    text-align: center !important;
    margin: 0 !important;
}

.naturadent-package-pricing .sale-price {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #263F53 !important;
    text-align: center !important;
    margin: 0 !important;
}

/* When there's a sale price, style the regular price */
.naturadent-package-pricing .regular-price[style*="text-decoration: line-through"] {
    color: rgba(38, 63, 83, 0.4) !important;
    text-decoration: line-through !important;
    font-size: 32px !important;
}

.naturadent-gallery {
    margin-bottom: 40px;
}

.naturadent-gallery-title {
    color: #263F53 !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 150% !important;
    text-align: center !important;
    margin: 0 0 8px !important;
}

.naturadent-gallery-subtitle {
    color: #263F53;
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    text-align: center;
    margin: 0 0 40px;
}

.naturadent-gallery-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 320px;
}

.naturadent-gallery-track {
    display: flex;
    gap: 100px;
    transition: transform 0.4s ease;
    will-change: transform;
    height: 100%;
    align-items: center;
}

.naturadent-gallery-slide {
    width: 508px;
    height: 320px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
}

.naturadent-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.naturadent-gallery-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 8px;
    color: #263F53 !important;
    line-height: 0;
    transition: opacity 0.2s;
}

.naturadent-gallery-chevron:hover,
.naturadent-gallery-chevron:focus,
.naturadent-gallery-chevron:active {
    color: #263F53 !important;
    background: none !important;
    outline: none !important;
    opacity: 0.7;
}

.naturadent-gallery-chevron:disabled,
.naturadent-gallery-chevron:disabled:hover,
.naturadent-gallery-chevron:disabled:focus {
    color: #B0BAC0 !important;
    cursor: default;
    opacity: 1;
}

/* 16px from the side image: 50% - 254px(half image) - 100px(gap) + 16px(offset from side) */
.naturadent-gallery-prev {
    left: calc(50% - 338px);
}

.naturadent-gallery-next {
    right: calc(50% - 338px);
}

@media (max-width: 768px) {
    .naturadent-gallery-slider-wrapper {
        height: 160px;
    }

    .naturadent-gallery-track {
        gap: 40px;
    }

    .naturadent-gallery-slide {
        width: 250px;
        height: 80px;
        transition: height 0.4s ease;
    }

    .naturadent-gallery-slide.is-active {
        width: 250px;
        height: 160px;
    }

    .naturadent-gallery-chevron,
    .naturadent-gallery-chevron:hover,
    .naturadent-gallery-chevron:focus,
    .naturadent-gallery-chevron:active {
        padding: 4px;
        color: #263F53 !important;
    }

    .naturadent-gallery-chevron svg {
        height: 10px;
        width: auto;
    }

    /* gap=40px, half center=125px, gap center=20px → 125+20=145, minus half button(~7px) */
    .naturadent-gallery-prev {
        left: calc(50% - 152px);
    }

    .naturadent-gallery-next {
        right: calc(50% - 152px);
    }

    .naturadent-gallery-title {
        font-size: 32px !important;
    }

    .naturadent-gallery-subtitle {
        font-size: 16px;
    }
}

.naturadent-features {
    margin-bottom: 40px;
}

.naturadent-features > h2,
.naturadent-results > h2 {
    display: none;
}

.naturadent-features .features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.naturadent-features .feature-item {
    text-align: center;
}

.naturadent-features .feature-icon img {
    height: 90px;
    width: auto;
    margin: 0 auto 16px;
    display: block;
}

.naturadent-features .feature-title {
    color: #263F53;
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
    margin: 0 0 8px;
}

.naturadent-features .feature-description {
    color: #263F53;
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

@media (max-width: 768px) {
    .naturadent-features .features-container {
        grid-template-columns: 1fr;
    }

    .naturadent-features .feature-title {
        font-size: 24px;
    }

    .naturadent-features .feature-description {
        font-size: 16px;
    }
}

.naturadent-results {
    margin-bottom: 40px;
}

.naturadent-results .results-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.naturadent-results .result-item {
    text-align: center;
    flex: 1;
}

.naturadent-results .result-number {
    font-family: 'PT Sans', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 150%;
    background: linear-gradient(180deg, #77DAC1 0%, #0F3151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.naturadent-results .result-text {
    color: #263F53;
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

@media (max-width: 768px) {
    .naturadent-results .results-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ── Campaign FAQ ── */
.naturadent-faq-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    overflow: visible;
}

.naturadent-faq-section::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 870px;
    background-image: url('../Logo_nagy_5.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto;
    pointer-events: none;
    z-index: 0;
}

.naturadent-faq-section > * {
    position: relative;
    z-index: 1;
}

.nd-faq-wrap {
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 40px 20px !important;
}

.naturadent-faq-title {
    color: #263F53 !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 150% !important;
    text-align: center !important;
    margin: 0 0 24px !important;
}

@media (max-width: 768px) {
    .naturadent-faq-title {
        font-size: 20px !important;
    }
    .naturadent-faq-section::before {
        background-size: 120%;
    }
}

/* ── Campaign FAQ accordion (same look as naturadent-faq plugin) ── */
.nd-faq-accordion-item {
    background: #FCFEFF !important;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.25) !important;
    border-radius: 25px !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
}

.nd-faq-accordion-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 20px 28px !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    text-align: left !important;
    gap: 16px !important;
    font-family: 'PT Sans', sans-serif !important;
    outline: none !important;
    box-shadow: none !important;
}

.nd-faq-accordion-header:hover {
    background: rgba(38, 63, 83, 0.03) !important;
}

.nd-faq-accordion-header:focus {
    outline: none !important;
    box-shadow: none !important;
}

.nd-faq-accordion-header-title {
    display: block !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #263f53 !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nd-faq-accordion-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    background: linear-gradient(148.71deg, #77DAC1 -95.47%, #0F3151 123.68%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: background 0.3s ease !important;
    border: none !important;
}

.nd-faq-accordion-chevron {
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    border-right: 2px solid #fff !important;
    border-bottom: 2px solid #fff !important;
    transform: rotate(45deg) !important;
    margin-top: -4px !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}

.nd-faq-accordion-item.is-open .nd-faq-accordion-icon {
    background: transparent !important;
    border: 1px solid #0F3151 !important;
}

.nd-faq-accordion-item.is-open .nd-faq-accordion-chevron {
    border-right-color: #0F3151 !important;
    border-bottom-color: #0F3151 !important;
    transform: rotate(-135deg) !important;
    margin-top: 4px !important;
}

.nd-faq-accordion-body {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.35s ease, padding 0.35s ease !important;
    padding: 0 28px !important;
}

.nd-faq-accordion-item.is-open .nd-faq-accordion-body {
    max-height: 1000px !important;
    padding: 0 28px 24px !important;
}

.nd-faq-accordion-desc {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 15px !important;
    line-height: 160% !important;
    color: #455a6b !important;
    margin-bottom: 0 !important;
}

.nd-faq-accordion-desc p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 600px) {
    .nd-faq-accordion-header {
        padding: 16px 20px !important;
    }

    .nd-faq-accordion-header-title {
        font-size: 18px !important;
    }

    .nd-faq-accordion-body {
        padding: 0 20px !important;
    }

    .nd-faq-accordion-item.is-open .nd-faq-accordion-body {
        padding: 0 20px 20px !important;
    }
}