/* ========================================================================
   CALLAGENTS LANDINGPAGE — Design System (aligned with cloudworkers.works)

   Color Palette
   Primary:        #16a34a (green)
   Primary Light:  #22c55e
   Primary Subtle: #dcfce7
   Primary Dark:   #14532d (footer bg)
   CTA:            #f97316 (orange, complementary)
   CTA Hover:      #ea580c
   Text Dark:      #1e293b
   Text Medium:    #475569
   Text Light:     #64748b  /  #94a3b8 (muted)
   Background:     #f1f5f9
   Surface:        #fff
   Border Light:   #e2e8f0
   Border Medium:  #cbd5e1
   ======================================================================== */


/* --- Base --- */

html {
    scroll-behavior: smooth;
}

body {
    color: #1e293b;
    background-color: #f1f5f9;
    font-size: 1.125rem;
    line-height: 1.7;
    font-family: 'Asap', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    line-height: 1.7;
}


/* --- Navigation --- */

nav.navbar.navbar-custom {
    background-color: #16a34a !important;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 16px !important;
}

nav ul a,
nav .brand-logo {
    color: #fff;
}

nav ul a img,
nav .brand-logo img {
    height: 50px;
    margin-top: 6px;
}

@media only screen and (max-width: 600px) {
    nav .brand-logo img {
        height: 26px;
        margin-top: 13px;
    }
}

.navbar-custom {
    background-color: #16a34a;
    color: #fff;
}

.nav-item a {
    color: #fff;
    padding: 10px;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-item a:hover {
    color: #dcfce7;
}

.nav-item-bottom,
.nav-item-bottom a {
    color: #94a3b8;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-item-bottom a:hover {
    color: #fff;
}

.button-collapse {
    color: #fff;
}


/* --- Language Switcher --- */

.nav-language-trigger {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.nav-language-trigger:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-flag {
    width: 30px;
    height: auto;
    border-radius: 3px;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nav-language-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-language-list li + li {
    border-top: 1px solid #e2e8f0;
}

.nav-language-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    color: #1e293b;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-language-list a:hover {
    background-color: #f1f5f9;
    color: #16a34a;
    text-decoration: none;
}

.nav-language-list a.active {
    color: #16a34a;
    background-color: #dcfce7;
}

.nav-language-list .nav-flag {
    width: 36px;
    flex-shrink: 0;
}


/* --- Headlines --- */

.headline-main {
    font-size: 2.25rem;
    text-align: center;
    line-height: 1.3;
    font-family: 'Asap', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1e293b;
}

.headline-subtitle {
    font-size: 1.15rem;
    text-align: center;
    padding-bottom: 30px;
    font-family: 'Asap', sans-serif;
    color: #64748b;
    font-weight: 400;
}

.headline-icon {
    padding: 50px 0 30px;
    text-align: center;
    font-size: 2rem;
    color: #16a34a;
}

.headline-logo {
    font-size: 1.5rem;
    text-align: center;
    line-height: 3rem;
    font-family: 'Pacifico', cursive;
}

.headline-footer {
    font-size: 2rem;
    line-height: 1.4;
    font-family: 'Asap', sans-serif;
    font-weight: 700;
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Asap', sans-serif;
    letter-spacing: -0.02em;
}


/* --- Hero / CTA --- */

.cta-hero-bg {
    background-color: #16a34a;
}

.cta-hero-image {
    height: 500px;
    background-image: url('https://callcenter.cloudworkers.company/themes/cloudworkers/assets/img/hero-4x3.webp');
    background-size: cover;
    background-position: center;
}

@media (max-width: 767.98px) {
    .cta-hero-image {
        height: 250px;
    }
}

.cta-hero-title {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.cta-hero-subtitle {
    color: #fff;
}

.arrow-spacer-right {
    padding-right: 5px;
}


/* --- Generic section titles --- */

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #1e293b;
}

.section-title-muted {
    font-weight: 400;
    color: #64748b;
}


/* --- Satisfaction progress bars --- */

.progress-satisfaction {
    background: #dcfce7;
    border: 1px solid #e2e8f0;
    height: 35px;
    border-radius: 50px;
    overflow: hidden;
}

.progress-satisfaction .progress-bar {
    background: #16a34a;
    border-radius: 50px;
    font-size: 1rem;
    text-align: left;
    padding-left: 15px;
    font-weight: 600;
    color: #fff;
}


/* --- Requirements tiles --- */

.req-icon {
    font-size: 2.5rem;
    color: #16a34a;
}


/* --- Carousel --- */

.carousel-icon-light {
    filter: invert(100%);
}


/* --- Testimonial Cards --- */

/* Wrapper with decorative background shapes (the "weiße Form") */
.testimonial-carousel {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
}

.testimonial-carousel::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.06) 0%, rgba(22, 163, 74, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.testimonial-carousel::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.05) 0%, rgba(22, 163, 74, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Use grid to stack all carousel items — prevents height-jump */
.testimonial-carousel.carousel {
    overflow: visible;
}

.testimonial-carousel .carousel-inner {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.testimonial-carousel .carousel-item {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    visibility: hidden;
    display: block !important;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    transform: none !important;
}

.testimonial-carousel .carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Card */
.testimonial-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 60px 70px;
    margin: 25px 70px;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Large decorative quote marks — inside card corners, transparent bg */
.testimonial-quote-start,
.testimonial-quote-end {
    position: absolute;
    color: #16a34a;
    font-size: 4rem;
    line-height: 1;
    z-index: 2;
}

.testimonial-quote-start {
    top: 25px;
    right: 35px;
}

.testimonial-quote-end {
    bottom: 25px;
    left: 35px;
}

/* Portrait — no glow ring */
.testimonial-portrait {
    flex-shrink: 0;
}

.testimonial-portrait img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Body */
.testimonial-body {
    flex: 1;
    min-width: 0;
}

.testimonial-name {
    font-weight: 400;
    color: #1e293b;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.testimonial-name strong {
    font-weight: 700;
    color: #16a34a;
}

.testimonial-quote-text {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 1.1rem;
    font-style: italic;
}

/* Carousel Controls — green circle with FA chevron inside */
.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background-color: #16a34a;
    border-radius: 50%;
    opacity: 1;
    z-index: 3;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.testimonial-carousel .carousel-control-prev {
    left: 15px;
}

.testimonial-carousel .carousel-control-next {
    right: 15px;
}

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
    color: #fff;
}

/* Hide Bootstrap's default icon-spans — we use FA in markup instead */
.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
    display: none;
}

/* Tablet */
@media (max-width: 991.98px) {
    .testimonial-card {
        margin: 25px 40px;
        padding: 50px 50px;
        gap: 35px;
    }
    .testimonial-portrait img {
        width: 140px;
        height: 140px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .testimonial-carousel {
        padding: 40px 0 60px;
    }
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        display: none;
    }
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 50px 25px 40px;
        margin: 20px 15px;
        gap: 25px;
    }
    .testimonial-portrait img {
        width: 130px;
        height: 130px;
    }
    .testimonial-quote-text {
        font-size: 1rem;
    }
    .testimonial-quote-start,
    .testimonial-quote-end {
        font-size: 2.5rem;
    }
    .testimonial-quote-start {
        top: 15px;
        right: 20px;
    }
    .testimonial-quote-end {
        bottom: 15px;
        left: 20px;
    }
    .testimonial-carousel .carousel-control-prev,
    .testimonial-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .testimonial-carousel .carousel-control-prev {
        left: 5px;
    }
    .testimonial-carousel .carousel-control-next {
        right: 5px;
    }
}


/* --- FAQ / Accordion cards --- */

.card {
    padding: 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
    overflow: hidden;
}

.card-header {
    background-color: transparent;
    padding: 0;
    border-bottom: none;
}

#accordion .card {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#accordion .card:hover {
    border-color: #22c55e;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08);
}

#accordion .btn-style-01 {
    background-color: transparent;
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    border-radius: 0;
}

#accordion .btn-style-01:hover,
#accordion .btn-style-01:not(.collapsed) {
    background-color: transparent;
    color: #16a34a;
}

.faq > .card-body {
    background-color: #f8fafc;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    padding: 16px 20px 20px;
    border-top: 1px solid #e2e8f0;
    margin: 0 16px;
}

.readmore-general {
    padding: 0;
}

.readmore-general > .card-body {
    background-color: #f1f5f9;
    font-size: 1.125rem;
    line-height: 1.7;
}


/* --- Benefit Cards (reusable) --- */

.benefit {
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.benefit:hover {
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.1);
    transform: translateY(-2px);
}


/* --- Buttons --- */

/* Primary CTA - orange pill */
.btn-white {
    padding: 14px 32px;
    border-radius: 50px;
    background-color: #f97316;
    color: #fff;
    font-family: 'Asap', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-white:hover {
    background-color: #ea580c;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.btn-style-01 {
    text-align: left;
    background-color: #f8fafc;
    white-space: normal;
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
    box-shadow: none !important;
    outline: 0 !important;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    transition: background-color 0.2s ease;
}

.btn-style-01:hover {
    background-color: #dcfce7;
}

.btn-more-left {
    text-align: left;
    font-weight: 600;
    padding: 10px 16px;
    margin-bottom: 10px;
    color: #16a34a;
    font-size: 1rem;
    background-color: #dcfce7;
    border-radius: 8px;
    box-shadow: none !important;
    outline: 0 !important;
    transition: background-color 0.2s ease;
}

.btn-more-left:hover {
    background-color: #bbf7d0;
}

.btn-style-footer a {
    background-color: #f97316;
    color: #fff;
    font-family: 'Asap', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #f97316;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-style-footer a:hover {
    background-color: #ea580c;
    border-color: #ea580c;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}


/* --- Typography utilities --- */

.txt-style-02 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.7;
}


/* --- Lists --- */

ul.default {
    padding-left: 15px;
}


/* --- Forms (used by ApplicationFormNew / ContactFormFrank components) --- */

.input-field {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.required label {
    font-weight: 600;
}

.required label:after {
    color: #e32;
    content: ' *';
    display: inline;
}


/* --- Footer --- */

footer.page-footer {
    margin: 0;
}

.site-footer {
    background-color: #14532d;
    color: #cbd5e1;
    padding: 60px 0 40px;
    margin-top: 30px;
}

.site-footer-social {
    background-color: #052e16;
    border-top: 1px solid #14532d;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    color: #94a3b8;
    font-size: 0.8rem;
}


/* --- Section ID overrides --- */

#contact {
    color: #475569;
}
