/* Custom theme overrides and local assets */

/* Poppins Font Classes */
.font-poppins-light {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.font-poppins-semibold {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.font-poppins-bold {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Example: local font usage
@font-face {
    font-family: 'InterCustom';
    src: url('../fonts/Inter-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.use-inter-custom {
    font-family: 'InterCustom', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}
*/

/* Example: logo utility */
.site-logo {
    display: inline-block;
    width: 210px;
    height: auto;
}

/* Service Cards Styling */
.service-card {
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    background: #f9fafb;
    /* Create the indented corner effect */
    /* clip-path: polygon(0% 0%, 85% 0%, 100% 15%, 100% 100%, 0% 100%); */
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* Apply yellow background on hover */
    background-color: #fbbf24 !important; /* yellow-400 */
}

.service-card .absolute {
    transition: all 0.3s ease;
    /* Position the button to fit perfectly in the indented area */
    
    right: 2rem;
}

.service-card:hover .absolute {
    transform: scale(1.05);
}

/* Infinite Marquee Styles */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marquee-scroll 20s linear infinite;
    width: fit-content;
}

.marquee-item {
    flex-shrink: 0;
    margin-right: 2rem; /* Spacing between items */
    display: flex;
    align-items: center;
}

/* Star separator styling */
.marquee-item.marquee-star {
    margin-right: 1.5rem; /* Less spacing around stars */
    margin-left: 0.5rem; /* Small spacing before star */
}

/* Keyframe animation for smooth infinite scroll */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move exactly half the width to loop seamlessly */
    }
}

/* Pause animation on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Responsive adjustments for marquee */
@media (max-width: 768px) {
    .marquee-item {
        margin-right: 1.5rem; /* Slightly less spacing on mobile */
    }
    
    .marquee-item.marquee-star {
        margin-right: 1rem; /* Less spacing around stars on mobile */
        margin-left: 0.25rem;
    }
    
    .marquee-item .border {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .marquee-content {
        animation-duration: 15s; /* Faster on mobile */
    }
}

@media (min-width: 769px) {
    .marquee-item {
        margin-right: 2rem; /* More spacing on desktop */
    }
    
    .marquee-item.marquee-star {
        margin-right: 1.5rem; /* More spacing around stars on desktop */
        margin-left: 0.5rem;
    }
    
    .marquee-content {
        animation-duration: 20s; /* Slower on desktop */
    }
}

/* Business Growth Carousel Styles */
.carousel-container {
    width: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
    /* Ensure no auto-play animations */
    animation: none !important;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* NO AUTO-PLAY - Only manual control */
    animation: none !important;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-indicator {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: #FACC15 !important;
    color: black !important;
    border-color: #FACC15;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.carousel-indicator:hover:not(.active) {
    background-color: #E5E7EB !important;
    color: #374151 !important;
    transform: scale(1.05);
}

/* Responsive carousel indicators */
@media (max-width: 768px) {
    .carousel-indicator {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

.carousel-slide .border-l-4 {
    max-width: 100%;
    overflow: hidden;
}

/* Phase Scalability 5 - CORE IA Special Styling */
.ia-core-section {
    position: relative;
    overflow: hidden;
}

.ia-core-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(157, 130, 12, 0.1) 50%, transparent 70%);
    animation: shimmer 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* Enhanced hover effects for IA section */
.ia-core-section .transform:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 25px 50px -12px rgba(250, 204, 21, 0.25) !important;
}

/* Success Stories Grid Background */
.success-stories-grid {
    position: relative;
}

.success-stories-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(217, 218, 218, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(165, 167, 172, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
}

.success-stories-grid > * {
    position: relative;
    z-index: 10;
}

/* Pagination Styles */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin: 0 4px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
}

.page-numbers:hover {
    background: #FACC15;
    color: #000;
    transform: translateY(-1px);
}

.page-numbers.current {
    background: #FACC15;
    color: #000;
    font-weight: 700;
}

.page-numbers.prev,
.page-numbers.next {
    background: #000;
    color: #fff;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background: #374151;
    color: #fff;
}

.page-numbers.dots {
    background: transparent;
    color: #6b7280;
    cursor: default;
}

.page-numbers.dots:hover {
    background: transparent;
    color: #6b7280;
    transform: none;
}

/* Single Post Styles */
.prose {
    color: #374151;
    line-height: 1.7;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #000;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h1 {
    font-size: 2.25rem;
}

.prose h2 {
    font-size: 1.875rem;
}

.prose h3 {
    font-size: 1.5rem;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul,
.prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose blockquote {
    border-left: 4px solid #FACC15;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

.prose img {
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.prose a {
    color: #FACC15;
    text-decoration: none;
    font-weight: 600;
}

.prose a:hover {
    color: #FDE047;
    text-decoration: underline;
}

.prose code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.prose pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

ul {
    list-style: inherit !important;
}

ul li::marker {
    color: #FACC15 !important; /* Yellow color */
}

ol {
    list-style: auto !important;
}

.wp-block-heading {
    color: #504408 !important;
}