@import url("fonts.css");

/* =============================================
   Global Custom Styles
   ============================================= */

/* Prevent horizontal scrolling across the entire site without breaking window scroll */
body {
    overflow-x: hidden;
}

.company-name {
    font-weight: 900;
    line-height: 2;
    margin-bottom: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #994392;
    font-size: 16px;
}

@media screen and (max-width: 490px) {
    .btn-book-appointment {
        display: none;
    }

    .company-name {
        font-size: 14px !important;
    }
}

/* =============================================
   Lernen & Schule – Page Custom Styles
   Theme colours:
     Primary dark  : #994392
     Primary mid   : #6054a0
     Accent orange : #f9ac88
     Accent light  : #ff8c5a
   ============================================= */

/* --- Intro Split Section --- */
.ls-intro-section {
    background-color: #ffffff;
    padding: 80px 0 60px;
    position: relative;
}

.ls-intro-section .container {
    position: relative;
    z-index: 2;
}

@media only screen and (max-width: 767px) {
    .ls-intro-section::before {
        display: none;
    }
}

.ls-intro-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.ls-intro-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.ls-intro-content {
    padding-left: 40px;
}

.ls-intro-content .sub-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f9ac88;
    display: block;
    margin-bottom: 16px;
}

.ls-intro-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #994392;
    line-height: 1.3;
    margin-bottom: 20px;
}

.ls-intro-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.ls-intro-content p strong {
    color: #1a1a1a;
}

.ls-quote-box {
    background: linear-gradient(135deg, #994392 0%, #6054a0 100%);
    border-radius: 12px;
    padding: 28px 30px;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.ls-quote-box::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.ls-quote-box p {
    color: #fff;
    font-size: 16px;
    font-style: italic;
    margin: 0;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* --- Accordion Section --- */
.ls-accordion-section {
    padding: 70px 0 60px;
    background: #fff;
}

.ls-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
}

.ls-accordion .accordion-item:first-child {
    border-top: 1px solid #eee;
}

.ls-accordion .accordion-button {
    background: transparent;
    color: #994392;
    font-size: 16px;
    font-weight: 700;
    padding: 20px 24px 20px 0;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ls-accordion .accordion-button:not(.collapsed) {
    color: #f9ac88;
    background: transparent;
}

.ls-accordion .accordion-button::after {
    background-image: none;
    content: '\f107';
    font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free', serif;
    font-weight: 900;
    font-size: 18px;
    color: #aaa;
    transition: transform 0.3s;
    margin-left: auto;
    flex-shrink: 0;
}

.ls-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    color: #f9ac88;
}

.ls-accordion .accordion-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #994392, #6054a0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ls-accordion .accordion-icon i {
    color: #fff;
    font-size: 15px;
}

.ls-accordion .accordion-button:not(.collapsed) .accordion-icon {
    background: linear-gradient(135deg, #f9ac88, #ff8c5a);
}

.ls-accordion .accordion-body {
    padding: 0 0 24px 52px;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

.ls-accordion .accordion-body p {
    margin-bottom: 10px;
}

.ls-accordion .accordion-body p:last-child {
    margin-bottom: 0;
}

.ls-accordion .accordion-body strong {
    color: #994392;
}

/* --- Feature Cards Section --- */
.ls-features-section {
    padding: 70px 0 60px;
    background: #ffffff;
}

.ls-feature-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 28px;
    height: 100%;
    box-shadow: 0 4px 24px rgba(63, 58, 100, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.ls-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(63, 58, 100, 0.14);
    border-bottom-color: #f9ac88;
}

.ls-feature-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #994392, #6054a0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.ls-feature-card .card-icon i {
    font-size: 26px;
    color: #fff;
}

.ls-feature-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #994392;
    margin-bottom: 12px;
}

.ls-feature-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.75;
    margin: 0;
}

/* --- Diagnose Warning Card --- */
.ls-warning-card {
    background: #fff8f5;
    border: 2px solid #f9ac88;
    border-radius: 14px;
    padding: 36px 28px;
    height: 100%;
}

.ls-warning-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f9ac88, #ff8c5a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.ls-warning-card .card-icon i {
    font-size: 26px;
    color: #fff;
}

.ls-warning-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #994392;
    margin-bottom: 12px;
}

.ls-warning-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 8px;
}

.ls-warning-card p:last-child {
    margin-bottom: 0;
}

.ls-warning-card p strong {
    color: #994392;
}

/* --- Target Group Section --- */
.ls-target-section {
    padding: 70px 0 60px;
    background: #fff;
}

.ls-target-table {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(63, 58, 100, 0.08);
}

.ls-target-table table {
    width: 100%;
    border-collapse: collapse;
}

.ls-target-table thead th {
    background: linear-gradient(135deg, #994392, #6054a0);
    color: #fff;
    padding: 18px 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ls-target-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.ls-target-table tbody tr:last-child {
    border-bottom: none;
}

.ls-target-table tbody tr:hover {
    background: #faf9ff;
}

.ls-target-table tbody td {
    padding: 18px 24px;
    font-size: 15px;
    color: #555;
    vertical-align: middle;
}

.ls-target-table tbody td:first-child {
    font-weight: 600;
    color: #994392;
}

.ls-target-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f9ac88, #ff8c5a);
    color: #fff;
    border-radius: 6px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 4px;
}

/* --- Gut zu wissen notice --- */
.ls-info-notice {
    background: linear-gradient(135deg, #fff8f5, #fff);
    border: 2px solid #f9ac88;
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ls-info-notice .notice-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f9ac88, #ff8c5a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ls-info-notice .notice-icon i {
    color: #fff;
    font-size: 18px;
}

.ls-info-notice .notice-text h5 {
    font-size: 15px;
    font-weight: 700;
    color: #994392;
    margin-bottom: 6px;
}

.ls-info-notice .notice-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* --- External Links --- */
.ls-link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(63, 58, 100, 0.06);
    margin-bottom: 16px;
    transition: box-shadow 0.3s, transform 0.3s;
    text-decoration: none;
}

.ls-link-item:hover {
    box-shadow: 0 8px 28px rgba(63, 58, 100, 0.13);
    transform: translateX(4px);
    text-decoration: none;
}

.ls-link-item .link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #994392, #6054a0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ls-link-item .link-icon i {
    color: #fff;
    font-size: 14px;
}

.ls-link-item .link-text {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.ls-link-item .link-arrow {
    margin-left: auto;
    color: #aaa;
    font-size: 16px;
}

.ls-link-item:hover .link-arrow {
    color: #f9ac88;
}

/* --- Inline Subpage Links --- */
.ls-text-link {
    font-size: 17px;
    font-weight: 700;
    color: #994392;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 30px;
    background-color: #faf9ff;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(96, 84, 160, 0.05);
}

.ls-text-link:hover {
    color: #6054a0;
    background-color: #f0edff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 84, 160, 0.1);
    text-decoration: none;
}

.ls-text-link .material-symbols-outlined {
    font-size: 22px;
    color: #f9ac88;
    transition: transform 0.3s ease;
}

.ls-text-link:hover .material-symbols-outlined {
    transform: scale(1.1);
}

.ls-text-link .arrow-icon {
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.ls-text-link:hover .arrow-icon {
    transform: translateX(4px);
}

/* --- Shared Section Label / Title --- */
.ls-section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #f9ac88;
    display: block;
    margin-bottom: 12px;
}

.ls-section-title {
    font-size: 30px;
    font-weight: 800;
    color: #994392;
    margin-bottom: 12px;
}

.ls-section-desc {
    font-size: 15px;
    color: #777;
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.75;
}

/* --- Clean Card styles --- */
.ls-clean-card {
    background: #ffffff;
    border: 1px solid #eef0eb;
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 4px 24px rgba(63, 58, 100, 0.04);
}

.ls-clean-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ls-clean-card h4 i {
    color: #f9ac88;
    font-size: 24px;
}

.ls-clean-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}

.ls-clean-card p:last-child {
    margin-bottom: 0;
}

.ls-clean-card p.highlight {
    color: #1a1a1a;
    font-weight: 700;
}

.ls-page-banner {
    position: relative;
    background-image: url('../images/page-banner/sub_hero.webp');
    height: 450px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-center-logo {
    max-height: 180px;
    max-width: 90%;
    width: auto;
    height: auto;
}

@media only screen and (max-width: 991px) {
    .banner-center-logo {
        max-height: 140px;
    }
}

@media only screen and (max-width: 767px) {
    .banner-center-logo {
        max-height: 100px;
    }
}

@media only screen and (max-width: 479px) {
    .banner-center-logo {
        max-height: 70px;
    }
}


@media only screen and (max-width: 1199px) {
    .ls-page-banner {
        height: 380px;
    }
}

@media only screen and (max-width: 991px) {
    .ls-page-banner {
        height: 300px;
    }
}

@media only screen and (max-width: 767px) {
    .ls-page-banner {
        height: 220px;
    }
}

@media only screen and (max-width: 479px) {
    .ls-page-banner {
        height: 160px;
    }
}

.ls-section-heading-left {
    text-align: left;
    margin-bottom: 48px;
}

.ls-section-heading-left p {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

.ls-feature-card-full {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(63, 58, 100, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    height: 100%;
}

.ls-feature-card-full h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.ls-feature-card-full p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.ls-feature-card-full p:last-child {
    margin-bottom: 0;
}

.ls-feature-card-full p.highlight {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 0;
}

.ls-partner-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ls-partner-card-body p {
    margin-bottom: 0;
    flex: 1;
}

.ls-partner-badge {
    flex-shrink: 0;
}

.ls-partner-badge a {
    display: inline-block;
    border-radius: 50%;
}

.ls-partner-badge img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ls-partner-badge a:hover img,
.ls-partner-badge img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.ls-target-table-clean {
    box-shadow: none;
    border: 1px solid #f0f0f0;
}

.ls-cta-block h3 {
    font-size: 20px;
    font-weight: 700;
    color: #994392;
    margin-bottom: 24px;
}

.ls-cta-block p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .ls-intro-content {
        padding-left: 0;
        margin-top: 32px;
    }

    .ls-intro-image img {
        height: 260px;
    }

    .ls-intro-content h2 {
        font-size: 24px;
    }

    .ls-section-title {
        font-size: 24px;
    }

    /* Prevent AOS fade-left / fade-right horizontal displacement from causing x-scrollbar */
    [data-aos="fade-left"] {
        transform: translate3d(0, 24px, 0) !important;
    }
    [data-aos="fade-right"] {
        transform: translate3d(0, 24px, 0) !important;
    }
    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        transform: translate3d(0, 0, 0) !important;
    }

    /* Optimize card paddings on mobile */
    .ls-feature-card-full,
    .ls-clean-card {
        padding: 24px 20px;
    }

    .ls-partner-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ls-partner-badge img {
        width: 115px;
        height: 115px;
    }

    /* Subpage link pills */
    .ls-text-link {
        font-size: 15px;
        padding: 10px 18px;
        max-width: 100%;
        word-break: break-word;
    }

    /* Prevent Bootstrap g-5 from expanding rows past container bounds */
    .row.g-5 {
        --bs-gutter-x: 1.5rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }
}

/* Ensure buttons don't exceed container width on narrow screens */
.btn-width-300 {
    max-width: 100% !important;
}

/* --- Google Map Section --- */
.google-map-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.google-map-wrap {
    filter: grayscale(15%) contrast(102%);
    transition: filter 0.4s ease;
}

.google-map-wrap:hover {
    filter: none;
}

.google-map-wrap a {
    display: block;
    width: 100%;
}

.google-map-wrap iframe,
.google-map-wrap img {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
    object-fit: cover;
}

/* --- Footer Copyright Section --- */
.footer-copyright-row {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 10px;
    text-align: center;
}

.footer-copyright-left .copyright {
    text-align: left;
    margin-bottom: 0;
    color: #ababab;
}

.footer-copyright-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-copyright-right a {
    color: #ababab;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-copyright-right a:hover {
    color: #ffffff;
}

@media (max-width: 767px) {
    .footer-copyright-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-top: 20px;
    }
    
    .footer-copyright-left .copyright {
        text-align: center;
    }
    
    .footer-copyright-right {
        justify-content: center;
        gap: 20px;
    }
}


.mobile-menu-logo {
    display: none !important;
}

/* Reduce contact form textarea height */
.contact-form textarea {
    min-height: 110px !important;
}

/* Contact form checkbox rows */
.contact-checkbox-row {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

/* Contact form checkbox */
.contact-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #696969;
    font-size: 15px;
    cursor: pointer;
}
.contact-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: unset;
    accent-color: #994392;
    cursor: pointer;
    flex-shrink: 0;
}

/* Submit button states */
#submit-btn {
    background-color: #994392 !important;
    border-color: #994392 !important;
}
#submit-btn:disabled {
    background-color: #cba8c9 !important;
    border-color: #cba8c9 !important;
    opacity: 1 !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Contact form select dropdown */
select.contact-select {
    width: 100%;
    min-height: 56px;
    padding: 3px 20px;
    color: #696969;
    border: 1px solid #F5F5F5;
    border-radius: 5px;
    outline: none;
    background-color: #F5F5F5;
    appearance: none;
    -webkit-appearance: none;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}
select.contact-select:focus {
    outline: none;
    border-color: #994392;
}

/* Replace FA Pro nav dropdown arrow with a simple CSS arrow */
.site-main-menu > ul > li.has-children > a .menu-text::after {
    font-family: inherit !important;
    content: " ▾" !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

/* Scroll-to-top arrow centering for Material Symbols spans */
.scroll-top .arrow-top,
.scroll-top .arrow-bottom {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.scroll-top .arrow-top {
    transform: translate(-50%, -50%);
}
.scroll-top .arrow-bottom {
    transform: translate(-50%, 80px);
}
.scroll-top:hover .arrow-top {
    transform: translate(-50%, -80px);
}
.scroll-top:hover .arrow-bottom {
    transform: translate(-50%, -50%);
}

/* Match section page titles to ls-section-title style */
.section-title .title {
    font-size: 30px !important;
    font-weight: 800 !important;
}

/* Reduce navbar logo size */
.header-logo a {
    max-width: 70px !important;
}
.header-logo a img {
    width: 100% !important;
    padding: 8px 0 !important;
}

/* Footer Light Theme Custom Overrides */
.footer-section {
    background-color: #f8f9fa !important;
    color: #555555 !important;
}

.footer-section .footer-widget-title {
    color: #994392 !important;
    font-weight: 700;
}

.footer-section .footer-widget p {
    color: #555555 !important;
    font-size: 15px;
    line-height: 1.8;
}

.footer-section .footer-widget a {
    color: #994392 !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-section .footer-widget a:hover {
    color: #6054a0 !important;
    text-decoration: underline;
}

.footer-section .footer-widget ul li a {
    color: #555555 !important;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-section .footer-widget ul li a:hover {
    color: #994392 !important;
    text-decoration: underline;
}

/* Fix footer widget negative margin causing mobile horizontal overflow */
.footer-widget-content ul {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.footer-widget-content ul li {
    padding-right: 0 !important;
}

.footer-section .footer-copyright-row {
    border-top: 1px solid #e2e8f0 !important;
    margin-top: 30px;
    padding-top: 25px;
}

.footer-section .footer-copyright-row .copyright {
    color: #777777 !important;
}

.footer-section .footer-copyright-row .copyright a {
    color: #994392 !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-section .footer-copyright-row .copyright a:hover {
    color: #6054a0 !important;
    text-decoration: underline;
}

/* =============================================
   Top Dropdown Burger Menu Overrides
   ============================================= */

/* Prevent body horizontal shift and page translations when menu is open */
.mobile-menu-open {
    overflow-x: hidden !important;
}

.mobile-menu-open #page {
    -webkit-transform: none !important;
    transform: none !important;
}

/* Base overlay from the top */
.site-main-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4) !important; /* Dark translucent overlay */
    z-index: 999999;
    overflow-x: hidden;
}

/* Inner panel - Dropdown from top */
.site-main-mobile-menu-inner {
    width: 100% !important;
    max-width: 100vw !important;
    max-height: 90vh;
    height: auto !important;
    float: none !important;
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateY(-100%) !important;
    transform: translateY(-100%) !important;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Remove default dark purple overlay before-element */
.site-main-mobile-menu-inner::before {
    display: none !important;
}

/* Open state for the dropdown panel */
.mobile-menu-open .site-main-mobile-menu-inner {
    -webkit-transform: translateY(0) !important;
    transform: translateY(0) !important;
}

/* Header style for mobile menu */
.mobile-menu-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f0f0f0;
    height: 80px;
    padding: 0 20px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Dark color for mobile menu close button icon lines */
.mobile-menu-close .toggle i {
    background-color: #1a1a1a !important; /* Dark lines for visibility on white bg */
}
.mobile-menu-close .toggle:hover i {
    background-color: #994392 !important; /* Brand purple on hover */
}

/* Content wrapper */
.mobile-menu-content {
    background-color: #ffffff !important;
    padding: 20px 30px 40px !important;
    overflow-y: auto;
}

/* Mobile Menu Links Styling - Dark text against white background */
.site-mobile-menu > ul > li > a {
    color: #1a1a1a !important;
    border-bottom: 1px solid transparent;
}
.site-mobile-menu > ul > li + li > a {
    border-top: 1px solid #f0f0f0 !important; /* Subtle gray line */
}

.site-mobile-menu > ul > li > a:hover,
.site-mobile-menu > ul > li.open > a {
    color: #994392 !important;
}

/* Menu Toggle arrows */
.site-mobile-menu > ul > li .menu-toggle {
    color: #1a1a1a !important;
}
.site-mobile-menu > ul > li .menu-toggle:hover {
    background-color: #f5f5f5 !important;
    color: #994392 !important;
}

/* Sub-menu styling */
.site-mobile-menu .sub-menu {
    border-left: 2px solid #f0f0f0;
    padding-left: 15px;
    margin: 5px 0 15px 10px !important;
}

.site-mobile-menu .sub-menu li > a {
    color: #555555 !important;
}
.site-mobile-menu .sub-menu li > a:hover,
.site-mobile-menu .sub-menu li.open > a {
    color: #994392 !important;
}

/* Custom CSS Chevron for Mobile Menu Toggle */
.site-mobile-menu .menu-toggle i.chevron-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
    margin-top: -3px;
    margin-left: 2px;
}

/* Hover state */
.site-mobile-menu .menu-toggle:hover i.chevron-icon {
    border-color: #994392;
}

/* Open state rotation */
.site-mobile-menu li.open > .menu-toggle i.chevron-icon {
    transform: rotate(-135deg);
    margin-top: 3px;
}

/* =============================================
   Home Page Feature Image Cards
   ============================================= */

.feature-image-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(63, 58, 100, 0.06);
    border: 1px solid #f0f0f0;
    padding: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none !important;
}

.feature-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(96, 84, 160, 0.12);
}

.feature-image-card .card-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #f2f2f2;
}

.feature-image-card .card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-image-card:hover .card-image-wrap img {
    transform: scale(1.06);
}

.feature-image-card .content {
    padding: 30px 24px 28px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.feature-image-card .content .title {
    font-size: 22px;
    font-weight: 700;
    color: #994392;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.feature-image-card:hover .content .title {
    color: #6054a0;
}

.feature-image-card .content .desc {
    flex-grow: 1;
    margin-bottom: 20px;
}

.feature-image-card .content .desc p {
    font-size: 15px;
    line-height: 1.7;
    color: #696969;
    margin: 0;
}

.feature-image-card .content .link {
    margin-top: auto;
    font-size: 15px;
    font-weight: 700;
    color: #8C89A2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: color 0.3s ease, gap 0.3s ease;
}

.feature-image-card:hover .content .link {
    color: #f9ac88;
    gap: 10px;
}

.feature-image-card .content .link .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}

/* =============================================
   Homepage Banner Height Adjustment
   ============================================= */

.intro1-section {
    height: 650px !important;
    background-position: center center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

@media only screen and (max-width: 991px) {
    .intro1-section {
        height: 520px !important;
        background-position: center bottom !important;
    }
}

@media only screen and (max-width: 767px) {
    .intro1-section {
        background-image: url('../images/intro-bg.webp') !important;
        background-size: cover;
        background-position: center bottom !important;
        height: 350px !important;
        display: block !important;
    }
}

/* =============================================
   Redesigned Welcome Highlight Section (Post-Banner)
   ============================================= */

.welcome-highlight-section {
    background: linear-gradient(135deg, #994392 0%, #6054a0 100%);
    padding: 75px 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 20px 40px rgba(0,0,0,0.06), 0 15px 30px rgba(153, 67, 146, 0.12);
    z-index: 5;
}

/* Subtle warm background accent glow */
.welcome-highlight-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 172, 136, 0.12) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.welcome-content-wrap {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-highlight-section .welcome-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.welcome-highlight-section .welcome-bar-divider {
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #f9ac88, #ff8c5a);
    margin: 24px auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.welcome-highlight-section .welcome-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
    .welcome-highlight-section {
        padding: 60px 0;
    }
    .welcome-highlight-section .welcome-heading {
        font-size: 32px;
    }
    .welcome-highlight-section .welcome-subheading {
        font-size: 17px;
    }
}

@media only screen and (max-width: 767px) {
    .welcome-highlight-section {
        padding: 50px 20px;
    }
    .welcome-highlight-section .welcome-heading {
        font-size: 26px;
        line-height: 1.4;
    }
    .welcome-highlight-section .welcome-subheading {
        font-size: 15px;
        line-height: 1.55;
    }
}

/* =============================================
   About Page Custom Styles
   ============================================= */

.about-page .header-logo {
    display: none !important;
}

.about-page .banner-center-logo {
    max-height: 300px; /* increased from 180px */
}

@media only screen and (max-width: 991px) {
    .about-page .banner-center-logo {
        max-height: 190px; /* increased from 140px */
    }
}

@media only screen and (max-width: 767px) {
    .about-page .banner-center-logo {
        max-height: 140px; /* increased from 100px */
    }
}

@media only screen and (max-width: 479px) {
    .about-page .banner-center-logo {
        max-height: 100px; /* increased from 70px */
    }
}

/* =============================================
   Contact Form Status Messages
   ============================================= */
.form-messege {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 8px;
    display: none;
    line-height: 1.5;
}

.form-messege.success {
    display: block;
    background-color: #e6f6ec;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.form-messege.error {
    display: block;
    background-color: #fdf2f2;
    color: #d12424;
    border: 1px solid #f5c6cb;
}

/* =============================================
   AI-Generated Image Badges & Photo Labels
   ============================================= */
.ai-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: transparent;
    color: #cccccc;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    padding: 0;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 1px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.5px;
    z-index: 5;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease;
}

.ai-label-banner {
    bottom: 20px;
    right: 20px;
    font-size: 12px;
}

/* =============================================
   Legacy Overlapping Photo Badges (Hidden)
   ============================================= */
.photo-badge,
.ai-label,
.ai-label-banner {
    display: none !important;
}

/* =============================================
   Page Image Credits / Bildnachweis (Before Footer)
   ============================================= */
.page-image-credits {
    background-color: #fbfbfb;
    border-top: 1px solid #eef0f3;
    padding: 14px 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 2;
}

.image-credits-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.image-credits-label {
    font-size: 11px;
    font-weight: 600;
    color: #64607d;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    width: 100%;
}

.image-credits-label i {
    font-size: 12px;
    color: #994392;
}

.image-credits-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.image-credits-list li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #7b7891;
    font-size: 11px;
    line-height: 1.4;
}

.image-credits-list li::after {
    content: "•";
    margin-left: 12px;
    color: #d1d1db;
    font-weight: normal;
}

.image-credits-list li:last-child::after {
    display: none;
}

.image-credits-list .credit-num {
    font-weight: 600;
    color: #994392;
}

.image-credits-list .credit-target {
    color: #434057;
    font-weight: 500;
}

.image-credits-list a.credit-target {
    color: #434057 !important;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(153, 67, 146, 0.35);
    text-underline-offset: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.image-credits-list a.credit-target:hover {
    color: #994392 !important;
    text-decoration-color: #994392;
}

html {
    scroll-behavior: smooth;
}

[id^="img-"] {
    scroll-margin-top: 110px;
}

[id^="img-"]:target {
    animation: imageTargetPulse 1.6s ease-in-out;
}

@keyframes imageTargetPulse {
    0% {
        outline: 3px solid #994392;
        outline-offset: 4px;
        box-shadow: 0 0 16px rgba(153, 67, 146, 0.45);
    }
    70% {
        outline: 3px solid #994392;
        outline-offset: 4px;
        box-shadow: 0 0 16px rgba(153, 67, 146, 0.45);
    }
    100% {
        outline: 3px solid transparent;
        outline-offset: 0;
        box-shadow: none;
    }
}

.image-credits-list strong {
    font-weight: 500;
    color: #55526d;
}

.image-credits-list a {
    color: #7b7891 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.image-credits-list a:hover {
    color: #994392 !important;
}

.image-credits-list .credit-ai {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(153, 67, 146, 0.08);
    color: #994392;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.image-credits-list .credit-ai i {
    font-size: 9px;
}

@media (max-width: 991px) {
    .image-credits-wrap {
        gap: 6px 12px;
    }
}

@media (max-width: 767px) {
    .page-image-credits {
        padding: 12px 0;
    }
    .image-credits-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .image-credits-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .image-credits-list li {
        font-size: 10.5px;
    }
    .image-credits-list li::after {
        display: none;
    }
}
