/* Kindle Direct Publishing — Component Styles */

/* Testimonials */
.enough-slider-main {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.enough-slider-main::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(255, 153, 0, 0.12);
    font-family: Georgia, serif;
}
.enough-slider-main:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.enough-slider-main h6 {
    color: var(--heading);
    font-weight: 700;
    margin-top: 0.75rem;
}
.enough-slider-main p {
    color: var(--body);
    font-size: 0.95rem;
    line-height: 1.65;
}
.enough-slider span.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.35;
    background: var(--kdp-gray-500);
}
.enough-slider span.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}
.enough-slider .swiper-slide.swiper-slide-active .enough-slider-main {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 153, 0, 0.2);
}

/* Portfolio / Celebrating slider */
.celebrating-your-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.celebrating-your-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.celebrating-your-img img {
    display: block;
    transition: transform 0.6s ease;
}
.celebrating-your-img:hover img {
    transform: scale(1.04);
}

/* Service cards */
.service-card-modern {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}
.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 153, 0, 0.2);
}
.service-card-modern:hover::before {
    opacity: 1;
}
.service-card-modern .card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: rgba(255, 153, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.service-card-modern .card-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.service-card-modern h3 {
    color: var(--heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.service-card-modern p {
    color: var(--body);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Process cards */
.process-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}
.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 153, 0, 0.2);
}
.process-card:hover::before {
    opacity: 1;
}
.process-card .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.process-card h3 {
    color: var(--heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.process-card p {
    color: var(--body);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* CTA Section */
.section-container11 > div {
    background: linear-gradient(135deg, var(--kdp-charcoal), var(--kdp-dark));
    position: relative;
    overflow: hidden;
}
.section-container11 .gallery .col {
    gap: 1rem;
}
.section-container11 .gallery .image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.section-container11 .gallery .image img:hover {
    transform: scale(1.05);
}

/* Hero modern stats */
.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.hero-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.hero-stat img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.hero-stat h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}
.hero-stat span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--kdp-gray-700);
    letter-spacing: 0.05em;
}

/* Trust badges row */
.trust-badges a {
    display: inline-block;
    transition: var(--transition);
}
.trust-badges a:hover {
    transform: translateY(-3px);
}
.trust-badges img {
    max-height: 44px;
    width: auto;
    border-radius: var(--radius-sm);
}

/* Modern buttons variations */
.btn-primary-kdp {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    transition: var(--transition);
}
.btn-primary-kdp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.35);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-outline-kdp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 2rem;
    background: transparent;
    color: var(--heading) !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid var(--kdp-gray-300);
    transition: var(--transition);
}
.btn-outline-kdp:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.btn-outline-light-kdp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 2rem;
    background: transparent;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}
.btn-outline-light-kdp:hover {
    background: #fff;
    color: var(--kdp-black) !important;
    border-color: #fff;
    transform: translateY(-2px);
}

/* Section title with badge */
.section-title {
    margin-bottom: 3rem;
}
.section-title .eyebrow {
    display: inline-block;
    background: rgba(255, 153, 0, 0.1);
    color: var(--primary);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 0.75rem;
}
.section-title p {
    color: var(--body);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
}
.section-title.text-left p {
    margin-left: 0;
}

/* Feature list */
.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    /* margin-bottom: 0.75rem; */
    color: var(--body);
    font-weight: 500;
}
.feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 153, 0, 0.12);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content image wrapper */
.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.content-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}
.content-image img {
    display: block;
    width: 100%;
}

/* Services CTA dark section */
.services-cta > div {
    background: linear-gradient(135deg, var(--kdp-charcoal), var(--kdp-dark));
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.services-cta > div::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml, %3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
}
.services-cta h2,
.services-cta h3,
.services-cta p,
.services-cta li {
    color: #fff;
}
.services-cta .tagline {
    background: #fff !important;
    color: var(--heading) !important;
    border-radius: 0 var(--radius) var(--radius) 0 !important;
    box-shadow: var(--shadow);
    font-weight: 700;
}
.services-cta img {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
    border-radius: var(--radius-lg);
}

/* Partners / Logo slider */
.partner-logo {
    filter: grayscale(1) opacity(0.7);
    transition: var(--transition);
    max-height: 52px;
    object-fit: contain;
}
.partner-logo:hover {
    filter: grayscale(0) opacity(1);
}

/* Modern cards with icon */
.icon-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    transition: var(--transition);
}
.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 153, 0, 0.2);
}
.icon-card .icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(255, 153, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.icon-card .icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.icon-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.icon-card p {
    font-size: 0.92rem;
    line-height: 1.6;
}

/* FAQ modern */
.faq-modern .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.85rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq-modern .accordion-button {
    font-weight: 600;
    color: var(--heading);
    background: #fff;
    padding: 1.15rem 1.25rem;
}
.faq-modern .accordion-button:not(.collapsed) {
    background: rgba(255, 153, 0, 0.05);
    color: var(--primary);
    box-shadow: none;
}
.faq-modern .accordion-button:focus {
    box-shadow: none;
}
.faq-modern .accordion-button::after {
    transition: var(--transition);
}
.faq-modern .accordion-body {
    color: var(--body);
    line-height: 1.7;
    padding: 1rem 1.25rem 1.5rem;
}

/* Footer form enhancement */
.footer-form-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}
.footer-form-card h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

/* Process timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0.65rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), rgba(255,153,0,0.1));
}
.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.85rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: var(--shadow);
}
.timeline-item:last-child {
    padding-bottom: 0;
}

/* Hero gradient background variant */
.hero-gradient {
    background: linear-gradient(135deg, #fff 0%, #fff5e6 50%, #fff 100%);
    position: relative;
}
.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,153,0,0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* Dark section with orange accent */
.dark-section {
    background: linear-gradient(135deg, var(--kdp-dark), var(--kdp-charcoal));
    color: #fff;
}
.dark-section h2,
.dark-section h3,
.dark-section p,
.dark-section li,
.dark-section span {
    color: #fff;
}

/* Sticky bottom CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
    z-index: 1040;
}
.sticky-cta a {
    width: 100%;
    justify-content: center;
}

/* Pricing table modern */
.pricing-table {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.pricing-table th {
    background: var(--kdp-dark);
    color: #fff;
    padding: 1rem;
}
.pricing-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}
.pricing-table tr:nth-child(even) td {
    background: var(--surface-soft);
}
.pricing-table tr:hover td {
    background: rgba(255, 153, 0, 0.04);
}

/* Blog card modern */
.blog-card-modern {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.blog-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.blog-card-modern .thumb {
    overflow: hidden;
}
.blog-card-modern .thumb img {
    transition: transform 0.6s ease;
}
.blog-card-modern:hover .thumb img {
    transform: scale(1.05);
}
.blog-card-modern .content {
    padding: 1.5rem;
}
.blog-card-modern .content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.blog-card-modern .content p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats bar */
.stats-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}
.stats-bar .stat {
    text-align: center;
}
.stats-bar .stat h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.stats-bar .stat span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--kdp-gray-700);
}

/* Contact page */
.contact-info-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
}
.contact-info-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.contact-info-box .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 153, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.contact-info-box .icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* About team / values */
.value-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 153, 0, 0.2);
}
.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Image mask for hero */
.hero-image-mask {
    /* border-radius: var(--radius-lg); */
    /* overflow: hidden; */
    /* box-shadow: var(--shadow-lg); */
}

/* Custom scrollbar for tab panels */
.custom-tabs div#v-pills-tab::-webkit-scrollbar {
    width: 6px;
}
.custom-tabs div#v-pills-tab::-webkit-scrollbar-thumb {
    background: rgba(255, 153, 0, 0.4);
    border-radius: 3px;
}

/* Swiper custom pagination */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--kdp-gray-300);
    opacity: 1;
    transition: var(--transition);
}
.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* Author showcase card */
.showcase-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}
.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.showcase-card img {
    transition: transform 0.6s ease;
}
.showcase-card:hover img {
    transform: scale(1.03);
}

/* Button group gap */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Responsive helpers */
@media(max-width: 767px) {
    .service-card-modern,
    .process-card,
    .icon-card {
        padding: 1.5rem;
    }
    .section-title {
        margin-bottom: 2rem;
    }
    .section-title h2 {
        font-size: 1.65rem;
    }
    .hero-stat {
        padding: 0.5rem 0.75rem;
    }
    .hero-stat h3 {
        font-size: 1.35rem;
    }
}

/* Final polish: consistent border color */
[class*="border-\["] {
    border-color: rgba(0, 0, 0, 0.08) !important;
}
[class*="border-\#40BEE2"],
[class*="border-\[\#40BEE2\]"] {
    border-color: var(--primary) !important;
}
